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
The unique ID assigned to the compare list.
An array of products to compare.
An array of attributes that can be used for comparing products.
The number of items in the compare list.
Operations returning CompareList
addProductsToCompareList
Add products to the specified compare list.
CompareList · returns CompareList
compareList
Return products that have been added to the specified compare list.
CompareList · returns CompareList
createCompareList
Create a new compare list. The compare list is saved for logged in customers.
CompareList · returns CompareList
removeProductsFromCompareList
Remove products from the specified compare list.
CompareList · returns CompareList
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.