Developers

Product list

The Liquid product widget object represents a product widget on the site.

List of available attributes

columns

The number of columns the list items are divided into in desktop view.

content_settings

A JSON object of product list's content settings.

design_settings

A JSON object of product list's design settings.

id

Product list's unique ID.

item_height

Height of the list item when using the catalogue layout.

item_width

Width of the list item when using the catalogue layout.

layout_type

Layout style selected for the product list.

mask_content_overflow?

A boolean indicating whether items overflowing the product list's container are masked or not.

mobile_columns

The number of columns the list items are divided into in mobile view.

products

Returns an array of products displayed in the product list. Each item is of Product type.

product_count

The maximum number of products displayed in the product list.

show_cart_button?

A boolean indicating whether Add to cart button is displayed for list items.

show_navigation_buttons?

A boolean indicating whether navigation buttons are visible when using the catalogue layout.

show_price?

A boolean indicating whether the price is displayed for list items.

show_product_filters?

A boolean indicating whether filters are displayed above the product list.

sort_order

The default sorting order of list items.