Throttle Builder · Components · Catalog

Image hotspots

A shoppable image: buttons on a picture (x and y are percentages) that open a product card with price and add to cart, or a link. Products are read in one batch: set the "Products" data input to source "manual" and list the same product ids (or handles), comma separated, as the hotspots hold. Names and links are in the page HTML. The phone picture must keep the same framing: positions are shared.

The Image hotspots component in the Components library, with its description and settings
The Image hotspots component in the Components library, with its description and settings

What it is for

A shoppable picture: buttons placed on an image that open a product card with its price and add to cart, or a link. Use it for a lookbook or a "shop the look" section.

  • List the same product ids (or handles) in the Products data input, source "manual", as the hotspots hold. The products are read in one request.

Where you can use it

  • 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.image-hotspots, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
ImageimageAn image from the Media library.Empty
Image on phone (same framing)mobileImageAn image from the Media library.Empty
Alt textaltText, up to 300 characters. One value per language.Empty
HotspotshotspotsA list of up to 12 items; each item has the fields below.No items
When a hotspot is openedpopoverProduct card with price and add to cart (product), Name and link only (link).Product card with price and add to cart (product)
Also list the products below the imagelistBelowOn or off.Off

Style tab

OptionKeyAllowed valuesDefault
Hotspot stylehotspotStyleDot (dot), Plus (plus), Number (number).Dot (dot)
Hotspot colourcolorA theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa).Empty

Fields of each item in Hotspots

FieldKeyAllowed valuesDefault
Left (%)xA number from 0 to 100.50
Top (%)yA number from 0 to 100.50
Product (catalog id)productText, up to 64 characters.
Link (when there is no product)linkA link to a page, product, collection, category, a search, or a web address.Empty
LabellabelText, up to 100 characters. One value per language.Empty

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

Data

This component shows store data. In the editor, choose what it shows under Data on the Content tab. An AI agent sets it with set_data_binding.

InputNameTakesRequiredFilled by
Productsproductsproduct[]YesProducts (catalog.products)

Products options

A list of products: from a collection, category or tag, the featured, newest or best rated, or products you pick (their ids, separated by commas). `listTotal` is how many products the catalog matched (every item carries it; not the length of a reordered manual list), null if it sent none. For a count, `catalog.collection` `total` is preferred.

OptionKeyAllowed valuesDefault
Products fromsourceCollection (collection), Category (category), Tag (tag), Featured (featured), Newest (newest), Best_rated (best_rated), Manual (manual).Newest (newest)
Collection (catalog id)collectionText, up to 64 characters.Empty
Category (catalog id)categoryText, up to 64 characters.Empty
TagtagText, up to 100 characters.Empty
Products (ids, separated by commas)productsText, up to 1,300 characters.Empty
How manylimitA number from 1 to 48.8

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.

The picture keeps its ratio and the hotspots stay on the same spot as it scales. An optional phone picture is used on phones only when it has the same shape as the main picture (within 1%); otherwise it is ignored and the editor shows a note, so the hotspots never land on the wrong spot.

SEO and accessibility

The names and links of hotspots that have a product or a link are in the server HTML, in a list that is hidden from view unless "Also list the products below the image" is on. Prices follow the shopper’s currency. Each hotspot is a button; the card is a dialog that closes with Escape. With "When a hotspot is opened" set to a link, the card shows only the name and link, with no price or add to cart.

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.image-hotspots",
  "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.