The collection object has the following attributes:
Returns the total number of products in a collection, even when the collection is filtered.
You can query for products of a certain type at the
/collections/types URL with a query parameter in the format of
[type] is your desired product type. For example, the following URL would return products of type Shirts:
You can query for products from a certain vendor at the
/collections/vendors URL with a query parameter in the format of
[vendor] is your desired product vendor.
Returns the default sort order of the collection, which is set in the collection's page of the Shoplazza admin.
The possible sort orders are:
Returns the description of the collection.
Returns the ID number of the collection.
Returns the collection's image, which is set in the collection's page of the Shoplazza admin.
Returns an array of all the products in a collection.
Returns the sort order applied to the collection by the
sort_by URL parameter. If there is no
sort_by URL parameter, then the value is
Returns the title of the collection.
Returns the tags that are currently applied to a filtered collection, or
Returns the URL of the collection.
Updated 23 days ago