• Hello, my client requires the standard tax rate will be applicated to the products dependings on current WPML language chosen, not by country chosen in Woocommerce Cart.
    Is possible to do that?

    It means, I have 20% VAT for Slovakia, but 21% VAT for Czech republic. When user switch to CZ Language via WPML, he could see the 21% VAT rate.

    I tried to contact the WPML, but something like this is “not possible” from their point of view.
    They have the ICL_CURRENT_LANGUAGE, I think, I can make the function, which will check this constant and update the woocommerce’s language/country constant on the background with every page refresh.
    But I am unable to find the correct name of variable / global variable / constant in woocommerce, which will do the job.
    Could you please help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi there,

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook Community group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution and the above resources for developers were helpful. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tax rate by WPML’ is closed to new replies.