Skip to content

Remove Cart item Tag

With the remove Cart Item Tag your are able to remove a single item from the cart

The tag

{exp:reinos_store:delete_cart_item}

Tag Parameters

Below are the Tag Parameters. Those parameters can be used in the tag described above

cart_item_id

The unique cart item ID

cart_item_id=""

Tag Variable

Below are the Tag Variables. Those Variables can be used in the tag described above

remove_cart_item_url

The actual url that can be used to delete the cart item

Example

{exp:reinos_store:cart prefix="cart:" can_update="yes"}
    {cart:items}
        {exp:reinos_store:delete_cart_item cart_item_id="{cart:id}"}
            <a href="{remove_cart_item_url}">Remove</a>
        {/exp:reinos_store:delete_cart_item}
    {/cart:items}
{/exp:reinos_store:cart}