Why Empty Woocommerce Checkout Cart When Using WP Rocket ?

Dear Customer,

 

There are some of user got issue with Woocommerce Booking that empty checkout cart when using WP Rocket. Please refer our document here for more detail about this case:

 

  • Cause: 

 

Cache mini cart

 

  • Solution: 

 

Exclude Based on Cookies

Pages can be excluded from the cache based on the presence of a cookie.

Go to WP Rocket → Advanced Rules and enter the following value in the Never Cache Cookies field add woocommerce_items_in_cart

Then, setting Never Cache URL(s) section, add these URL:

 

/cart/
/checkout/

 

Please refer the photo attach