Throttle Builder · Components · Commerce

Clear cart

Invisible. Forgets the cart on this device once the page opens (the order-complete template).

The Clear cart component in the Components library, with its description and settings
The Clear cart component in the Components library, with its description and settings

What it is for

An invisible component for the order-complete template. It forgets the cart on this device once the page opens.

Where you can use it

On any page, template, saved section, header or footer.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is commerce.clear-cart, version 1.

Options

This component has no options of its own beyond the ones every component has.

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

It draws nothing, so there is nothing to adapt.

SEO and accessibility

It draws nothing in the HTML. It runs in the browser only.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "commerce.clear-cart",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.