WooCommerce prices changing

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Sometimes, prices are changing all the time. E.g., at the home page of a site and a product page, there is a different prices. I'm surprised that there isn't an article about that yet (2024.12), because this is a long-running issue.

Brainstorming

  • Something with caching
  • When WP Rocket is deactivated, cached data is still used, unless deleted
  • Remove transients: wp transient delete --all
  • Have prices been updated through SQL? Maybe regenerate stuff?

Case: 2024.12

WP Rocket was inactive, but wp-content/cache/wp-rocket was full of stuff → Removed that stuff + the folder → Problem gone.

Probably a way to tell the problem had to do with stale caching: The prices on the home page were stale, but on the product page they were updated. No matter how often I would switch from one page to the other, they kept being different.

See also