A common WooCommerce
question lately has been how to hide the “Free” price label in the
product/category/shop pages. Thanks to WooCommerce’s judicious use of
filters/actions, this is very easy
Showing posts with label Woocommerce help. Show all posts
Showing posts with label Woocommerce help. Show all posts
Monday, 31 August 2015
Tuesday, 19 May 2015
how to change woocommerce language?
WooCommerce comes localization ready out of the box – all that’s
needed is your translation, if the plugin does not come bundled with one
for your language.
There are several methods to create a translation, most of which are outlined in the WordPress Codex. However, we find the easiest method is to use a plugin called Loco Translate. More advanced users can use PoEdit. Both methods are covered in this doc.

If for some reason the translation packs install fails, you can force the download in WooCommerce > System Status > Tools > Force Translation Upgrade:

PO and MO files are copied in wp-content/languages/woocommerce/
There are several methods to create a translation, most of which are outlined in the WordPress Codex. However, we find the easiest method is to use a plugin called Loco Translate. More advanced users can use PoEdit. Both methods are covered in this doc.
Before you begin
WooCommerce includes a language file (.po or .pot file) which contains all of the English text. You can find this language file inside the plugin folder in woocommerce/i18n/languages/.Set up WordPress
WordPress needs to be told which language it should run under.- Go to: Dashboard > Settings > General and change the Site language.
WooCommerce 2.2+ Language Packs
From version 2.2, WooCommerce includes a language pack downloader. PO and MO files will no longer be bundled with the plugin – they will be downloadable from your dashboard if you have the WPLANG constant set, or from a git repository if you wish to grab them manually. A notice will be displayed within your administration:
Update WooCommerce 2.2+ Translation Packs
Force Translation Upgrade (WooCommerce > System Status > Tools)
How to re-order the product tabs?
Change it as you want it and add to the functions.php, but here is a
snippet to put the reviews first, description second and additional info
third:
add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );function woo_reorder_tabs( $tabs ) {$tabs['reviews']['priority'] = 5; // Reviews first$tabs['description']['priority'] = 10; // Description second$tabs['additional_information']['priority'] = 15; // Additional information thirdreturn $tabs;}
Subscribe to:
Posts (Atom)