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

[Resolved] Shopping cart shoes a different quantity if visit one post and then go back

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Shopping cart shoes a different quantity if visit one post and then go back

Tagged: cache, empty cart, PHP error

  • This topic has 3 replies, 3 voices, and was last updated 3 years, 5 months ago by luisantafe.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 20, 2021 at 10:02 pm #83991
    luisantafe
    Spectator

    When I add to the shopping cart one product, navigate to other page in my site and press the button to go back in my browser, the shopping cart increases one more product in the quantity.

    Please check this video to see the problem in detail:

    https://www.youtube.com/watch?v=LazVTqD4QXI

    December 21, 2021 at 7:52 pm #83992
    wzp
    Moderator

    …and press the button to go back in my browser…

    THAT is a “no-no.” You should never just “push the back button” and expect nothing bad to happen. The reasons are myriad, and mostly technical.

    In the case of eStore, using the back button at an inopportune time, such as what you described; can cause a duplicate “add to cart” to occur. This situation is not just limited to eStore; banking & credit card websites, specifically warn you not to use your browser’s back button; or duplicate payments or withdrawals will occur. And if you try using the back button, during the checkout process on Amazon; you get a redirection popup (they thought of this, LOL).

    P.S. I noticed you have been using eStore for a long time; please ensure you are using the latest version of WordPress and our plugins.

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

    • This reply was modified 3 years, 5 months ago by wzp.
    December 21, 2021 at 9:21 pm #83994
    admin
    Keymaster

    Setup a specific cart page where the user will be redirected to after the “add to cart” action. That will address this:

    Create a Specific Checkout Page for WP eStore Plugin

    December 22, 2021 at 7:43 pm #83995
    luisantafe
    Spectator

    @wzp I did that (press the back button), because it was what I undesrstood from https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly step 3. Either way, everything is working good now (so far). What I did was:

    1. For the issue explained in my video I checked the box “Enable Ajax on Add to Cart Buttons” in the advanced settings.
    2. When the items in the shopping cart started to disappear, I updated the php in my cpanel, and disabled a cache plugin.

    Regards,

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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