Skip to Content

Product

Describes a product

handle

Returns the handle.

min_quantity

Returns the minimum quantity that can be bought.

max_quantity

Returns the maximum quantity that can be bought.

seo_description

Returns description for search engines.

seo_title

Returns title for search engines.

seo_keywords

Returns keywords for search engines.

id

Returns the id.

has_only_default_variant

Returns true if product has only default variant.

variants

Returns the variants.

options

Returns the options handles.

options_with_values

Returns array of options.

options_by_handle

Returns array of options indexed by handle.

variant

Returns the current variant.

tags

Returns product tags.

custom_fields

Returns product custom fields.

in_preview

Returns true if product is in preview.

is_available

Returns true if product is available for purchase.

is_directly_buyable

Returns true if product can be bought without selecting any attributes.

title

Returns the title.

manufacturer

Returns the manufacturer.

short_description

Returns the short description.

description

Returns the description.

images

Returns the images as an array of

  • thumb
  • original

media

Returns the product media, concatted from videos and images properties with additional type field describing the type of the media.

videos

Returns the videos

Returns product featured (first available) image.

Returns the featured (first available) video.

Returns the featured (first available) media.

image

Returns product main image url. This is an alias for featured_image.

compatible

Returns the compatible products

similar

Returns the similar products

Returns the related products

deliverer

Returns the deliverer

product_groups

Returns the assiociated product_groups

taxonomy

Returns the taxonomy.

Returns the caetegory breadcrumbs

return_policy_time_limit

Returns the product return policy time limit in days.

rating

Returns the rating

review_count

Returns the review count

max_rating

Returns the maximum rating

reviews

Returns the reviews

created_at

Returns the creation date.

updated_at

Returns the last updated date.