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=""

return_url ​

Where the customer goes after the item is removed, default to the current url. Use a url (or path) of your own site: a url of another site, or one with a space, is not used, then the customer goes to the homepage.

return_url="store/cart"

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}