Skip to Content

Product

Describes a product

Returns the caetegory breadcrumbs

compatible

Returns the compatible products

created_at

Returns the creation date.

custom_fields

Returns product custom fields.

deliverer

Returns the deliverer

description

Returns the description.

Returns product featured (first available) image.

Returns the featured (first available) media.

Returns the featured (first available) video.

handle

Returns the handle.

has_only_default_variant

Returns true if product has only default variant.

id

Returns the id.

image

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

images

Returns the images as an array of

  • thumb
  • original

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.

manufacturer

Returns the manufacturer.

max_quantity

Returns the maximum quantity that can be bought.

max_rating

Returns the maximum rating

media

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

min_quantity

Returns the minimum quantity that can be bought.

options

Returns the options handles.

options_by_handle

Returns array of options indexed by handle.

options_with_values

Returns array of options.

product_groups

Returns the assiociated product_groups

rating

Returns the rating

Returns the related products

return_policy_time_limit

Returns the product return policy time limit in days.

review_count

Returns the review count

reviews

Returns the reviews

seo_description

Returns description for search engines.

seo_keywords

Returns keywords for search engines.

seo_title

Returns title for search engines.

short_description

Returns the short description.

similar

Returns the similar products

tags

Returns product tags.

taxonomy

Returns the taxonomy.

title

Returns the title.

updated_at

Returns the last updated date.

variant

Returns the current variant.

variants

Returns the variants.

videos

Returns the videos

Last updated on