Tips and Tricks WP eCommerce

eCommerce Solution for WordPress Blog

  • Home
  • eCommerce Plugins
  • WP eStore Documentation
  • WP Shopping Cart Doc

WP Shopping Cart and WP Super Cache Workaround

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:

wp super cache workaround

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

Filed Under: Additional Guidance Tagged With: compact cart, Resources, WP Shopping Cart

Comments

  1. Adam Gottbetter says:

    This is indeed helpful

  2. Mindi says:

    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

  3. admin says:

    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

  4. Mindi says:

    Could you do it so that it didn’t cache the file the calls on the Sidebar?

  5. Incoterms 2000 says:

    One more comment, could be wp-super-cache or any other plugin that offers the same functionality.

  6. Ester Graells says:

    I’m ready to set up wp-super-cache for my site. Any recommendations except for those provided on this thread?

    Thanks,
    Esteve

  7. admin says:

    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.

  8. Mindi says:

    what if your shopping cart is in the sidebar widget? Is there a workaround for that?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Shopping Cart

Shopping Cart Empty
Shopping Cart is Empty
Visit The Shop

Search

Featured Documents

Stylish Product Display Options for WP eStore WP eStore Quick Setup and Usage Video Tutorial WP eStore Shortcodes and Functions Reference WordPress eStore Plugin Features WordPress eStore Plugin Demo What Our Customers Have to Say About Our Products WordPress eStore WishList (Feature Suggestions) WordPress eStore Frequently Asked Questions (FAQ) How to Show Add to Cart buttons

Featured Plugins

wordpress_estore_icon
wordpress membership plugin icon
WP Express Checkout Plugin
Lightbox Ultimate Plugin
wordpress_affiliate_plugin_icon

Copyright © 2023 | eCommerce Plugins