Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Page cache changes the contents of the shopping cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Page cache changes the contents of the shopping cart

Tagged: shopping cart

  • This topic has 7 replies, 3 voices, and was last updated 10 years, 6 months ago by innosolve.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 27, 2014 at 3:40 pm #11839
    innosolve
    Member

    I use W3 total chache (V.0.9.4) and WP eStore plugin (V7.1.4) as well. The shopping cart is enabled on three or more sites using Widget logic. If I disable w3 total cache everything works fine, but when it is enabled problem occurs when I change to another site. It means that if I put a product into the cart then switch to another site, an empty cart will be displayed because of the page cache. Then putting another product into the “empty” cart, two products will be displayed.

    After a time it is very disturbing when I see the shopping cart with different products. It is occured that there was only one product displayed in the shopping cart, but after I cleared it, the same product was displayed again.

    I would appreciate any advice, how to disable page caching when the cart is not empty. WordPress version V4.0.1. (website: innosolve.hu).

    November 27, 2014 at 10:42 pm #67034
    admin
    Keymaster

    Have you done the following?

    https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin

    November 28, 2014 at 9:03 am #67035
    innosolve
    Member

    Yes, I have done.

    The “Rejected cookis” box contents now:

    wptouch_switch_toggle

    ap_id

    cart_in_use

    eMember_in_use

    The first row (wptouch_switch_toggle) was put here during the installation, I let it here.

    November 28, 2014 at 10:34 am #67036
    innosolve
    Member

    And the contents of the “Never cache the following pages:”

    wp-.*.php

    index.php

    November 30, 2014 at 5:18 am #67037
    wpCommerce
    Moderator

    @innosolve, please do the following:

    1) Install a fresh copy of eStore plugin.

    Re-install or Load a Fresh Copy of the Plugin(s)

    2) Empty all the caches from the W3 Total Cache dashboard.

    Let me know how it goes.

    December 1, 2014 at 8:11 am #67038
    innosolve
    Member

    Thank you your help.

    I have done both of your recommendations (Install and empty cashes).

    For the sake of simplicity I enabled shopping cart on two pages only: Shop, Terms And Conditions. The phenomenon is the following:

    1./ I put product_1 into the cart on the page Shop (Ok)

    2./ Change page (Shopping Cart is disabled, Ok)

    3./ Back to Shop (Cart is empty!)

    4./ Put product_2 into the cart (product_1 and product_2 are in the basket!)

    5./ Clearing shopping cart (Shopping cart is empty, Ok)

    6./ Changing pages (Shopping cart is empty, Ok)

    If I disable page cash in W3 Toatal cache the eStore works fine, there is no problem with the handling of the shopping cart. Its content is always correct.

    December 1, 2014 at 10:29 pm #67039
    admin
    Keymaster

    Please do a test for me. Turn of the ajax option from eStore Settings -> Advanced Settings -> Enable Ajax on Add to Cart Buttons

    Do you see any difference after that?

    December 2, 2014 at 7:47 am #67040
    innosolve
    Member

    Yes, I see. It works fine after switch off Enable Ajax on Add to Cart Buttons.

    Thank you very much for your kind help.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ