Bogo & WooCommerce
-
Hi,
Firstly, many thanks for this excellent plugin. I want to get Bogo working in WooCommerce.
—-
1/ I placed this “snippet” code in functions.php , but the “Language” section does not display anywhere in the WooCommerce “add new product” page !!!
// Bogo: Enable multilingual feature on WooCommerce products
add_filter( ‘bogo_localizable_post_types’, ‘bogo_wc_products_localizable’ );
function bogo_wc_products_localizable( $post_types ) {
$post_types[] = ‘product’;
return $post_types;
}
I’ve noticed that WooCommerce translations are present in this path: \wp-content\languages\plugins
In this ‘plugins’ folder, there are translated WooCommerce files. Are these files created by Bogo?
How do I get the WooCommerce translation to work properly for “add new product” page in Bogo?
—-
2/ If I create translations for the “cart” and “checkout” pages, will the WooCommerce shortcodes present on these pages also be translated?
Or should I replace in the snippet above: $post_types[] = ‘product’;
with:
$post_types[] = ‘cart’;
$post_types[] = ‘checkout’;
But this snippet already doesn’t work for adding products, as I explained above!
—-
3/ Also, how can I translate the automatic transaction emails that WooCommerce sends to customers?
—-
Thank you,
- The topic ‘Bogo & WooCommerce’ is closed to new replies.