class Falsify::Customcollection
See the [API documentation](help.shopify.com/en/api/reference/products/customcollection).
Required Fields:
-
title
Attributes
The description of the custom collection, complete with HTML markup. Many templates display this on their custom collection pages. @return [String]
A human-friendly unique string for the custom collection automatically generated from its title. This is used in shop themes by the Liquid templating language to refer to the custom collection. (limit: 255 characters) @return [String]
The ID for the custom collection. @return [String]
Image associated with the custom collection. Valid values are:
-
attachment : An image attached to a custom collection returned as Base64-encoded binary data.
-
src : The source URL that specifies the location of the image.
-
alt : Alternative text that describes the collection image.
-
created_at : The time and date ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the image was added to the collection.
-
width : The width of the image in pixels.
-
height : The height of the image in pixels.
@return [Hash]
Whether the custom collection is published to the Online Store channel. @return [String]
The time and date ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the collection was made visible. Returns `null` for a hidden custom collection. @return [String,nil]
The order in which products in the custom collection appear. Valid values:
-
alpha-asc : Alphabetically, in ascending order (A - Z).
-
alpha-desc : Alphabetically, in descending order (Z - A).
-
best-selling : By best-selling products.
-
created : By date created, in ascending order (oldest - newest).
-
created-desc : By date created, in descending order (newest - oldest).
-
manual :
Order
created by the shop owner. -
price-asc : By price, in ascending order (lowest - highest).
-
price-desc : By price, in descending order (highest - lowest).
# @return [String] @return [“alpha-asc”, “alpha-desc”, “best-selling”, “created”, “created-desc”, “manual”, “price-asc”, “price-desc”]
The suffix of the liquid template being used. For example, if the value is `custom`, then the collection is using the `collection.custom.liquid` template. If the value is `null`, then the collection is using the default `collection.liquid`. @return [String,nil]
The name of the custom collection. (limit: 255 characters) @return [String]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the custom collection was last modified. @return [String]