deepee Posted January 29, 2015 Share Posted January 29, 2015 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 More sharing options...
vekia Posted January 29, 2015 Share Posted January 29, 2015 go to ps_cart table, check MAX cart id value there then go to ps_cart_products table, what is your max ID number there? is max cart id from ps_cart bigger than id from ps_cart_products ? Link to comment Share on other sites More sharing options...
deepee Posted January 29, 2015 Author Share Posted January 29, 2015 Thanks for getting back to me vekia. This is a fairly new shop and the maximum values for these two tables are as follows:- ps_cart is 34ps_cart_product is 58 Link to comment Share on other sites More sharing options...
deepee Posted February 2, 2015 Author Share Posted February 2, 2015 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 More sharing options...
deepee Posted February 3, 2015 Author Share Posted February 3, 2015 Anyone have any suggestions? I'm all out of ideas! Link to comment Share on other sites More sharing options...
safa Posted February 3, 2015 Share Posted February 3, 2015 can you give me shop url ?? can you tested default theme (maybe your current theme have a javascript bug), or ajax cart disable ?? i think it's a jquery errors. Link to comment Share on other sites More sharing options...
deepee Posted February 4, 2015 Author Share Posted February 4, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now