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!
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
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?
Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'
It could be your ISP changing settings on their PHP.
Quote:
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
Quote:
php_flag suhosin.session.encrypt off
and see if it fixes it.
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 ...
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
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
Re: Problem adding to cart...'YOUR SHOPPING CART IS EMPTY'
Quote:
Originally Posted by
gwynwyffar
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.
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
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.