• Hello! I am using WooCommerce on a site built with Genesis for WordPress. Everything works perfectly with the store, except that I can’t seem to get the main shop page to auto-refresh. If I had visited the site the day before and check it the next day (in the mean time, a few products have sold and I *know* they should be marked as sold out), when I go back to the shop page, they are not marked sold out. Only after I manually refresh the page are they marked as sold out.
    I know this is a caching issue, but I’m frustrated because I had my hosting service, Bluehost, turn OFF their caching plugin. Of course, refreshing the page clears up the issue immediately, however I am concerned because how would customers know to do that if they were browsing the page previously and went back to the shop page to see what’s now available? I’d like to know that the Shop page is showing what is in stock in real time, all the time, regardless of browsers. Any body have any suggestions on what else I can do to make sure my WooCommerce shop page is always loading the most up-to-date version? Thanks!!

    mossandblue.com/shop

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You need to send the proper HTTP caching headers so the browser always fetches the latest version and does not try to cache or store the page at all.

    Headers sent in WP can be managed through the “wp_headers” filter.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto refresh problems on Shop page with WooCommerce’ is closed to new replies.