If you are using the WP Super Cache plugin on your WordPress blog together with a WordPress Shopping Cart plugin (example: Simple WordPress PayPal Shopping Cart) then there is a good chance that you are experiencing some funny behavior with your cart plugin (example: the shopping cart doesn’t show the products after item addition).
The Problem
The reason behind it is that the WP Super Cache is a static caching plugin. It generates HTML files that are served directly by Apache without processing PHP scripts. So when a visitor on your blog adds a product to the shopping cart and is wondering why it’s not being displayed in the basket is probably because he/she is still loading the static HTML (cached) file of that page.
The Workaround
Go to your WP Super Cache plugin’s Advanced Settings menu and check the following two options then save it:
1) Don’t cache pages for known users
2) Late init
The following screenshot shows exactly what to do:
Feel free to leave a comment if you are having any issues with this workaround.
Visit the WP Shopping Cart plugin page.
Note: We provide technical support for our premium plugins via our customer only support forum
This is indeed helpful
Don’t worry..I’m not using it.. I was just revisiting the idea of it and saw your post.. I will check out W3 total cache. Thanks for the tips
Thanks
Mindi
Hey Mindi, That’s something the caching plugin will have to do. The eStore plugin is not doing the caching so it doesn’t have any authority over what will and will not be cached.
If you are still using the wp super cache then you seriously gotta dump it and start using w3 total cache and read these posts 🙂
http://www.tipsandtricks-hq.com/forum/topic/using-the-plugins-with-w3-total-cache-plugin
http://www.tipsandtricks-hq.com/plugins-to-speed-up-your-wordpress-site-2303
Could you do it so that it didn’t cache the file the calls on the Sidebar?
One more comment, could be wp-super-cache or any other plugin that offers the same functionality.
I’m ready to set up wp-super-cache for my site. Any recommendations except for those provided on this thread?
Thanks,
Esteve
LOL.. I don’t have a workaround for that. Sometimes you gotta sacrifice something to get something 🙂
It’s just how caching works.. if a page is cached then you can’t expect dynamic behaviour (eg. when your customer clicks the add to cart button) from PHP. I am thinking of creating a Javascript version of the shopping cart later which might solve this problem though.
what if your shopping cart is in the sidebar widget? Is there a workaround for that?