Prices without taxes, woocommerce

Hello, in my woocommerce the product prices are shown without taxes (properly configured), except if I make a cache purge. The prices are shown with taxes only after a cache purge. After some time, the prices become without taxes untill next cache purge, how can I fix that? Thanks in advance

Greetings,

Thank you for asking.

May I ask if you are using Cloudflare APO for WordPress maybe?

Furthermore, can you check settings at Cloudflare dashboard → Caching tab → Configuration, what option have you got selected under the Browser Cache TTL? :thinking:

Are you using some custom Page Rules at Cloudflare for your website?

I wonder if Woocommerce is using some kind of a JavaScript code to show then “onload” and if it might be in some kind of a conflict with Rocket Loader option from Cloudflare dashboard → Speed tab → Optimization if it is enabled? :thinking:

Thanks for your answer!

As far as I can see, I´m not using Cloudflare APO for WordPress. In fact, in my WordPress “Super Page Cache for Cloudflare” plugin, I do not have this option of Automatic Platform Optimization.

I have this in my settings at Cloudflare dashboard → Caching tab → Configuration → Browser Cache TTL: “Respect existing headers”

Yes, I´m using these custom Page Rules at Cloudflare:
→ Avoid caching of this URLs:
ao_noptirocket
/jetpack=comms
/kinsta-monitor
ao_speedup_cachebuster
/removed_item
/my-account*
/wc-api/*
/edd-api/*
/wp-json*
/finalizar-compra/*
/carrito/*
Bypass the fallback cache when these cookies are present in the request packet:
^wordpress_logged_in_
^wp-
^comment_
^woocommerce_
^wordpressuser_
^wordpresspass_
^wordpress_sec_

I checked the Rocket Loader option, and it´s not enabled. In fact, the only enabled optimization I´ve in Speed tab is “Brotli”

I really can not imagine what can be the problem :thinking:

Do you have some idea why it is happening?

Thanks in advance

Hello! Please, can anyone help me? :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.