Problems with page cache and Woocommerce Bookings

Hi,

my page uses Woocommerce with official Bookings plugin. Every cache engine I tried (W3, FWPC, etc.) causes problem with product page caching. 

There is a problem with booking calendar. It works using AJAX. When product page is rendered for the first time it works great but if it get cached and I want to visit page again calendar freezes and in console I can see an error:

Failed to load resource: the server responded with a status of 403 ()
https://sitename.pl/?wc-ajax=wc_bookings_find_booked_day_blocks&product_id=348&wc-ajax=wc_bookings_find_booked_day_blocks&security=d19a577b68&min_date=2019-01-03&max_date=2019-02-10

This is the info from WooCommerce support: "we see that your `Betheme` theme has template overrides. It could be that it overrides something that causes the cache plugin to conflict with Bookings." For now I disabled caching for product pages but I wonder if you could fix that problem.

I am waiting for answer. 

Comments

Sign In or Register to comment.