Woo product description forced in english
-
Hi,
I’m developing a child theme for Woocomerce, my need is to customize product page.
I’m using qTranslate X to manage multilingual info (en,it) and for some products i need to see the english description also if my local language is italian.
The ugly solution to my problem is to repeat english description in italian field for each products, but I’m looking for a cleaner one.In my functions.php I use the following line to get my product description:
$product->get_description();
Its work depends on local setted language (if english get right description, if italian get “Sorry, this entry is only available in english..”)
How can I force the use of english description?
Thank you
- The topic ‘Woo product description forced in english’ is closed to new replies.