Core Commerce Problem: Product not adding to cart.

Permalink
When I add a product to the cart, I just get the message "Your cart is empty.".

This happens in both modal overlay and regular cart (like in IE).

It was working fine, and I can't see anything that has been done that could have affected it.

The problem is in the database somewhere.

I'm trying to find the function that adds the product to the cart to see if I can find the problem, if anyone can show me where to find that function it would be appreciated.

mrnoisy
 
mrnoisy replied on at Permalink Reply
mrnoisy
Also, there are no javascript errors or server errors occuring.
mrnoisy replied on at Permalink Reply
mrnoisy
Update:

When clicking 'add to cart', the table 'corecommerceorders' is populated, somehow linked to the current session, but the list of products for the order is supposed to be inserted in 'corecommerceorderproducts', and that's not happening.

I'm looking in this file for solutions:
/packages/core_commerce/models/order/product.php

Any ideas?
Mnkras replied on at Permalink Reply
Mnkras
i would post that under support on that addon's page:http://www.concrete5.org/marketplace/addons/ecommerce/...
ThemeGuru replied on at Permalink Reply
ThemeGuru
By any chance are you doing this:


"So it turns out if for some reason you mark the item as not digital than mark no shipping it will cause some sort of error resulting in a blank shopping cart in ie and firefox."

I had a problem in ie as well.

Let me know if thats the fix or not...

Cheers,

Thomas
mrnoisy replied on at Permalink Reply
mrnoisy
No, these products are all digital.
ThemeGuru replied on at Permalink Reply
ThemeGuru
Do you have them marked as unlimited?
annekeh replied on at Permalink Reply
annekeh
Hi, I have the same problem. The products are not digital, stock is without limit. Everything was doing fine, till the update to 1.7.3.
annekeh replied on at Permalink Reply
annekeh
I did a reinstall and that solved the problem in my case.
By the way, is it correct that on ie 8 there is no pop-up showing the card? I have two webshops and both of them show no pop-up but a page with the card (with no button 'continue shopping'). On mac/firefox i have a popup.
andrew replied on at Permalink Reply
andrew
Correct. We had such a pain with the popup cart in IE that we disabled it for non-firefox/safari/opera browsers. We probably ought to enable it for Chrome and IE8, but IE mis-states its version number so frequently we grew frustrated.
mrnoisy replied on at Permalink Reply
mrnoisy
The client had moved the Cart page into another folder using the sitemap. By moving the Cart page back to under Home the problem was fixed.
Ta2Ta2 replied on at Permalink Reply
It is so odd to me,

Using IE8, here is what happens with me:

I select a product, I get redirected to the cart page (there is no return to shopping button) - I go back to the shop page.

The cart shows zero purchases.
I select another product, same as above happen. Moreover, the previous product I already selected not there.

Go back to the shop page, cart still showing zero purchases and hit "view cart" I find the two products I've selected.

How to fix this?

It is only on IE8...

Thanks.
Mnkras replied on at Permalink Reply
Mnkras
please go to the addon's page and post in the support forum
BlueFractals replied on at Permalink Reply
BlueFractals
Just answering this very old post. Not sure if this is related to the original issue.

I had this similar issue today as I was testing the demo site:http://ecommerce.c5host.com/ for eCommerce add-on. I added some options in the products. Then add to cart generates the message "Your cart is empty". Clearing the browser cache seems to make it work again.

Not sure if this is a server-related or add-on related issue.