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

Shopping cart empties when a new product added OR move to another page

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Shopping cart empties when a new product added OR move to another page

  • This topic has 10 replies, 6 voices, and was last updated 13 years, 5 months ago by rweiss.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • February 6, 2011 at 5:26 am #2654
    hyperweb
    Member

    OK – this is driving me crazy – purchased and setup shopping cart as described – I can add any 1 product to the cart wirget – it shows up – but if you try to add anyhtiing else – it replaces it there is never more than 1 product in the cart!!

    Also – if you navigate to any other page the cart empties itself.

    Lastly when you try and checkout – you get this…

    Either your shopping cart is empty or the PHP Session on your server is not working correctly. Please check this article

    I read through the articels and there isn’t any issue with my php

    HELP!!!!

    February 6, 2011 at 8:11 am #28774
    amin007
    Participant

    https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly

    July 22, 2011 at 3:18 pm #28775
    Sarah1111
    Member

    I am having a similar problem which does not seem like a PHP session issue. The cart allows us to add products and change their quantities. When we navigate between pages it shows the correct items and quantities in the cart. However, when we try to delete one item from the cart, all of the contents go away. Please help!

    July 22, 2011 at 3:19 pm #28776
    Sarah1111
    Member

    p.s. We are using WPeStore version 5.2.0 with WordPress 3.1 I have requested a version update but have not received a response.

    July 23, 2011 at 12:19 am #28777
    amin007
    Participant

    If it is a PHP session issue then this needs to be fixed by your hosting provider. The following page gives you some hints on the most common things that the hosting provider does wrong in the server setup to introduce this issue in the first place:

    https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly

    If you can post a link to your products page I will be able to do some testing and verify if you are indeed having a PHP Session issue.

    December 12, 2011 at 6:03 pm #28778
    rweiss
    Member

    I am having the empty cart after moving to another page, and my session handler is set in php.ini just as you described it should be.

    I have also checked the general settings for consistent URL’s and they are correct.

    So, I need some other ideas as to why the cart is not saving items.

    The site is http://www.kiboomu.com

    Rick

    December 12, 2011 at 10:33 pm #28779
    Peter
    Member

    Hi,

    Strange thing is that the problem doesn’t appear to be occurring for the Opera browser but it definitely exists when using either FireFox or Chrome.

    Are you using a caching plugin?

    If you so have you tried this workaround?

    http://www.tipsandtricks-hq.com/ecommerce/wp-shopping-cart-and-wp-super-cache-workaround-334

    December 12, 2011 at 11:28 pm #28780
    rweiss
    Member

    No – I’m not using any caching plugins. I was going to put one in when I saw this issue.

    I hadn’t noticed the Opera browser works – but you are right. So that is odd.

    We have a ridiculous number of javascripts going on the pages because the client insists on having multiple javascript based menus on every page. Not sure if that might be a cause of the issue.

    December 13, 2011 at 4:16 am #28781
    Peter
    Member

    Hi Rick,

    I have noticed something else – I can see the following error on your site when using the Chrome version of Firebug:

    “Uncaught ReferenceError: ajaxurl is not defined”

    Maybe this might be something related to your problem??

    December 13, 2011 at 7:15 am #28782
    admin
    Keymaster

    Something on your site is definitely resetting (clearing out) the session data on page load.

    Do the PHP Session Test mentioned in the following post (check under the “How To Find Out If You Are Having a PHP Session Issue” section):

    https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly

    You will see that as soon as you browse away from the page (meaning you are loading the site again) the PHP session values gets destroyed.

    December 13, 2011 at 3:20 pm #28783
    rweiss
    Member

    Thanks Peter, I will look to see what that might be. This site has a ridiculous number of javascripts running at the same time (I tried to discourage this). admin – I did the session test, and know that this is the case. I just don’t know what is causing it, since the php.ini file looks to be set correctly, and I don’t have and session issues on any other site (it is my dedicated server, so all sites on it are mine).

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