Method: Falsify::Product#variants
- Defined in:
- lib/falsify/models/product/product.rb
#variants ⇒ Array<ProductVariant>
A list of product variants, each representing a different version of the product.
The position property is read-only.
The position of variants is indicated by the order in which they are listed.
To retrieve the presentment_prices property on a variant, include the request header 'X-Shopify-Api-Features': 'include-presentment-prices'.
78 79 80 |
# File 'lib/falsify/models/product/product.rb', line 78 def variants @variants end |