• fgianpiero

    (@fgianpiero)


    Dear Sirs,

    i had installed Your plugin and it work fine on the default language of the site.
    But if a go in other language part of the woocommerce site the popup in showing but if i check the product and click YES, the popup not show out the page and the product was not added to the cart.
    What i can do?
    Best regards
    Gianpiero

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi fgianpiero,
    I have the same problem by using FreeGift and WPML. It works fine in the first language, but at the second language for the customer it is not possible to add a gift.
    After adding a gift, the page refreshes and removes the gift again because it doesn’t seem to match the criteria. Then the window pops up again to select a free gift.
    It works fine in the main WPML language. But it doesn’t work in the second language.
    Did you find a solution for the problem? It seems there is no support by the developers any more.

    Hi bananamix,
    Follow this steps:

    1. Download the file wpml-config.xml from here: hidden link and upload it to wp-content/plugins/woocommerce-multiple-free-gift/ directory.

    2. Open file /wp-content/plugins/woocommerce-multiple-free-gift/lib/WFG_Frontend.class.php and go to function __hook_global_settings at the top of function definition, add this code
    1

    WFG_Settings_Helper::force_init();

    3. Go to wpml > String Translation > in “Select strings within domain:” dropdown, select “admin_texts__wfg_global_settings” and enter translated product ID for secondary language.

    Let me know if this helps you.
    Thanks
    Ahir

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with site multilanguage’ is closed to new replies.