Check if item exists in cart
Hi,
How can I check through the cart to see if an item already exists.
On the Cart Display Manager, I have created a recordset of additional items that a customer may be interested in buying, however, i don't want to display a product that is already in their cart.
What i have tried is checking through the cart as an array as follows...
If (in_array($row_rsProduct['ID'], $EuroShop->DisplayInfo("ID")))
However, this just generates an error.
I'm using PHP
Many Thanks