Rates for products not applying on a multilingual site

Posted in

I came across a problem where in I have 2 languages on my webshop.

I have set a rate to a single product and I get the referral amount properly calculated and shown for only the default language .
And for the purchase with other language selected I get the referral amount as 0.

Can you help me out with the issue ?

One Response to Rates for products not applying on a multilingual site

  1. George March 15, 2018 at 3:23 pm #

    Hi Susse,

    If you enable debugging, do you get anything logged in your debug.log file when you try purchasing with the other language?
    Also, what happens to the product rate when you switch the language? Try switching the language and then have a look at the product rate in question. Is there anything logged in this case?
    Does the issue occur with all products or with just a specific one?
    Which plugin do you use for language switching?

    To enable debugging, edit your wp-config.php file and replace the following line:
    define(‘WP_DEBUG’, false );
    with these lines:

    define(‘WP_DEBUG’, true );
    define(‘WP_DEBUG_LOG’, true );
    define(‘WP_DEBUG_DISPLAY’, false );
    after that, any errors will be added to a file named debug.log under your wp-content folder.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share