MageSmith
OBJECT Magento 2.4.9

CompareList

Contains iterable information such as the array of items, the count, and attributes that represent the compare list.

Declared or extended by: CompareList

Fields

uid ID! Required

The unique ID assigned to the compare list.

An array of products to compare.

attributes [ComparableAttribute]

An array of attributes that can be used for comparing products.

item_count Int! Required

The number of items in the compare list.

Operations returning CompareList

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.