Global discount only works on one language

Top WooCommerce & WordPress Plugins Forums Global Shop Discount for WooCommerce Global discount only works on one language

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #91316
    Evija Jonusa
    Participant

    Hello!
    We have the following problem, plugin global discount only works on one language!
    When we enter information in discount group, exclude and include tabs they are wroks only for one language.
    Could you please tell how we can make module work in all languages?
    Thank you in advance.

    #91317
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Evija,

    Thanks for reporting – let me check. Which plugin are you using for multi-language? WPML? Polylang?

    #91318
    Evija Jonusa
    Participant

    I’m using WPML.

    #91319
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Evija,

    Ok, thanks for the info. Please give me a day or two to fix this. Will get back to you soon.

    #91320
    Evija Jonusa
    Participant

    Hi Tom,

    Thank you in advance!

    #91321
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Evija,

    Actually, there is one option in the plugin, that could solve the problem. There is “Use list instead of comma separated text for products in settings” checkbox in the plugin’s “General” settings section (in “WooCommerce > Settings > Global Shop Discount > General > Advanced Options”). If you disable it and then go to your “Discount Group #X” settings, you will see that now you can set “Include products” and “Exclude products” options as a comma-separated list, e.g.:

    100,110,115,283

    i.e. this way you can set IDs for all products, including translations.

    Unfortunately, it doesn’t work for product categories/tags options, but that is easily fixable – if you are ok with the solution, I can quickly release a new plugin version, which will cover product categories/tags options in the same way.

    Please let me know what you think.

    #91322
    Evija Jonusa
    Participant

    Hi Tom,
    This solution only helped with Exclude products. I have disabled option what you are mentioned before (Use list instead of comma separated text for products in settings) in General settings.
    Exclude products are saved via comma for all languages.
    But Exclude product tags and Exclude product categories didn’t. After switching language in backpanel of WordPress (on top), these fields are empty.

    Thank you

    #91323
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Evija,

    Ok, please update the plugin to the latest version 1.2.0 (released just a couple of minutes ago). Now “Use list instead of comma separated text in settings” option is applied to the “product categories” and “product tags” fields as well. Please give it a try and let me know what you think.

    #91324
    Evija Jonusa
    Participant

    Hi Tom,

    The result is the same! Settings saved only for one language in discount group but when I switch a language they were disappeared. Am i doing right:
    1. Enter discount rules (include, exclude, precentage) in discount group for one language, save it.
    2. Than I switch on top in wordpress language and entered the same settings for the same discount group.

    Thank you

    #91325
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Evija,

    Hmm, that’s odd… Could you please recheck if the Pro version is 1.2.0, and if “Use list instead of comma separated text in settings” checkbox is disabled?

    P.S. If you wish, I can log in to your site to check what’s going on (my email is [email protected]).

    #91326
    Tom Anbinder
    Moderator
    Plugin Support

    Hi again Evija,

    We’ve just released a new plugin version (v1.2.1) – now saved values should remain intact on language switch, even if the “Use list instead of comma separated text in settings” checkbox is enabled. Could you please give it a try?

    P.S. Again, please make sure that you have updated the Pro plugin to version 1.2.1. You can do that by either manually downloading the latest version from My Account > Downloads & Keys, or automatically – by installing the free WPFactory Helper plugin.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.