D
D
DMax9212018-09-04 11:57:20
WordPress
DMax921, 2018-09-04 11:57:20

How to disable cache on checkout page?

Friends, please help me, what to do, the checkout page and the drop-down cart are cached, although there are no cache plugins in the store, how to disable the cache?
The problem is that when the user changes the currency or language, nothing changes in the checkout...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr Crabbz, 2018-09-04
@DMax921

It's not about caching (in its classical sense). If you have Woocommerce, the cart saves data to cookies and session.
It's just that your currency and multilingual plugin doesn't update this information in the client's browser. Refer to the documentation of your currency and multilingual plugins or write a custom action to change the currency/language that will update the cart data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question