Developers

Buy button

The Liquid buy button object represents a buy button on the site.

List of available attributes

available?

A boolean indicating if the associated product is available, i.e. the store is enabled and the product is active.

content

The associated content area.

id

The unique ID of the buy button.

settings

JSON-serialized buy button settings data structure.

product

The associated product.

product_id

The unique ID of the associated product.

product_json

JSON-serialized data structure of the associated product.