Jump to content

Cart Issue: Random Product Added Along With Correctly Selected Product


Recommended Posts

Hi All

 

I have been working on a 1.6.0.9 shop and noticed that when adding a product to a shopping cart, another unrelated product gets added without having been selected.

 

This behaviour is intermittent as sometimes it doesn't happen.

The products it happens with appear random and I'm unable to see a pattern.

 

I just upgraded to 1.6.0.11 hoping that would solve it but it's still there.

 

Tried clearing caches etc, checking error logs but can't identify any abnormal issues.

 

Anyone seen this before?

 

Thanks

deepee

 

Link to comment
Share on other sites

I have been testing this further and tried emptying those two tables.

It seemed o.k. at first and I could add a product.

However when I selected "continue shopping" the product disappeared from the cart.

I can see the entries in the ps_cart  and ps_cart_product fields but they will not show in the cart or in the checkout process.

 

I then restored my database from the backup and surprisingly everything was working properly.

I could add and delete products from the cart and nothing was duplicated.

Started a new session in IE with a permanently cleared cache and it added 5 products on the first product I selected!

It all went downhill again from there.

 

Anyone have any pointers as to what's going on please?

Link to comment
Share on other sites

Thanks for your reply, safa.

It turns out that the customer had been adding new products by duplicating existing similar products, over the past week.

The problem was that they had not been generating new friendly URLs!

 

Thanks to all for the feedback.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...