PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

VAT calculation issue - proababyl due to Kinsta cache

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I'm having problems with displaying prices on category page, single product page and search pages, for product variation types. For single type of products, error wasn't noticed yet.

Site is hosted on Kinsta and thus must use their proprietary caching plugin.

Problem: for only some product variations VAT price get's calculated 2 times and as that gets shows to the customer wrongly. If that product with wrongly calculated VAT get's added to cart, everything works good. VAT is shown correctly (calculated only ones). The rest of the ordering process also works correctly. I believe this part doesn't have any issue because Kinsta doesn't cache cart and order pages.

Pinpointing the root cause is hard because for e.g. 100 of product variations, 95 of them have prices calculated correctly and all works good and 5 of the products have those prices shown wrongly. There is no difference in setup of those products. That is why I believe issue is due to caching. On the stage site, I can turn off the Kinsta caching and then all works fine. No issue with VAT calcualation. Unfortunately, kinsta cache is quite closed and do not know how it works under the hood.

If I deactivate WOOCS, prices are shown correctly, VAT is calculated correctly.

I do have other plugins that can change prices but those plugins I have deactivated and the issue is still there. Although those plugins are official supported and fully integrated with WOOCS (Woo Discount Rules Pro by FlyCart and Wholese Prices Premium by wholesalesuiteplugin.com).

I've tried turning options in WOOCS like 'I am using cache plugin on my site' and 'Prices preloder' but it didn't help.

Tried the latest version of WOOCS, but seemed the problem is even worse - was noticed on a bigger amount if products, so I've rolled back to v. 2.3.4.2

Clearing transients sometimes helps, sometime not. Clearing Kinsta cache also sometimes helps, sometimes not.. Maybe it should be synced with clearing of browser cache, but anyways the problem is soon back, it doesn't fix the root cause.

I've given more details here: https://snipboard.io/zD0LjM.jpg

Video: https://www.youtube.com/watch?v=UQUVFFynyeI
Example site: https://staging-maguroproshop.kinsta.cloud/?s=nikko&post_type=product

I do hope this problem can be fixed as it is only of frontside presentation nature, all further ordering calculations are done correctly and this plugin is one of the very few great plugins compatible with both Wholesale suite and Flycart discount plugin.
Thank you.

Hello

Please paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

Update  the  plugin  to  latest   version

Try in  file  - wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php  comment/delete  this  code - https://share.pluginus.net/image/i20210602115446.png

Thank you for quick feedback!

I have done as instructed and seems it is working fine so far. I will keep an eye on it for a few more days, so please do not close this thread yet.

Hello

Ok! I will wait for your answer