Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    Hello-

    For some reason the 'add to cart' button isn't working- it just tells me 'your shopping cart is empty.'

    when I change the option 'Yes, Show Quantity Box' on the product entry page to 'No, Do not show Quantity Box' the add to cart button starts working. but then people can't order more than 1 of an item.

    I looked at a number of posts that said had the same problems but they all were either using the SEO module or had changed an .htaccess file. couldn't find anything that seemed relevant.

    here's an example product:
    http://iandi.com/shop/index.php?main...&products_id=4

    thanks!

  2. #2
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    i had a similar problem
    Admin>configuration>sessions
    check the cache folder root is correct,
    my setting below....
    Code:
    Session Directory      /rootbleh/public_html/cache
    then also check the permissions on the cache folder
    i may not know how yet, but i soon will....i hope :)

  3. #3
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    I checked the cache folder. it exists, and seems to have files written to it. i set the permissions to 777...is that what they should be? my products still won't add to cart!

    Any other ideas?

  4. #4
    Join Date
    Feb 2008
    Location
    Southern California
    Posts
    142
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    It could be your ISP changing settings on their PHP.

    The ***** server has installed Suhosin to make php5 more secure.

    ***

    Suhosin was causing this issue all this time. At least I know now. Now my site is working again with a little .htaccess edit to disable encryption on session. Issue solved.
    http://www.zen-cart.com/forum/showth...ght=saitomedia

    Try adding this line in your .htaccess in root directory
    php_flag suhosin.session.encrypt off
    and see if it fixes it.
    Last edited by saitomedia; 7 Nov 2010 at 01:12 PM.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    Your add to cart appears to be missing the quantity ...

    Switch to the Classic Template ... does it work? If so, there is something wrong with your template and perhaps comparing your templates and overrides to the original code will help spot the problem ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    I tried that...the .htaccess was empty. when I added the line I just get a 500 Internal Server Error...maybe I'm not doing it right? I tried it with and without a semicolon

  7. #7
    Join Date
    Dec 2006
    Location
    Hudson Valley, New York USA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    I'm having the same issue. I can go to the individual product page and add the products, but when I try to add a quantity of products from the product category listing page, I get the "Your Shopping Cart is Empty" message.

    I've tried with both the Classic template and my customized template.

    Server is running on PHP v.5.2.13 and I'm using Zencart v.1.3.9h

  8. #8
    Join Date
    Dec 2006
    Location
    Hudson Valley, New York USA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    Quote Originally Posted by gwynwyffar View Post
    I'm having the same issue. I can go to the individual product page and add the products, but when I try to add a quantity of products from the product category listing page, I get the "Your Shopping Cart is Empty" message.

    I've tried with both the Classic template and my customized template.

    Server is running on PHP v.5.2.13 and I'm using Zencart v.1.3.9h
    I should add that I just did a clean install of Zen Cart v.1.3.9h with no modifications and default template and still have the same error.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    Could you test, on your clean install of v1.3.9h, what happens if you apply the changes on post #6
    http://www.zen-cart.com/forum/showthread.php?t=153143
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Dec 2006
    Location
    Hudson Valley, New York USA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'

    I made the changes in post #6 and I'm not getting the debug errors any more, but I still cannot add an item to cart using the "Add Selected Items to Cart" button.

    I have Display Product Add to Cart Button set to On (2) and Display Multiple Products Qty Box Status and Set Button Location set to Both (3) - with this setting when I put a quantity in the box next to a product and click the Add Selected Items button at the top of the page, it sends me to the Shopping Cart page with the message that Your Shopping Cart is Empty.

    If I change the Display Product Add to Cart Button to option 3 and turn off the Products Qty Box setting, everything works fine.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. "Add to cart" problem: "Your Shopping Cart Is Empty"
    By polik in forum General Questions
    Replies: 11
    Last Post: 9 Feb 2012, 10:04 AM
  2. Interesting finding on "Your Shopping Cart is Empty" problem
    By swguy in forum Basic Configuration
    Replies: 0
    Last Post: 26 Mar 2011, 10:01 PM
  3. "Your shopping cart is empty!" error after adding item to cart...
    By pappaj333 in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 14 Aug 2010, 04:58 PM
  4. Replies: 1
    Last Post: 7 Aug 2010, 09:11 PM
  5. forgetting shopping cart contacts 'your shopping cart is empty'
    By vandiermen in forum Installing on a Linux/Unix Server
    Replies: 15
    Last Post: 28 Apr 2009, 11:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR