Product

Implements a product (result).

Settings

SettingValueDescription

Container

true

Accepts nested children components.

Droppable

true

Added as a nested child component inside a container.

Editable

true

Can be edited

Interactive

false

Can receive events

Properties

PropertyTypeDefaultDescription

Data

General

Product object

Variants

General

List of variants

Actions

ActionDescription

addToCart

Adds the product to the cart

areSpecsVisible

Checks if the features table should be displayed

areVariantsVisible

Checks if the product variants should be displayed

canAddToCart

Checks if the product can be added to the cart

getCartCTA

Returns the add-to-cart button title

getDescription

Returns the product description

getId

Returns the product Id

getImage

Returns the product image

getPrice

Returns the product price

getSlot

Returns the product slot title (if available)

getSpecs

Returns the product features table (if available)

getTitle

Returns the product title

getVariantId

Returns the current selected product variant Id

getVariants

Returns the products variants (if available)

getViewCTA

Returns the view button title

isAddingToCart

Checks if it is in a busy state adding to the cart

isCartButtonVisible

Checks if the product add-to-cart button should be displayed

isDescriptionVisible

Checks if the description should be displayed

isPriceVisible

Checks if the price should be displayed

isViewButtonVisible

Checks if the product view button should be displayed

setVariant(id)

Select the variant Id

view

Go to the product page

Events

No events defined.

Last updated