Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Some products disappear from cart when logging out

Some products disappear from cart when logging out

Locked

Views: 1,368

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Oct 2007, 3:27 PM
#1
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Some products disappear from cart when logging out

I have a strange situation a customer just found.

We have 11 main categories with about 2500 products total. When any products from 1 of these main categories, called "Organic", is placed in a customer's cart, they log out and log back in, it's gone. The products in all other main categories correctly remain saved in the customer's cart.

I've tried to figure out the difference between this one category from the others. It is the only one starting with an Ø (scandinavian letter), so I changed the name so it has no special characters. It still happens.

I tried linking a product from another category to also exist in this troubled category. That product, when placed in the cart from the problem cat, remains saved correctly when logging out.

I tried linking a product FROM this problem cat into a category that works okay. When put in the customer's cart from one of the normally-working categories, this product disappears when logging out.

So, it seems there's something different about this one category and I can't find it. It is the last cat I added (a long time ago) but otherwise I don't know.

Can someone please point me in the right direction? I'm stuck.

14 Oct 2007, 6:46 PM
#2
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Some products disappear from cart when logging out

The next step is completely wiping out this category and re-adding it. Anybody have any other advice before I do this? I really don't want to wipe out our statistics on these products.

15 Oct 2007, 4:43 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Some products disappear from cart when logging out

Have you an URL that perhaps we can peek at? :smile:

18 Oct 2007, 8:40 PM
#4
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Some products disappear from cart when logging out

For anyone else suffering from this problem in the future, it turned out that some of our products had a master_categories_id = 0. I just hit the "reset master categories IDs" button in the Tools/Store Manager page in the admin and it's fixed!

I now have to go through the customers_basket and customers_basket_attributes tables and make sure it's all accurately mirroring what's actually in each customer's cart. This is, according to Ajeh, much more time consuming and annoying to do than hitting a button. But, it does seem to work okay now.