Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
On product deletion, the display should work as expected #10
I've noticed that the list of viewed products is retrieved from customer/user cookie ... one of the main issues with that is when we delete a product in back office the users of the website are not "aware" of it ie the cookies are not updated.
It's a hack to fix a wrong implementation of a wrong problem (the data shouldn't be stored in a cookie and used "as it" to do a SQL query o_O) but now the data retrieved from the user is checked against the list of existing products in the shop database.