creating a wish list for ecommerce
Hi there, I was wondering if you could detail the process or if its possible with the mysqli extension.
I have an ecommerce website and my client wants a wish list page. So I assume, that the way it would work if if the customer views a product the ID of that product will be saved to a cookie on page load. And every subsequent product view the additional product ids will also be saved to a cookie - for this part I assume it would be ONE cookie and that all these product ids will be inside an array.
Then on the actual wish list page the recordset would then look at the cookie array and load them all in.
Is this process one way of doing developing this feature? are there any other way?
And could you point me in the direction to :
(a) saving a product id into a cookie array
(b) loading the cookie array into a recordset