Is In Cart
This evaluates whether or not a customer's cart already contains a specific item.
Table of Contents
Parameters
entry_id
Entry ID of the product to check.
entry_id="123"
Examples
{if '{exp:cartthrob:is_in_cart entry_id="{segment_3}"}' == "1"}
This item is already in your cart!
{/if}