Skip to main content

Component example

Props

Props should be passed as attributes to the component element.
The text to display after the price if the product type is bundle.E.g £99/pack, where pack is the bundle-text.Defaults to bundle
The path to the cart page.Defaults to /cart
required
The slug for the collection to display products from.
The text to display on the “add to cart” button.Defaults to Add to Cart
boolean
Whether to hide the “add to cart” button for the product.Defaults to false
number
The number of placeholder items to display while the products are loading.Defaults to 8
boolean
Whether to redirect to the cart page after adding the product to the cart.Defaults to false
boolean
Whether to show the quantity field for the product.Defaults to false
boolean
Whether to show the name of the collection.Defaults to true
Whether to show a “show more” link.Defaults to false
The text to display on the “show more” link.Defaults to More
boolean
Whether to show the product description.Defaults to false
The text to display on sale price badges.Defaults to Sale
The text to display on subscriber price badges.Defaults to Subscribers
The label text for subscriber pricing.Defaults to for subscribers
boolean
Whether to show subscriber pricing information.Defaults to false

Styling

The following parts are available to style the collection component:
The containing div of placeholder items that is shown while the products are loading.
The colour of the placeholder items that is shown while the products are loading.
The containing ul of the products grid.
The containing li of a product.
The containing div of the product image.
The product image.
The container for the low stock badge.
The low stock badge element.
The containing div of the product info.
The product name.
The product price.
The product description container.
The price badge (sale/subscriber) element.
The sale price display.
The primary subscriber price (for logged-in subscribers).
The subscriber price information.
The crossed-out subscriber price.
The crossed-out regular price.
The crossed-out original price.
The upsell product selection container (visible on hover).
The upsell product dropdown container.
The upsell product select dropdown (hover state).
The “show more” link element.

Features

Product Card Styles

You can choose from four product card styles in your web component settings: Minimal (clean, no border), Bordered (subtle border), Elevated (shadow effect), or Filled (solid background). You can also control text alignment and image corner radius.

Background Colour

Set a custom background colour for your collection pages from web component settings.

Upsell Products

For products with upsell options, the component displays a dropdown selection that appears on hover, allowing customers to choose between different product variants before adding to cart. The collection component uses the add to cart component to display the “add to cart” button for each product. If you have set styles for the add to cart component they will be applied to the “add to cart” button with this component.