Throttle Builder · Components · Catalog

Product main

The product page's main block in the package's own layout: the gallery beside the buy box, with the sticky add-to-cart bar. Counts as the template's buy box; use the standalone gallery and buy box instead for a free layout.

The Product main component in the Components library, with its description and settings
The Product main component in the Components library, with its description and settings

What it is for

The main block of a product page: the gallery beside the buy box, with the sticky add-to-cart bar. It is the quickest way to build a product template.

  • Use the standalone gallery and buy box instead when you want a free layout.

Where you can use it

  • Only on the product template.
  • Available only when Product Catalog is installed; the Components library lists it but disabled otherwise.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is catalog.product-main, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
ThumbnailsthumbnailsBelow the photo (below), Hidden (hidden).Below the photo (below)
Sticky add-to-cart bar on phonesstickyOn or off.On

Style tab

OptionKeyAllowed valuesDefault
Image sizes (the "sizes" attribute)gallerySizesText, up to 300 characters.
Page layoutlayoutInherit (inherit), Classic (classic), Stacked (stacked), Editorial (editorial).Inherit (inherit)

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.

On phones (up to 767px) every layout becomes one column. On larger screens the layout you pick (classic, stacked or editorial) applies. The sticky add-to-cart bar appears at the bottom once the main add button scrolls out of view.

SEO and accessibility

The product title is the page H1, written on the server with the price and the gallery. Gallery photos have width variants (srcset). The template always writes Product and BreadcrumbList structured data (JSON-LD).

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": "catalog.product-main",
  "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.