I've been working on migrating over to php 7.3 and have been busy modding 1.5.6c to fit my needs. I know 1.5.7 has since been released but I want to get this working correctly before that next increment.
Over on my website, if I browse through the categories and click to add any product to my basket, it adds the product. if I then click through to the product information page for the same product and click add to basket again, it adds it to my basket, but as a seperate product as opposed to incrementing the number in cart. It's like products added from the category page & products added from the products actual page are different.
I've noticed in the database that the products id is getting some sort of weird hash on the end so I'm assuming one page is adding the product id with the hash and another is not.
For example for product id 7512 I have duplicate entries in my basket, one for 7512 and another for 7512:b78cdfee2f7da7e6896abf4bfc9cece9
This means that in my basket on the front end I have the same product listed as two seperate products with the same name.
Has anyone come across this? Do I need to modify something in my template files for adding to basket?
See screenshot for duplicate items in the basket.
Thanks
John
https://www.koolbadges.co.uk
Bookmarks