<h1>Liquid objects</h1>
Liquid objects represent variables that you can use to build your theme.
<h1>Objects</h1>
<p>Liquid objects represent variables that you can use to build your theme. Object types include store resources, standard Shopify content, and functional elements that help you to build interactivity.</p>
<p>Objects might represent a single data point, or contain multiple properties. Some properties might represent a related object, such as a product in a collection.</p>
<blockquote>
<p>Note:</p>
<p>Liquid objects are also often referred to as Liquid variables.</p>
</blockquote>
<h2>Creating</h2>
<p>You can also create your own variables using <a href="/docs/api/liquid/tags/variable-tags">variable tags</a>. Variables are treated like objects syntactically.</p>
<h2>Object access</h2>
<p>The way that you access an object depends on the object and the context in which you want to access it. An object might be accessed in the following ways:</p>
<ul>
<li><strong>Globally</strong>: The object can be accessed directly in any Liquid theme file, excluding <a href="/themes/architecture/layouts/checkout-liquid">checkout.liquid</a> and <a href="/themes/architecture#assets">Liquid asset files</a>.</li>
<li><strong>In a template</strong>: The object can be accessed directly in specific templates, or in sections or blocks included in the template. For example, you can access the <a href="/docs/api/liquid/objects/product">product</a> object directly in a <a href="/themes/architecture/templates/product">product template</a>, or a section referenced in a product template.</li>
<li><strong>Through a parent object</strong>: Many objects are returned by another object, or as a property of a parent object. For example, you can access <a href="/docs/api/liquid/objects/article">article</a> objects through the global <a href="/docs/api/liquid/objects/articles">articles</a> object, or through the articles property of the <a href="/docs/api/liquid/objects/blog">blog</a> object.</li>
</ul>
<p>Refer to each object to learn about how it can be accessed.</p>
<h2>Usage</h2>
<p>Objects, along with their properties, are wrapped in curly brace delimiters <code>{{ }}</code>.</p>
<p>For example, the <code>product</code> object contains a property called <code>title</code> that can be used to output the title of a product.</p>
<h3>additional_checkout_buttons</h3>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if a store has any payment providers with offsite checkouts, such as PayPal Express Checkout.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>address</h3>
<p>Deprecated: false</p>
<p>An address, such as a customer address or order shipping address.</p>
<h4>Properties</h4>
<p>address1</p>
<p>Deprecated: false</p>
<p></p>
<p>The first line of the address.</p>
<p>address2</p>
<p>Deprecated: false</p>
<p></p>
<p>The second line of the address.</p>
<p>city</p>
<p>Deprecated: false</p>
<p></p>
<p>The city of the address.</p>
<p>company</p>
<p>Deprecated: false</p>
<p></p>
<p>The company of the address.</p>
<p>country</p>
<p>Deprecated: false</p>
<p></p>
<p>The country of the address.</p>
<p>country_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The country of the address in [ISO 3166-1 (alpha 2) format](https://www.iso.org/glossary-for-iso-3166.html).</p>
<p>first_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first name of the address.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the address.</p>
<p>last_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The last name of the address.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>A combination of the first and last names of the address.</p>
<p>phone</p>
<p>Deprecated: false</p>
<p></p>
<p>The phone number of the address.</p>
<p>province</p>
<p>Deprecated: false</p>
<p></p>
<p>The province of the address.</p>
<p>province_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The province of the address in [ISO 3166-2 (alpha 2) format](https://www.iso.org/glossary-for-iso-3166.html).</p>
<p>street</p>
<p>Deprecated: false</p>
<p></p>
<p>A combination of the first and second lines of the address.</p>
<p>summary</p>
<p>Deprecated: false</p>
<p></p>
<p>A summary of the address, including the following properties:
- First and last name
- First and second lines
- City
- Province
- Country</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL for the address.</p>
<p>zip</p>
<p>Deprecated: false</p>
<p></p>
<p>The zip or postal code of the address.</p>
<h4>Examples</h4>
<h3>all_country_option_tags</h3>
<p>Deprecated: false</p>
<p></p>
<p>Creates an `&lt;option&gt;` tag for each country.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can wrap the `all_country_option_tags` object in `&lt;select&gt;` tags to build a country option selector.
```liquid
&lt;select name="country"&gt;
{{ all_country_option_tags }}
&lt;/select&gt;
```
</p>
<p>
code:
</p>
<h3>all_products</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the products on a store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can use `all_products` to access a product by its [handle](/docs/api/liquid/basics#handles). This returns the [`product`](/docs/api/liquid/objects/product) object for the specified product. If the product isn't found, then `empty` is returned.
</p>
<p>
code:
{{ all_products['love-potion'].title }}
</p>
<h3>app</h3>
<p>Deprecated: false</p>
<p>An app. This object is usually used to access app-specific information for use with [theme app extensions](/apps/online-store/theme-app-extensions).</p>
<h4>Properties</h4>
<p>metafields</p>
<p>Deprecated: false</p>
<p>The [metafields](/docs/api/liquid/objects/metafield) that are [owned by the app](/apps/metafields/app-owned).</p>
<h4>Examples</h4>
<h3>article</h3>
<p>Deprecated: false</p>
<p>An article, or [blog post](https://help.shopify.com/manual/online-store/blogs/writing-blogs), in a blog.</p>
<h4>Properties</h4>
<p>author</p>
<p>Deprecated: false</p>
<p></p>
<p>The full name of the author of the article.</p>
<p>comment_post_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL where POST requests are sent when creating new comments.</p>
<p>comments</p>
<p>Deprecated: false</p>
<p></p>
<p>The published comments for the article.</p>
<p>comments_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of published comments for the article.</p>
<p>comments_enabled?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if comments are enabled. Returns `false` if not.</p>
<p>content</p>
<p>Deprecated: false</p>
<p></p>
<p>The content of the article.</p>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the article was created.</p>
<p>excerpt</p>
<p>Deprecated: false</p>
<p></p>
<p>The excerpt of the article.</p>
<p>excerpt_or_content</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns the article [excerpt](/docs/api/liquid/objects/article#article-excerpt) if it exists. Returns the article
[content](/docs/api/liquid/objects/article#article-content) if no excerpt exists.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the article.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the article.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The featured image for the article.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the article.</p>
<p>moderated?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the blog that the article belongs to is set to [moderate comments](https://help.shopify.com/manual/online-store/blogs/managing-comments).
Returns `false` if not.</p>
<p>published_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the article was published.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>The tags applied to the article.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) assigned to the article.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the article.</p>
<p>updated_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the article was updated.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the article.</p>
<p>user</p>
<p>Deprecated: false</p>
<p></p>
<p>The user associated with the author of the article.</p>
<h4>Examples</h4>
<h3>articles</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the articles across the blogs in the store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can use `articles` to access an article by its [handle](/docs/api/liquid/basics#handles).
</p>
<p>
code:
{% assign article = articles['potion-notions/new-potions-for-spring'] %}
{{ article.title | link_to: article.url }}
</p>
<h3>block</h3>
<p>Deprecated: false</p>
<p>The content and settings of a [section block](/themes/architecture/sections/section-schema#blocks).</p>
<h4>Properties</h4>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the block.</p>
<p>settings</p>
<p>Deprecated: false</p>
<p></p>
<p>The [settings](/themes/architecture/sections/section-schema#blocks) of the block.</p>
<p>shopify_attributes</p>
<p>Deprecated: false</p>
<p></p>
<p>The data attributes for the block for use in the theme editor.</p>
<p>type</p>
<p>Deprecated: false</p>
<p></p>
<p>The type of the block.</p>
<h4>Examples</h4>
<h3>blog</h3>
<p>Deprecated: false</p>
<p>Information about a specific [blog](https://help.shopify.com/manual/online-store/blogs/adding-a-blog) in the store.</p>
<h4>Properties</h4>
<p>all_tags</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the tags on the articles in the blog.</p>
<p>articles</p>
<p>Deprecated: false</p>
<p></p>
<p>The articles in the blog.</p>
<p>articles_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of articles in the blog. This total doesn't include hidden articles.</p>
<p>comments_enabled?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if comments are enabled for the blog. Returns `false` if not.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the blog.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the blog.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the blog.</p>
<p>moderated?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the blog is set to
[moderate comments](https://help.shopify.com/manual/online-store/blogs/managing-comments). Returns `false` if not.</p>
<p>next_article</p>
<p>Deprecated: false</p>
<p></p>
<p>The next (older) article in the blog.</p>
<p>previous_article</p>
<p>Deprecated: false</p>
<p></p>
<p>The previous (newer) article in the blog.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>A list of all of the tags on all of the articles in the blog.
Unlike [`blog.all_tags`](/docs/api/liquid/objects/blog#blog-all_tags), this property only returns tags of articles that are in the
filtered view.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) assigned to the blog.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the blog.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the blog.</p>
<h4>Examples</h4>
<h3>blogs</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the blogs in the store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can use `blogs` to access a blog by its [handle](/docs/api/liquid/basics#handles).
</p>
<p>
code:
{% for article in blogs.potion-notions.articles %}
{{- article.title | link_to: article.url }}
{% endfor %}
</p>
<h3>brand</h3>
<p>Deprecated: false</p>
<p>The [brand assets](https://help.shopify.com/manual/promoting-marketing/managing-brand-assets) for the store.</p>
<h4>Properties</h4>
<p>colors</p>
<p>Deprecated: false</p>
<p>The brand's colors.</p>
<p>cover_image</p>
<p>Deprecated: false</p>
<p></p>
<p>The square logo for the brand, resized to 32x32 px.</p>
<p>favicon_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The square logo for the brand, resized to 32x32 px.</p>
<p>logo</p>
<p>Deprecated: false</p>
<p></p>
<p>The default logo for the brand.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p>The social links for the brand.</p>
<p>short_description</p>
<p>Deprecated: false</p>
<p></p>
<p>A short description of the brand.</p>
<p>slogan</p>
<p>Deprecated: false</p>
<p></p>
<p>The slogan for the brand.</p>
<p>square_logo</p>
<p>Deprecated: false</p>
<p></p>
<p>The square logo for the brand.</p>
<h4>Examples</h4>
<h3>brand_color</h3>
<p>Deprecated: false</p>
<p></p>
<p>The colors defined as part of a store's [brand assets](https://help.shopify.com/manual/promoting-marketing/managing-brand-assets).</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
To access a brand color, specify the following:
- The brand color group: either `primary` or `secondary`
- The color role: Whether the color is a `background` or `foreground` (contrasting) color
- The 0-based index of the color within the group and role
</p>
<p>
code:
{{ shop.brand.colors.primary[0].background }}
{{ shop.brand.colors.primary[0].foreground }}
{{ shop.brand.colors.secondary[0].background }}
{{ shop.brand.colors.secondary[1].background }}
{{ shop.brand.colors.secondary[0].foreground }}
</p>
<h3>canonical_url</h3>
<p>Deprecated: false</p>
<p></p>
<p>The canonical URL for the current page.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>cart</h3>
<p>Deprecated: false</p>
<p>A customer’s cart.</p>
<h4>Properties</h4>
<p>attributes</p>
<p>Deprecated: false</p>
<p></p>
<p>Additional attributes entered by the customer with the cart.</p>
<p>cart_level_discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>The cart-specific discount applications for the cart.</p>
<p>checkout_charge_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount that the customer will be charged at checkout in the currency's subunit.</p>
<p>currency</p>
<p>Deprecated: false</p>
<p>The currency of the cart.</p>
<p>discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount applications for the cart.</p>
<p>discounts</p>
<p>Deprecated: true</p>
<p></p>
<p>The discounts applied to the cart.</p>
<p>duties_included</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if duties are included in the prices of products in the cart. Returns `false` if not.</p>
<p>empty?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if there are no items in the cart. Return's `false` if there are.</p>
<p>item_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items in the cart.</p>
<p>items</p>
<p>Deprecated: false</p>
<p></p>
<p>The line items in the cart.</p>
<p>items_subtotal_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total price of all of the items in the cart in the currency's subunit, after any line item discounts. This
doesn't include taxes (unless taxes are included in the prices), cart discounts, or shipping costs.</p>
<p>note</p>
<p>Deprecated: false</p>
<p></p>
<p>Additional information captured with the cart.</p>
<p>original_total_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total price of all of the items in the cart in the currency's subunit, before discounts have been applied.</p>
<p>requires_shipping</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if any of the products in the cart require shipping. Returns `false` if not.</p>
<p>taxes_included</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if taxes are included in the prices of products in the cart. Returns `false` if not.</p>
<p>total_discount</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of all discounts (the amount saved) for the cart in the currency's subunit.</p>
<p>total_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total price of all of the items in the cart in the currency's subunit, after discounts have been applied.</p>
<p>total_weight</p>
<p>Deprecated: false</p>
<p></p>
<p>The total weight of all of the items in the cart in grams.</p>
<h4>Examples</h4>
<h3>checkout</h3>
<p>Deprecated: false</p>
<p>A customer's checkout.</p>
<h4>Properties</h4>
<p>applied_gift_cards</p>
<p>Deprecated: false</p>
<p></p>
<p>The gift cards applied to the checkout.</p>
<p>attributes</p>
<p>Deprecated: false</p>
<p></p>
<p>Additional attributes entered by the customer with the [cart](/docs/api/liquid/objects/cart#cart-attributes).</p>
<p>billing_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The billing address entered at checkout.</p>
<p>buyer_accepts_marketing</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the customer checks the email marketing subscription checkbox. Returns `false` if not.</p>
<p>cancelled</p>
<p>Deprecated: true</p>
<p></p>
<p>Returns `true` if the checkout has been cancelled. Returns `false` if not.</p>
<p>cart_level_discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>The cart-specific discount applications for the checkout.</p>
<p>currency</p>
<p>Deprecated: false</p>
<p></p>
<p>The [ISO code](https://www.iso.org/iso-4217-currency-codes.html) of the currency of the checkout.</p>
<p>customer</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer associated with the checkout.
&gt; Note:
&gt; The [`customer` object](/docs/api/liquid/objects/customer) is directly accessible globally when a customer is logged in to their account.</p>
<p>discount</p>
<p>Deprecated: true</p>
<p></p>
<p>A discount applied to the checkout without being saved.</p>
<p>discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount applications for the checkout.</p>
<p>discounts</p>
<p>Deprecated: true</p>
<p></p>
<p>The discounts applied to the checkout.</p>
<p>discounts_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of the discounts applied to the checkout in the currency's subunit.</p>
<p>discounts_savings</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of the discounts applied to the checkout in the currency's subunit, as a negative value.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email associated with the checkout.</p>
<p>financial_status</p>
<p>Deprecated: true</p>
<p></p>
<p>The financial status of the checkout.</p>
<p>fulfilled_at</p>
<p>Deprecated: true</p>
<p></p>
<p>A timestamp for the fulfullment of the checkout.</p>
<p>fulfilled_line_items</p>
<p>Deprecated: true</p>
<p></p>
<p>The fulfilled line items from the checkout.</p>
<p>fulfillment_status</p>
<p>Deprecated: true</p>
<p></p>
<p>The fulfillment status of the checkout.</p>
<p>gift_cards_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the checkout price paid in gift cards.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the checkout.</p>
<p>item_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items in the checkout.</p>
<p>line_items</p>
<p>Deprecated: false</p>
<p></p>
<p>The line items of the checkout.</p>
<p>line_items_subtotal_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The sum of the prices of all of the line items of the checkout in the currency's subunit, after any line item discounts.
have been applied.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the checkout.</p>
<p>note</p>
<p>Deprecated: false</p>
<p></p>
<p>Additional information entered by the customer with the [cart](/docs/api/liquid/objects/cart#cart-note).</p>
<p>order</p>
<p>Deprecated: false</p>
<p></p>
<p>The order created by the checkout.</p>
<p>order_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the order created by the checkout.</p>
<p>order_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the order created by the checkout.</p>
<p>order_number</p>
<p>Deprecated: false</p>
<p></p>
<p>An integer representation of the name of the order created by the checkout.</p>
<p>requires_shipping</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if any of the line items of the checkout require shipping. Returns `false` if not.</p>
<p>shipping_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping address of the checkout.</p>
<p>shipping_method</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping method of the checkout.</p>
<p>shipping_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping price of the checkout in the currency's subunit.</p>
<p>tax_lines</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax lines for the checkout.</p>
<p>tax_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total tax amount of the checkout in the currency's subunit.</p>
<p>total_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total price of the checkout in the currency's subunit.</p>
<p>transactions</p>
<p>Deprecated: false</p>
<p></p>
<p>The transactions of the checkout.</p>
<p>unavailable_line_items</p>
<p>Deprecated: true</p>
<p></p>
<p>The unavailable line items of the checkout.</p>
<p>unfulfilled_line_items</p>
<p>Deprecated: true</p>
<p></p>
<p>The unfulfilled line items of the checkout.</p>
<h4>Examples</h4>
<h3>closest</h3>
<p>Deprecated: false</p>
<p>A drop that holds resources of different types that are the closest to the current context</p>
<h4>Properties</h4>
<p>article</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest article resource</p>
<p>blog</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest blog resource</p>
<p>collection</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest collection resource</p>
<p>metaobject</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest metaobject resources</p>
<p>page</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest page resource</p>
<p>product</p>
<p>Deprecated: false</p>
<p></p>
<p>Closest product resource</p>
<h4>Examples</h4>
<h3>collection</h3>
<p>Deprecated: false</p>
<p>A [collection](https://help.shopify.com/manual/products/collections) in a store.</p>
<h4>Properties</h4>
<p>all_products_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of products in a collection.</p>
<p>all_tags</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the tags applied to the products in the collection.</p>
<p>all_types</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the product types in a collection.</p>
<p>all_vendors</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the product vendors in a collection.</p>
<p>current_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The product type on a product type collection page.</p>
<p>current_vendor</p>
<p>Deprecated: false</p>
<p></p>
<p>The vendor name on a vendor collection page.</p>
<p>default_sort_by</p>
<p>Deprecated: false</p>
<p>manual</p>
<p>best-selling</p>
<p>title-ascending</p>
<p>price-ascending</p>
<p>price-descending</p>
<p>created-ascending</p>
<p>created-descending</p>
<p>The default sort order of the collection.</p>
<p>description</p>
<p>Deprecated: false</p>
<p></p>
<p>The description of the collection.</p>
<p>featured_image</p>
<p>Deprecated: false</p>
<p></p>
<p>The featured image for the collection.</p>
<p>filters</p>
<p>Deprecated: false</p>
<p></p>
<p>The [storefront filters](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters) that
have been set up on the collection.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the collection.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the collection.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The image for the collection.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the collection.</p>
<p>next_product</p>
<p>Deprecated: false</p>
<p></p>
<p>The next product in the collection. Returns `nil` if there's no next product.</p>
<p>previous_product</p>
<p>Deprecated: false</p>
<p></p>
<p>The previous product in the collection. Returns `nil` if there's no previous product.</p>
<p>products</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the products in the collection.</p>
<p>products_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of products in the current view of the collection.</p>
<p>published_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the collection was published.</p>
<p>sort_by</p>
<p>Deprecated: false</p>
<p></p>
<p>The sort order applied to the collection by the `sort_by` URL parameter.</p>
<p>sort_options</p>
<p>Deprecated: false</p>
<p></p>
<p>The available sorting options for the collection.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>The tags that are currently applied to the collection.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) assigned to the collection.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the collection.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the collection.</p>
<h4>Examples</h4>
<h3>collections</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the [collections](/docs/api/liquid/objects/collection) on a store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can iterate over `collections` to build a collection list.
</p>
<p>
code:
{% for collection in collections %}
{{- collection.title | link_to: collection.url }}
{% endfor %}
</p>
<p>
data:
You can use `collections` to access a collection by its [handle](/docs/api/liquid/basics#handles).
</p>
<p>
code:
{% for product in collections['sale-potions'].products %}
{{- product.title | link_to: product.url }}
{% endfor %}
</p>
<h3>color</h3>
<p>Deprecated: false</p>
<p>A color from a [`color` setting](/themes/architecture/settings/input-settings#color).</p>
<h4>Properties</h4>
<p>alpha</p>
<p>Deprecated: false</p>
<p></p>
<p>The alpha component of the color, which is a decimal number between 0.0 and 1.0.</p>
<p>blue</p>
<p>Deprecated: false</p>
<p></p>
<p>The blue component of the color, which is a number between 0 and 255.</p>
<p>chroma</p>
<p>Deprecated: false</p>
<p></p>
<p>The chroma component of the color, which is a decimal number between 0.0 and 0.5.</p>
<p>color_space</p>
<p>Deprecated: false</p>
<p></p>
<p>The color space of the color. Returns 'srgb' or 'oklch'</p>
<p>green</p>
<p>Deprecated: false</p>
<p></p>
<p>The green component of the color, which is a number between 0 and 255.</p>
<p>hue</p>
<p>Deprecated: false</p>
<p></p>
<p>The hue component of the color, which is a number between 0 and 360.</p>
<p>lightness</p>
<p>Deprecated: false</p>
<p></p>
<p>The lightness component of the color, which is a number between 0 and 100.</p>
<p>oklch</p>
<p>Deprecated: false</p>
<p></p>
<p>The lightness, chroma, and hue values of the color, represented as a
space-separated string.</p>
<p>oklcha</p>
<p>Deprecated: false</p>
<p></p>
<p>The lightness, chroma, hue and alpha values of the color, represented as a
space-separated string, with a slash before the alpha channel.</p>
<p>red</p>
<p>Deprecated: false</p>
<p></p>
<p>The red component of the color, which is a number between 0 and 255.</p>
<p>rgb</p>
<p>Deprecated: false</p>
<p></p>
<p>The red, green, and blue values of the color, represented as a space-separated string.</p>
<p>rgba</p>
<p>Deprecated: false</p>
<p></p>
<p>The red, green, blue, and alpha values of the color, represented as a
space-separated string, with a slash before the alpha channel.</p>
<p>saturation</p>
<p>Deprecated: false</p>
<p></p>
<p>The saturation component of the color, which is a number between 0 and 100.</p>
<h4>Examples</h4>
<p>
data:
When a color setting is referenced directly, the hexidecimal color code is returned.
</p>
<p>
code:
{{ settings.colors_accent_2 }}
</p>
<h3>color_scheme</h3>
<p>Deprecated: false</p>
<p>A color_scheme from a [`color_scheme` setting](/themes/architecture/settings/input-settings#color_scheme).</p>
<h4>Properties</h4>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the color_scheme</p>
<p>settings</p>
<p>Deprecated: false</p>
<p></p>
<p>The [settings](https://shopify.dev/docs/themes/architecture/settings/input-settings#color_scheme_group) of the color_scheme.</p>
<h4>Examples</h4>
<p>
data:
When a color_scheme setting is referenced directly, the color scheme ID is returned.
</p>
<p>
code:
{{ settings.card_color_scheme }}
</p>
<h3>color_scheme_group</h3>
<p>Deprecated: false</p>
<p>A color_scheme_group from a [`color_scheme_group` setting](/themes/architecture/settings/input-settings#color_scheme_group).</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{% for scheme in settings.color_schemes %}
.color-{{ scheme.id }} {
--color-background: {{ scheme.settings.background }};
--color-text: {{ scheme.settings.text }};
}
{% endfor %}
</p>
<h3>comment</h3>
<p>Deprecated: false</p>
<p>An article comment.</p>
<h4>Properties</h4>
<p>author</p>
<p>Deprecated: false</p>
<p></p>
<p>The full name of the author of the comment.</p>
<p>content</p>
<p>Deprecated: false</p>
<p></p>
<p>The content of the comment.</p>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the comment was created.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email of he author of the comment.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the comment.</p>
<p>status</p>
<p>Deprecated: false</p>
<p></p>
<p>The status of the comment. Always returns `published`.</p>
<p>updated_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the status of the comment was last updated.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the article that the comment is associated with, with [`comment.id`](/docs/api/liquid/objects/comment#comment-id)
appended.</p>
<h4>Examples</h4>
<h3>company</h3>
<p>Deprecated: false</p>
<p>A company that a [customer](/docs/api/liquid/objects/customer) is purchasing for.</p>
<h4>Properties</h4>
<p>available_locations</p>
<p>Deprecated: false</p>
<p></p>
<p>The company locations that the current customer has access to, or can interact with.</p>
<p>available_locations_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of company locations associated with the customer's company.</p>
<p>external_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The external ID of the company.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the company.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the company.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the company.</p>
<h4>Examples</h4>
<h3>company_address</h3>
<p>Deprecated: false</p>
<p>The address of a company location.</p>
<h4>Properties</h4>
<p>address1</p>
<p>Deprecated: false</p>
<p></p>
<p>The first line of the address.</p>
<p>address2</p>
<p>Deprecated: false</p>
<p></p>
<p>The second line of the address.</p>
<p>attention</p>
<p>Deprecated: false</p>
<p></p>
<p>The attention line of the address.</p>
<p>city</p>
<p>Deprecated: false</p>
<p></p>
<p>The city of the address.</p>
<p>country</p>
<p>Deprecated: false</p>
<p></p>
<p>The country of the address.</p>
<p>country_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The country of the address in [ISO 3166-1 (alpha 2) format](https://www.iso.org/glossary-for-iso-3166.html).</p>
<p>first_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first name of the address.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the address.</p>
<p>last_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The last name of the address.</p>
<p>province</p>
<p>Deprecated: false</p>
<p></p>
<p>The province of the address.</p>
<p>province_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The province of the address in [ISO 3166-2 (alpha 2) format](https://www.iso.org/glossary-for-iso-3166.html).</p>
<p>street</p>
<p>Deprecated: false</p>
<p></p>
<p>A combination of the first and second lines of the address.</p>
<p>zip</p>
<p>Deprecated: false</p>
<p></p>
<p>The zip or postal code of the address.</p>
<h4>Examples</h4>
<h3>company_location</h3>
<p>Deprecated: false</p>
<p>A location of the [company](/docs/api/liquid/objects/company) that a [customer](/docs/api/liquid/objects/customer) is purchasing for.</p>
<h4>Properties</h4>
<p>company</p>
<p>Deprecated: false</p>
<p></p>
<p>The company that the location is associated with.</p>
<p>current?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the location is currently selected. Returns `false` if not.</p>
<p>external_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The external ID of the location.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the location.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the company location.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the location.</p>
<p>shipping_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The address of the location.</p>
<p>tax_registration_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax ID of the location.</p>
<p>url_to_set_as_current</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL to set the location as the current location for the customer.</p>
<h4>Examples</h4>
<h3>content_for_additional_checkout_buttons</h3>
<p>Deprecated: false</p>
<p></p>
<p>Returns checkout buttons for any active payment providers with offsite checkouts.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>content_for_header</h3>
<p>Deprecated: false</p>
<p>Dynamically returns all scripts required by Shopify.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>content_for_index</h3>
<p>Deprecated: false</p>
<p></p>
<p>Dynamically returns the content of [sections](/themes/architecture/sections) to be rendered on the home page.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>content_for_layout</h3>
<p>Deprecated: false</p>
<p></p>
<p>Dynamically returns content based on the current [template](/themes/architecture/templates).</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>country</h3>
<p>Deprecated: false</p>
<p>A country supported by the store's localization options.</p>
<h4>Properties</h4>
<p>available_languages</p>
<p>Deprecated: false</p>
<p></p>
<p>The languages that have been added to the market that this country belongs to.</p>
<p>continent</p>
<p>Deprecated: false</p>
<p></p>
<p>The continent that the country is in.</p>
<p>currency</p>
<p>Deprecated: false</p>
<p></p>
<p>The currency used in the country.</p>
<p>iso_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The ISO code of the country in [ISO 3166-1 (alpha 2) format](https://www.iso.org/glossary-for-iso-3166.html).</p>
<p>market</p>
<p>Deprecated: false</p>
<p></p>
<p>The market that includes this country.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the country.</p>
<p>popular?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the country is popular for this shop. Otherwise, returns `false`.
This can be useful for sorting countries in a country selector.</p>
<p>unit_system</p>
<p>Deprecated: false</p>
<p>imperial</p>
<p>metric</p>
<p>The unit system of the country.</p>
<h4>Examples</h4>
<p>
data:
When the country object is referenced directly, `country.name` is returned.
</p>
<p>
code:
{% for country in localization.available_countries -%}
{{ country }}
{%- endfor %}
</p>
<p>
data:
When the country object is passed to the [`image_url`](/docs/api/liquid/filters#image_url) filter, a [CDN URL](/themes/best-practices/performance/platform#shopify-cdn) for that country’s flag is returned. All country’s flags are SVGs, normalized to an aspect ratio of 4:3.
</p>
<p>
code:
{{ localization.country | image_url: width: 32 | image_tag }}
</p>
<h3>country_option_tags</h3>
<p>Deprecated: false</p>
<p></p>
<p>Creates an `&lt;option&gt;` tag for each country and region that's included in a shipping zone on the [Shipping](https://www.shopify.com/admin/settings/shipping) page of the Shopify admin.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can wrap the `country_option_tags` object in `&lt;select&gt;` tags to build a country option selector.
</p>
<p>
code:
&lt;select name="country"&gt;
{{ country_option_tags }}
&lt;/select&gt;
</p>
<h3>currency</h3>
<p>Deprecated: false</p>
<p>Information about a currency, like the ISO code and symbol.</p>
<h4>Properties</h4>
<p>iso_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The [ISO code](https://www.iso.org/iso-4217-currency-codes.html) of the currency.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the currency.</p>
<p>symbol</p>
<p>Deprecated: false</p>
<p></p>
<p>The symbol of the currency.</p>
<h4>Examples</h4>
<h3>current_page</h3>
<p>Deprecated: false</p>
<p></p>
<p>The current page number.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{{ page_title }}{% unless current_page == 1 %} - Page {{ current_page }}{% endunless %}
</p>
<h3>current_tags</h3>
<p>Deprecated: false</p>
<p></p>
<p>The currently applied tags.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>customer</h3>
<p>Deprecated: false</p>
<p>A [customer](https://help.shopify.com/manual/customers) of the store.</p>
<h4>Properties</h4>
<p>accepts_marketing</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the customer accepts marketing. Returns `false` if not.</p>
<p>addresses</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the addresses associated with the customer.</p>
<p>addresses_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of addresses associated with the customer.</p>
<p>b2b?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the customer is a B2B customer. Returns `false` if not.</p>
<p>company_available_locations</p>
<p>Deprecated: false</p>
<p></p>
<p>The company locations that the customer has access to, or can interact with.</p>
<p>company_available_locations_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of company locations associated with the customer.</p>
<p>current_company</p>
<p>Deprecated: false</p>
<p></p>
<p>The company that the customer is purchasing for.</p>
<p>current_location</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected company location.</p>
<p>default_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The default address of the customer.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email of the customer.</p>
<p>first_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first name of the customer.</p>
<p>has_account</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the email associated with the customer is tied to a
[customer account](https://help.shopify.com/manual/customers/customer-accounts). Returns `false` if not.</p>
<p>has_avatar?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if an avatar is associated with a customer. Returns `false` if not.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the customer.</p>
<p>last_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The last name of the customer.</p>
<p>last_order</p>
<p>Deprecated: false</p>
<p></p>
<p>The last order placed by the customer, not including test orders.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The full name of the customer.</p>
<p>orders</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the orders placed by the customer.</p>
<p>orders_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of orders that the customer has placed.</p>
<p>payment_methods</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer's saved payment methods.</p>
<p>phone</p>
<p>Deprecated: false</p>
<p></p>
<p>The phone number of the customer.</p>
<p>store_credit_account</p>
<p>Deprecated: false</p>
<p></p>
<p>The store credit account associated with the customer.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>The tags associated with the customer.</p>
<p>tax_exempt</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the customer is exempt from taxes. Returns `false` if not.</p>
<p>total_spent</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount that the customer has spent on all orders in the currency's subunit.</p>
<h4>Examples</h4>
<p>
data:
When using the `customer` object outside of customer-specific templates or objects that specifically return a customer, you should check whether the `customer` object is defined.
</p>
<p>
code:
{% if customer %}
Hello, {{ customer.first_name }}!
{% endif %}
</p>
<h3>customer_payment_method</h3>
<p>Deprecated: false</p>
<p>A customer's saved payment method.</p>
<h4>Properties</h4>
<p>payment_instrument_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The instrument type of the payment method (e.g credit_card).</p>
<p>token</p>
<p>Deprecated: false</p>
<p></p>
<p>The identifier for the payment method.</p>
<h4>Examples</h4>
<h3>discount</h3>
<p>Deprecated: true</p>
<p>A discount applied to a cart, line item, or order.</p>
<h4>Properties</h4>
<p>amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the discount in the currency's subunit.</p>
<p>code</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing name of the discount.</p>
<p>savings</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the discount as a negative value, in the currency's subunit.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing name of the discount.</p>
<p>total_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the discount in the currency's subunit.</p>
<p>total_savings</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the discount as a negative value, in the currency's subunit.</p>
<p>type</p>
<p>Deprecated: false</p>
<p>FixedAmountDiscount</p>
<p>PercentageDiscount</p>
<p>ShippingDiscount</p>
<p>The type of the discount.</p>
<h4>Examples</h4>
<h3>discount_allocation</h3>
<p>Deprecated: false</p>
<p>Information about how a discount affects an item.</p>
<h4>Properties</h4>
<p>amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount that the item is discounted by in the currency's subunit.</p>
<p>discount_application</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount application that applies the discount to the item.</p>
<h4>Examples</h4>
<h3>discount_application</h3>
<p>Deprecated: false</p>
<p>Information about the intent of a discount.</p>
<h4>Properties</h4>
<p>target_selection</p>
<p>Deprecated: false</p>
<p>all</p>
<p>entitled</p>
<p>explicit</p>
<p>The selection method for line items or shipping lines to be discounted.</p>
<p>target_type</p>
<p>Deprecated: false</p>
<p>line_item</p>
<p>shipping_line</p>
<p>The type of item that the discount applies to.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing name of the discount.</p>
<p>total_allocated_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of the discount in the currency's subunit.</p>
<p>type</p>
<p>Deprecated: false</p>
<p>automatic</p>
<p>discount_code</p>
<p>manual</p>
<p>script</p>
<p>The type of the discount.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the discount.</p>
<p>value_type</p>
<p>Deprecated: false</p>
<p>fixed_amount</p>
<p>percentage</p>
<p>The value type of the discount.</p>
<h4>Examples</h4>
<h3>external_video</h3>
<p>Deprecated: false</p>
<p>Information about an external video from YouTube or Vimeo.</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the external video.</p>
<p>aspect_ratio</p>
<p>Deprecated: false</p>
<p></p>
<p>The aspect ratio of the video as a decimal.</p>
<p>external_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the video from its external source.</p>
<p>host</p>
<p>Deprecated: false</p>
<p>youtube</p>
<p>vimeo</p>
<p>The service that hosts the video.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the external video.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The media type of the external video. Always returns `external_video`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the external video in the [`product.media`](/docs/api/liquid/objects/product#product-media) array.</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image of the media.</p>
<h4>Examples</h4>
<h3>filter</h3>
<p>Deprecated: false</p>
<p>A [storefront filter](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters).</p>
<h4>Properties</h4>
<p>active_values</p>
<p>Deprecated: false</p>
<p></p>
<p>The values of the filter that are currently active.
The array can have values only for `boolean` and `list` type filters.</p>
<p>false_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The `false` filter value.
Returns a value for `boolean` type filters if the unfiltered view has at least one result with the `false` filter value. Otherwise, it returns `nil`.</p>
<p>inactive_values</p>
<p>Deprecated: false</p>
<p></p>
<p>The values of the filter that are currently inactive.</p>
<p>label</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing label for the filter.</p>
<p>max_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The highest filter value.
Returns a value only for `price_range` type filters. Returns `nil` for other types.</p>
<p>min_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The lowest filter value.
Returns a value only for `price_range` type filters. Returns `nil` for other types.</p>
<p>operator</p>
<p>Deprecated: false</p>
<p>AND</p>
<p>OR</p>
<p>The logical operator used by the filter.
Returns a value only for `boolean` and `list` type filters. Returns `nil` for other types.</p>
<p>param_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL parameter for the filter. For example, `filter.v.option.color`.</p>
<p>presentation</p>
<p>Deprecated: false</p>
<p>image</p>
<p>swatch</p>
<p>text</p>
<p>Describes how to present the filter values.
Returns a value only for `list` type filters. Returns `nil` for other types.</p>
<p>range_max</p>
<p>Deprecated: false</p>
<p></p>
<p>The highest product price within the collection or search results.
Returns a value only for `price_range` type filters. Returns `nil` for other types.</p>
<p>true_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The `true` filter value.
Returns a value for `boolean` type filters if the unfiltered view has at least one result with the `true` filter value. Otherwise, it returns `nil`.</p>
<p>type</p>
<p>Deprecated: false</p>
<p>boolean</p>
<p>list</p>
<p>price_range</p>
<p>The type of the filter.</p>
<p>url_to_remove</p>
<p>Deprecated: false</p>
<p></p>
<p>The current page URL with the URL parameter related to the filter removed.</p>
<p>values</p>
<p>Deprecated: false</p>
<p></p>
<p>The values of the filter.
The array can have values only for `boolean` and `list` type filters.</p>
<h4>Examples</h4>
<h3>filter_value</h3>
<p>Deprecated: false</p>
<p>A specific value of a filter.</p>
<h4>Properties</h4>
<p>active</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the value is currently active. Returns `false` if not.
Can only return `true` for filters of type `boolean` or `list`.</p>
<p>count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of results related to the filter value.
Returns a value only for `boolean` and `list` type filters. Returns `nil` for `price_range` type filters.</p>
<p>display</p>
<p>Deprecated: true</p>
<p></p>
<p>The visual representation of the filter value.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The visual representation of the filter value when an image is used.</p>
<p>label</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing label for the filter value. For example, `Red` or `Rouge`.
Returns a value only for `boolean` and `list` type filters. Returns `nil` for `price_range` type filters.</p>
<p>param_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL parameter for the parent filter of the filter value.</p>
<p>swatch</p>
<p>Deprecated: false</p>
<p></p>
<p>The visual representation of the filter value when a swatch is used.</p>
<p>url_to_add</p>
<p>Deprecated: false</p>
<p></p>
<p>The current page URL with the filter value parameter added.</p>
<p>url_to_remove</p>
<p>Deprecated: false</p>
<p></p>
<p>The current page URL with the filter value parameter removed.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value for the URL parameter. The `value` is paired with the [`param_name`](#filter_value-param_name) property.</p>
<h4>Examples</h4>
<h3>filter_value_display</h3>
<p>Deprecated: true</p>
<p>The visual representation of a filter value.</p>
<h4>Properties</h4>
<p>type</p>
<p>Deprecated: false</p>
<p>colors</p>
<p>image</p>
<p>The type of visual representation.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The visual representation.</p>
<h4>Examples</h4>
<h3>focal_point</h3>
<p>Deprecated: false</p>
<p>The focal point for an image.</p>
<h4>Properties</h4>
<p>x</p>
<p>Deprecated: false</p>
<p></p>
<p>The horizontal position of the focal point, as a percent of the image width. Returns `50` if no focal point is set.</p>
<p>y</p>
<p>Deprecated: false</p>
<p></p>
<p>The vertical position of the focal point, as a percent of the image height. Returns `50` if no focal point is set.</p>
<h4>Examples</h4>
<p>
data:
When a `focal_point` object is referenced directly, the coordinates are returned as a string, in the format `X% Y%`.
</p>
<p>
code:
{{ images['potions-header.png'].presentation.focal_point }}
</p>
<h3>font</h3>
<p>Deprecated: false</p>
<p>A font from a [`font_picker` setting](/themes/architecture/settings/input-settings#font_picker).</p>
<h4>Properties</h4>
<p>baseline_ratio</p>
<p>Deprecated: false</p>
<p></p>
<p>The baseline ratio of the font as a decimal.</p>
<p>fallback_families</p>
<p>Deprecated: false</p>
<p></p>
<p>The fallback families of the font.</p>
<p>family</p>
<p>Deprecated: false</p>
<p></p>
<p>The family name of the font.</p>
<p>style</p>
<p>Deprecated: false</p>
<p></p>
<p>The style of the font.</p>
<p>system?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the font is a system font. Returns `false` if not.</p>
<p>variants</p>
<p>Deprecated: false</p>
<p></p>
<p>The variants in the family of the font.</p>
<p>weight</p>
<p>Deprecated: false</p>
<p></p>
<p>The weight of the font.</p>
<h4>Examples</h4>
<h3>forloop</h3>
<p>Deprecated: false</p>
<p>Information about a parent [`for` loop](/docs/api/liquid/tags/for).</p>
<h4>Properties</h4>
<p>first</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current iteration is the first. Returns `false` if not.</p>
<p>index</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current iteration.</p>
<p>index0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current iteration.</p>
<p>last</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current iteration is the last. Returns `false` if not.</p>
<p>length</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of iterations in the loop.</p>
<p>parentloop</p>
<p>Deprecated: false</p>
<p></p>
<p>The parent `forloop` object.</p>
<p>rindex</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current iteration, in reverse order.</p>
<p>rindex0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current iteration, in reverse order.</p>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{% for page in pages -%}
{%- if forloop.length &gt; 0 -%}
{{ page.title }}{% unless forloop.last %}, {% endunless -%}
{%- endif -%}
{% endfor %}
</p>
<h3>form</h3>
<p>Deprecated: false</p>
<p>Information about a form created by a [`form` tag](/docs/api/liquid/tags/form).</p>
<h4>Properties</h4>
<p>address1</p>
<p>Deprecated: false</p>
<p></p>
<p>The first address line associated with the address.</p>
<p>address2</p>
<p>Deprecated: false</p>
<p></p>
<p>The second address line associated with the address.</p>
<p>author</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the author of the article comment.</p>
<p>body</p>
<p>Deprecated: false</p>
<p></p>
<p>The content of the contact submission or article comment.</p>
<p>city</p>
<p>Deprecated: false</p>
<p></p>
<p>The city associated with the address.</p>
<p>company</p>
<p>Deprecated: false</p>
<p></p>
<p>The company associated with the address.</p>
<p>country</p>
<p>Deprecated: false</p>
<p></p>
<p>The country associated with the address.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email associated with the form.</p>
<p>errors</p>
<p>Deprecated: false</p>
<p></p>
<p>Any errors from the form.</p>
<p>first_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first name associated with the customer or address.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the form.</p>
<p>last_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The last name associated with the customer or address.</p>
<p>message</p>
<p>Deprecated: false</p>
<p></p>
<p>The personalized message intended for the recipient.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The nickname of the gift card recipient.</p>
<p>password_needed</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true`.</p>
<p>phone</p>
<p>Deprecated: false</p>
<p></p>
<p>The phone number associated with the address.</p>
<p>posted_successfully?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the form was submitted successfully. Returns `false` if there were errors.</p>
<p>province</p>
<p>Deprecated: false</p>
<p></p>
<p>The province associated with the address.</p>
<p>set_as_default_checkbox</p>
<p>Deprecated: false</p>
<p></p>
<p>Renders an HTML checkbox that can submit the address as the customer's default address.</p>
<p>zip</p>
<p>Deprecated: false</p>
<p></p>
<p>The zip or postal code associated with the address.</p>
<h4>Examples</h4>
<h3>form_errors</h3>
<p>Deprecated: false</p>
<p></p>
<p>The error category strings for errors from a form created by a [`form` tag](/docs/api/liquid/tags/form).</p>
<h4>Properties</h4>
<p>messages</p>
<p>Deprecated: false</p>
<p></p>
<p>The translated error messages for each value in the `form_errors` array.</p>
<p>translated_fields</p>
<p>Deprecated: false</p>
<p></p>
<p>The translated names for each value in the `form_errors` array.</p>
<h4>Examples</h4>
<p>
data:
You can output the name of the field related to the error, and the error message, by using the error as a key to access the `translated_fields` and `messages` properties.
```liquid
&lt;ul&gt;
{% for error in form.errors %}
&lt;li&gt;
{% if error == 'form' %}
{{ form.errors.messages[error] }}
{% else %}
{{ form.errors.translated_fields[error] }} - {{ form.errors.messages[error] }}
{% endif %}
&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;
```
</p>
<p>
code:
</p>
<h3>fulfillment</h3>
<p>Deprecated: false</p>
<p>An order [fulfillment](https://help.shopify.com/manual/orders/fulfillment), which includes information like the line items
being fulfilled and shipment tracking.</p>
<h4>Properties</h4>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the fulfillment was created.</p>
<p>fulfillment_line_items</p>
<p>Deprecated: false</p>
<p></p>
<p>The line items in the fulfillment.</p>
<p>item_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items in the fulfillment.</p>
<p>tracking_company</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the fulfillment service.</p>
<p>tracking_number</p>
<p>Deprecated: false</p>
<p></p>
<p>The fulfillment's tracking number.</p>
<p>tracking_numbers</p>
<p>Deprecated: false</p>
<p></p>
<p>An array of the fulfillment's tracking numbers.</p>
<p>tracking_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the fulfillment's tracking number.</p>
<h4>Examples</h4>
<h3>generic_file</h3>
<p>Deprecated: false</p>
<p>A file from a `file_reference` type [metafield](/docs/api/liquid/objects/metafield) that is neither an image or video.</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the media.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the file.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The media type of the model. Always returns `generic_file`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the media in the [`product.media` array](/docs/api/liquid/objects/product#product-media).</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image for the file.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [CDN URL](/themes/best-practices/performance/platform#shopify-cdn) for the file.</p>
<h4>Examples</h4>
<h3>gift_card</h3>
<p>Deprecated: false</p>
<p>A [gift card](https://help.shopify.com/manual/products/gift-card-products) that's been issued to a customer or a recipient.</p>
<h4>Properties</h4>
<p>balance</p>
<p>Deprecated: false</p>
<p></p>
<p>The remaining balance of the gift card in the currency's subunit.</p>
<p>code</p>
<p>Deprecated: false</p>
<p></p>
<p>The code used to redeem the gift card.</p>
<p>currency</p>
<p>Deprecated: false</p>
<p></p>
<p>The [ISO code](https://www.iso.org/iso-4217-currency-codes.html) of the currency that the gift card was issued in.</p>
<p>customer</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer associated with the gift card.</p>
<p>enabled</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the gift card is enabled. Returns `false` if not.</p>
<p>expired</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the gift card is expired. Returns `false` if not.</p>
<p>expires_on</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the gift card expires.</p>
<p>initial_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The initial balance of the gift card in the currency's subunit.</p>
<p>last_four_characters</p>
<p>Deprecated: false</p>
<p></p>
<p>The last 4 characters of the code used to redeem the gift card.</p>
<p>message</p>
<p>Deprecated: false</p>
<p></p>
<p>The personalized message intended for the recipient.</p>
<p>pass_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL to download the gift card as an Apple Wallet Pass.</p>
<p>product</p>
<p>Deprecated: false</p>
<p></p>
<p>The product associated with the gift card.</p>
<p>properties</p>
<p>Deprecated: false</p>
<p></p>
<p>The [line item properties](/docs/api/liquid/objects/line_item#line_item-properties) assigned to the gift card.</p>
<p>qr_identifier</p>
<p>Deprecated: false</p>
<p></p>
<p>A string used to generate a QR code for the gift card.</p>
<p>recipient</p>
<p>Deprecated: false</p>
<p></p>
<p>The recipient associated with the gift card.</p>
<p>send_on</p>
<p>Deprecated: false</p>
<p></p>
<p>The scheduled date on which the gift card will be sent to the recipient.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) assigned to the gift card.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL to view the gift card. This URL is on the `checkout.shopify.com` domain.</p>
<h4>Examples</h4>
<h3>group</h3>
<p>Deprecated: false</p>
<p>A group of rules for the `robots.txt` file.</p>
<h4>Properties</h4>
<p>rules</p>
<p>Deprecated: false</p>
<p></p>
<p>The rules in the group.</p>
<p>sitemap</p>
<p>Deprecated: false</p>
<p></p>
<p>The sitemap for the group.</p>
<p>user_agent</p>
<p>Deprecated: false</p>
<p></p>
<p>The user agent for the group.</p>
<h4>Examples</h4>
<h3>handle</h3>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the resource associated with the current template.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>image</h3>
<p>Deprecated: false</p>
<p></p>
<p>An image, such as a product or collection image.</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the image.</p>
<p>aspect_ratio</p>
<p>Deprecated: false</p>
<p></p>
<p>The aspect ratio of the image as a decimal.</p>
<p>attached_to_variant?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the image is associated with a variant. Returns `false` if not.</p>
<p>height</p>
<p>Deprecated: false</p>
<p></p>
<p>The height of the image in pixels.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the image.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The media type of the image. Always returns `image`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the image in the [`product.images`](/docs/api/liquid/objects/product#product-images) or [`product.media`](/docs/api/liquid/objects/product#product-media)
array.</p>
<p>presentation</p>
<p>Deprecated: false</p>
<p></p>
<p>The presentation settings for the image.</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image for the image.</p>
<p>product_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the product that the image is associated with.</p>
<p>src</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the image.</p>
<p>variants</p>
<p>Deprecated: false</p>
<p></p>
<p>The product variants that the image is associated with.</p>
<p>width</p>
<p>Deprecated: false</p>
<p></p>
<p>The width of the image in pixels.</p>
<h4>Examples</h4>
<p>
data:
When an `image` object is referenced directly, the image's relative URL path is returned.
</p>
<p>
code:
{{ product.featured_image }}
</p>
<h3>image_presentation</h3>
<p>Deprecated: false</p>
<p>The presentation settings for an image.</p>
<h4>Properties</h4>
<p>focal_point</p>
<p>Deprecated: false</p>
<p></p>
<p>The focal point for the image.</p>
<h4>Examples</h4>
<h3>images</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the [images](/docs/api/liquid/objects/image) that have been [uploaded](https://help.shopify.com/manual/online-store/images/theme-images#upload-images)
to a store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can access images from the `images` array by their filename.
</p>
<p>
code:
{{ images['potions-header.png'] | image_url: width: 300 | image_tag }}
</p>
<h3>line_item</h3>
<p>Deprecated: false</p>
<p>A line in a cart, checkout, or order. Each line item represents a product variant.</p>
<h4>Properties</h4>
<p>discount_allocations</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount allocations that apply to the line item.</p>
<p>discounts</p>
<p>Deprecated: true</p>
<p></p>
<p>The discounts applied to the line item.</p>
<p>error_message</p>
<p>Deprecated: false</p>
<p></p>
<p>An informational error message about the status of the line item in the buyer's chosen language.</p>
<p>final_line_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The combined price, in the currency's subunit, of all of the items in the line item. This includes any line-level discounts.</p>
<p>final_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the line item in the currency's subunit. This includes any line-level discounts.</p>
<p>fulfillment</p>
<p>Deprecated: false</p>
<p></p>
<p>The fulfillment of the line item.</p>
<p>fulfillment_service</p>
<p>Deprecated: false</p>
<p></p>
<p>The [fulfillment service](https://help.shopify.com/manual/shipping/understanding-shipping/dropshipping-and-fulfillment-services)
for the vartiant associated with the line item. If there's no fulfillment service, then `manual` is returned.</p>
<p>gift_card</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the product associated with the line item is a gift card. Returns `false` if not.</p>
<p>grams</p>
<p>Deprecated: false</p>
<p></p>
<p>The weight of the line item in the store's [default weight unit](https://help.shopify.com/manual/intro-to-shopify/initial-setup/setup-business-settings#set-or-change-your-stores-default-weight-unit).</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the line item.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The image of the line item.</p>
<p>item_components</p>
<p>Deprecated: false</p>
<p></p>
<p>The components of a line item.</p>
<p>key</p>
<p>Deprecated: false</p>
<p></p>
<p>The key of the line item.</p>
<p>line_level_discount_allocations</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount allocations that apply directly to the line item.</p>
<p>line_level_total_discount</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of any discounts applied to the line item in the currency's subunit.</p>
<p>line_price</p>
<p>Deprecated: true</p>
<p></p>
<p>The combined price, in the currency's subunit, of all of the items in a line item. This includes any discounts from [Shopify Scripts](https://help.shopify.com/manual/checkout-settings/script-editor).</p>
<p>message</p>
<p>Deprecated: false</p>
<p></p>
<p>Information about the discounts that have affected the line item.</p>
<p>options_with_values</p>
<p>Deprecated: false</p>
<p></p>
<p>The name and value pairs for each option of the variant associated with the line item.</p>
<p>original_line_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The combined price of all of the items in a line item in the currency's subunit, before any discounts have been applied.</p>
<p>original_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the line item in the currency's subunit, before discounts have been applied.</p>
<p>price</p>
<p>Deprecated: true</p>
<p></p>
<p>The price of the line item in the currency's subunit. This includes any discounts from [Shopify Scripts](https://help.shopify.com/manual/checkout-settings/script-editor).</p>
<p>product</p>
<p>Deprecated: false</p>
<p></p>
<p>The product associated with the line item.</p>
<p>product_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The [ID](/docs/api/liquid/objects/product#product-id) of the line item's product.</p>
<p>properties</p>
<p>Deprecated: false</p>
<p></p>
<p>The properties of the line item.</p>
<p>quantity</p>
<p>Deprecated: false</p>
<p></p>
<p>The quantity of the line item.</p>
<p>requires_shipping</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant associated with the line item requires shipping. Returns `false` if not.</p>
<p>selling_plan_allocation</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan allocation of the line item. If the line item doesn't have a selling plan allocation, then `nil` is returned.</p>
<p>sku</p>
<p>Deprecated: false</p>
<p></p>
<p>The [sku](/docs/api/liquid/objects/variant#variant-sku) of the variant associated with the line item.</p>
<p>successfully_fulfilled_quantity</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items from the line item that have been successfully fulfilled.</p>
<p>tax_lines</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax lines for the line item.</p>
<p>taxable</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if taxes should be charged on the line item. Returns `false` if not.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the line item. The title is a combination of `line_item.product.title` and `line_item.variant.title`, separated
by a hyphen.</p>
<p>total_discount</p>
<p>Deprecated: true</p>
<p></p>
<p>The total amount, in the currency's subunit, of any discounts applied to the line item by [Shopify Scripts](https://help.shopify.com/manual/checkout-settings/script-editor).</p>
<p>unit_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The [unit price](https://help.shopify.com/manual/products/details/product-pricing/unit-pricing#add-unit-prices-to-your-product)
of the line item in the currency's subunit.</p>
<p>unit_price_measurement</p>
<p>Deprecated: false</p>
<p></p>
<p>The unit price measurement of the line item.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the variant associated with the line item.</p>
<p>url_to_remove</p>
<p>Deprecated: false</p>
<p></p>
<p>A URL to remove the line item from the cart.</p>
<p>variant</p>
<p>Deprecated: false</p>
<p></p>
<p>The variant associated with the line item.</p>
<p>variant_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The [ID](/docs/api/liquid/objects/variant#variant-id) of the line item's variant.</p>
<p>vendor</p>
<p>Deprecated: false</p>
<p></p>
<p>The vendor of the variant associated with the line item.</p>
<h4>Examples</h4>
<h3>link</h3>
<p>Deprecated: false</p>
<p>A link in a [menu](https://help.shopify.com/manual/online-store/menus-and-links/drop-down-menus).</p>
<h4>Properties</h4>
<p>active</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the link is active. Returns `false` if not.</p>
<p>child_active</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if a link's child link is active. Returns `false` if not.</p>
<p>child_current</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if current URL path matches a link's child link [URL](/docs/api/liquid/objects/link#link-url). Returns `false` if not.</p>
<p>current</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current URL path matches the [URL](/docs/api/liquid/objects/link#link-url) of the link. Returns `false` if not.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the link.</p>
<p>levels</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of nested levels under the link.</p>
<p>links</p>
<p>Deprecated: false</p>
<p></p>
<p>The child links of the link.</p>
<p>object</p>
<p>Deprecated: false</p>
<p></p>
<p>The object associated with the link.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the link.</p>
<p>type</p>
<p>Deprecated: false</p>
<p>article_link</p>
<p>blog_link</p>
<p>catalog_link</p>
<p>collection_link</p>
<p>collections_link</p>
<p>customer_account_page_link</p>
<p>frontpage_link</p>
<p>http_link</p>
<p>metaobject_link</p>
<p>page_link</p>
<p>policy_link</p>
<p>product_link</p>
<p>search_link</p>
<p>The type of the link.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL of the link.</p>
<h4>Examples</h4>
<h3>linklist</h3>
<p>Deprecated: false</p>
<p>A [menu](https://help.shopify.com/manual/online-store/menus-and-links/drop-down-menus) in a store.</p>
<h4>Properties</h4>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the menu.</p>
<p>levels</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of nested levels in the menu.</p>
<p>links</p>
<p>Deprecated: false</p>
<p></p>
<p>The links in the menu.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the menu.</p>
<h4>Examples</h4>
<h3>linklists</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the [menus](https://help.shopify.com/manual/online-store/menus-and-links/drop-down-menus) in a store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can access a specific menu through the `linklists` object using the menu's [handle](/docs/api/liquid/basics#handles).
</p>
<p>
code:
&lt;!-- Main menu --&gt;
{% for link in linklists.main-menu.links -%}
{{ link.title | link_to: link.url }}
{%- endfor %}
&lt;!-- Footer menu --&gt;
{% for link in linklists['footer'].links -%}
{{ link.title | link_to: link.url }}
{%- endfor %}
</p>
<h3>localization</h3>
<p>Deprecated: false</p>
<p>Information about the countries and languages that are available on a store.</p>
<h4>Properties</h4>
<p>available_countries</p>
<p>Deprecated: false</p>
<p></p>
<p>The countries that are available on the store.</p>
<p>available_languages</p>
<p>Deprecated: false</p>
<p></p>
<p>The languages that are available on the store.</p>
<p>country</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected country on the storefront.</p>
<p>language</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected language on the storefront.</p>
<p>market</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected market on the storefront.</p>
<h4>Examples</h4>
<h3>location</h3>
<p>Deprecated: false</p>
<p>A store [location](https://help.shopify.com/manual/locations).</p>
<h4>Properties</h4>
<p>address</p>
<p>Deprecated: false</p>
<p></p>
<p>The location's address.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The location's ID.</p>
<p>latitude</p>
<p>Deprecated: false</p>
<p></p>
<p>The latitude of the location's address.</p>
<p>longitude</p>
<p>Deprecated: false</p>
<p></p>
<p>The longitude of the location's address.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the location.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The location's name.</p>
<h4>Examples</h4>
<h3>market</h3>
<p>Deprecated: false</p>
<p>A group of one or more regions of the world that a merchant is targeting for sales.</p>
<h4>Properties</h4>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the market.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the market.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the market.</p>
<h4>Examples</h4>
<h3>measurement</h3>
<p>Deprecated: false</p>
<p>A measurement from one of the following metafield types:
- `dimension`
- `volume`
- `weight`</p>
<h4>Properties</h4>
<p>type</p>
<p>Deprecated: false</p>
<p>dimension</p>
<p>volume</p>
<p>weight</p>
<p>The measurement type.</p>
<p>unit</p>
<p>Deprecated: false</p>
<p></p>
<p>The measurement unit.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The measurement value.</p>
<h4>Examples</h4>
<h3>media</h3>
<p>Deprecated: false</p>
<p>An abstract media object that can represent the following object types:
- [`image`](/docs/api/liquid/objects/image)
- [`model`](/docs/api/liquid/objects/model)
- [`video`](/docs/api/liquid/objects/video)
- [`external_video`](/docs/api/liquid/objects/external_video)</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the media.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the media.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p>image</p>
<p>model</p>
<p>video</p>
<p>external_video</p>
<p>The media type.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the media in the [`product.media` array](/docs/api/liquid/objects/product#product-media).</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image of the media.</p>
<h4>Examples</h4>
<h3>metafield</h3>
<p>Deprecated: false</p>
<p>A [metafield](/apps/metafields) attached to a parent object.</p>
<h4>Properties</h4>
<p>list?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the metafield is a list type. Returns `false` if not.</p>
<p>type</p>
<p>Deprecated: false</p>
<p>single_line_text_field</p>
<p>multi_line_text_field</p>
<p>rich_text_field</p>
<p>product_reference</p>
<p>collection_reference</p>
<p>variant_reference</p>
<p>page_reference</p>
<p>file_reference</p>
<p>number_integer</p>
<p>number_decimal</p>
<p>date</p>
<p>date_time</p>
<p>url_reference</p>
<p>json</p>
<p>boolean</p>
<p>color</p>
<p>weight</p>
<p>volume</p>
<p>dimension</p>
<p>rating</p>
<p>money</p>
<p>The [type](/apps/metafields/types) of the metafield.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the metafield.</p>
<h4>Examples</h4>
<p>
data:
The access path for metafields consists of two layers:
- namespace - A grouping of metafields to prevent conflicts.
- key - The metafield name.
Given this, you can access the metafield object with the following syntax:
```liquid
{{ resource.metafields.namespace.key }}
```
</p>
<p>
code:
Type: {{ product.metafields.information.directions.type }}
Value: {{ product.metafields.information.directions.value }}
</p>
<p>
data:
The `value` property of metafields of type `json` returns a [JSON object](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON). You can access the properties of this object directly in Liquid, either by name or 0-based index. You can also iterate through the properties.
</p>
<p>
code:
Temperature: {{ product.metafields.information.burn_temperature.value.temperature }}
Unit: {{ product.metafields.information.burn_temperature.value['unit'] }}
{% for property in product.metafields.information.burn_temperature.value -%}
{{ property.first | capitalize }}: {{ property.last }}
{%- endfor %}
</p>
<p>
data:
The `value` property of metafields of type `list` returns an array. You can iterate through the array to access the values.
</p>
<p>
code:
{% for item in product.metafields.information.combine_with.value -%}
{{ item.product.title }}
{%- endfor %}
</p>
<p>
data:
&lt;br&gt;&lt;br&gt; If the list is of type `single_line_text_field`, then you can access the items in the array directly in Liquid using a 0-based index.
</p>
<p>
code:
First item in list: {{ product.metafields.information.pickup_locations.value[0] }}
Last item in list: {{ product.metafields.information.pickup_locations.value.last }}
</p>
<p>
data:
The way that you determine the length of a list metafield depends on its type:
- **[Reference types](/docs/apps/custom-data/metafields/types#reference-types)**: Use the `count` property to determine the list length.
- **Non-reference types**: These lists are rendered as arrays. Use the [`size`](/docs/api/liquid/filters/size) filter to determine the number of items in the array.
</p>
<p>
code:
# list.product_reference
Number of similar products: {{ product.metafields.information.similar_products.value.count }}
# list.single_line_text_field
Number of pickup locations: {{ product.metafields.information.pickup_locations.value.size }}
</p>
<p>
data:
Deprecated metafields are older metafield types with limited functionality. The following metafield types are deprecated:
- `integer`
- `json_string`
- `string`
These metafield types don't have the same metafield object properties mentioned in the previous sections. Instead, they return the metafield value directly.
The following table outlines the value type for each deprecated metafield type:
| Metafield type | Value type |
| --- | --- |
| `integer` | [An integer](/docs/api/liquid/basics#number) |
| `json_string` | [A JSON object](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON) |
| `string` | [A string](/docs/api/liquid/basics#string) |
</p>
<p>
code:
</p>
<h3>metaobject</h3>
<p>Deprecated: false</p>
<p>A metaobject entry, which includes the values for a set of [fields](/docs/api/liquid/objects#metafield).
The set is defined by the parent [`metaobject_definition`](/docs/api/liquid/objects#metaobject_definition).</p>
<h4>Properties</h4>
<p>system</p>
<p>Deprecated: false</p>
<p></p>
<p>Basic information about the metaobject. These properties are grouped under the `system` object to avoid collisions between system property names and user-defined metaobject fields.</p>
<h4>Examples</h4>
<p>
data:
The access path for a metaobject consists of two layers:
- type - The type of the parent metaobject definition.
- handle - The unique [handle](/docs/api/liquid/basics#handles) of the metaobject.
Given this, you can access a metaobject with the following syntax:
```liquid
{{ metaobjects.type.handle }}
```
You can also use square bracket notation:
```liquid
{{ metaobjects['type']['handle'] }}
```
A metaobjects's field values can be accessed using the key of the desired field:
```liquid
{{ metaobjects.testimonials.homepage.title }}
{{ metaobjects['highlights']['washable'].image.value }}
```
&gt; Note:
&gt; When the [`publishable` capability](/apps/data-extensions/metaobjects/capabilities) is enabled, a metaobject can only be accessed if its status is `active`. If its status is `draft`, then the return value is `nil`.
</p>
<p>
code:
</p>
<p>
data:
Within a metaobject template, the `metaobject` Liquid object represents the metaobject drop being rendered by the template. You can access it directly as `{{ metaobject }}`.
Here's a basic example of accessing a field within the associated metaobject template:
```liquid
{{ metaobject.title.value }}
```
In this example, replace `title` with the key of the field you want to access. This will output the value of that field for the current metaobject.
</p>
<p>
code:
</p>
<h3>metaobject_definition</h3>
<p>Deprecated: false</p>
<p>A `metaobject_definition` defines the structure of a metaobject type for the store, which consists of
a merchant-defined set of [field definitions](https://help.shopify.com/en/manual/metafields/metafield-definitions).</p>
<h4>Properties</h4>
<p>values</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metaobjects](/docs/api/liquid/objects#metaobject) that follow the definition.</p>
<p>values_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of entries for the metaobject definition.</p>
<h4>Examples</h4>
<p>
data:
If a metaobject definition has multiple metaobject entries, then you can loop over them using the `values` property.
You can loop over a maximum of 50 entries in a metaobject definition.
For example, you can display the field `author` for each metaobject using the following `forloop`:
```liquid
{% for testimonial in metaobjects.testimonials.values %}
{{ testimonial.author.value }}
{% endfor %}
```
&gt; Note:
&gt; When the [`publishable` capability](/apps/data-extensions/metaobjects/capabilities) is enabled, loops return only metaobjects with a status of `active`. Metaobjects with a status of `draft` are skipped.
</p>
<p>
code:
</p>
<h3>metaobject_system</h3>
<p>Deprecated: false</p>
<p>Basic information about a [`metaobject`](/api/liquid/objects#metaobject). These properties are grouped under the `system` object to avoid collisions between system property names and user-defined metaobject fields.</p>
<h4>Properties</h4>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The unique [handle](/api/liquid/basics#handles) of the metaobject.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the metaobject.</p>
<p>type</p>
<p>Deprecated: false</p>
<p></p>
<p>The type of the metaobject definition.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the metaobject.</p>
<h4>Examples</h4>
<p>
data:
You can access the `metaobject_system` object and its properties through the metaobject's `system` property. You can use the following syntax:
```liquid
{{ metaobjects.testimonials["home_page"].system.id }}
```
You can also access `metaobject_system` properties when iterating over a list of metaobjects:
```liquid
{% for metaobject in product.metafields.custom.mixed_metaobject_list.value %}
{% if metaobject.system.type == "testimonial" %}
{% render 'testimonial' with metaobject as testimonial %}
{% else %}
{{ metaobject.system.handle }}
{% endif %}
{% endfor %}
```
</p>
<p>
code:
</p>
<h3>metaobjects</h3>
<p>Deprecated: false</p>
<p>All of the [metaobjects](/docs/api/liquid/objects/metaobject) of the store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>model</h3>
<p>Deprecated: false</p>
<p>A 3D model uploaded as product media.</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the model.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the model.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The media type of the model. Always returns `model`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the model in the [`product.media`](/docs/api/liquid/objects/product#product-media) array.</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image for the model.</p>
<p>sources</p>
<p>Deprecated: false</p>
<p></p>
<p>The source files for the model.</p>
<h4>Examples</h4>
<h3>model_source</h3>
<p>Deprecated: false</p>
<p>A model source file.</p>
<h4>Properties</h4>
<p>format</p>
<p>Deprecated: false</p>
<p></p>
<p>The format of the model source file.</p>
<p>mime_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the model source file.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [CDN URL](/themes/best-practices/performance/platform#shopify-cdn) of the model source file.</p>
<h4>Examples</h4>
<h3>money</h3>
<p>Deprecated: false</p>
<p>A money value, in the the customer's local (presentment) currency.</p>
<h4>Properties</h4>
<p>currency</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer's local (presentment) currency.</p>
<h4>Examples</h4>
<p>
data:
When a money object is referenced directly, the money value in cents is returned.
</p>
<p>
code:
{{ product.metafields.details.price_per_100g.value }}
</p>
<h3>order</h3>
<p>Deprecated: false</p>
<p>An [order](https://help.shopify.com/manual/orders).</p>
<h4>Properties</h4>
<p>attributes</p>
<p>Deprecated: false</p>
<p></p>
<p>The attributes on the order.</p>
<p>billing_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The billing address of the order.</p>
<p>cancel_reason</p>
<p>Deprecated: false</p>
<p>customer</p>
<p>declined</p>
<p>fraud</p>
<p>inventory</p>
<p>staff</p>
<p>other</p>
<p>The reason that the order was cancelled.</p>
<p>cancel_reason_label</p>
<p>Deprecated: false</p>
<p></p>
<p>The localized version of the [cancellation reason](/docs/api/liquid/objects/order#order-cancel_reason) for the order.</p>
<p>cancelled</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the order was cancelled. Returns `false` if not.</p>
<p>cancelled_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the order was cancelled.</p>
<p>cart_level_discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount applications that apply at the order level.</p>
<p>confirmation_number</p>
<p>Deprecated: false</p>
<p></p>
<p>A randomly generated alpha-numeric identifier for the order that may be shown to the customer
instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ".
This value isn't guaranteed to be unique.</p>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the order was created.</p>
<p>customer</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer that placed the order.</p>
<p>customer_order_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the new order details page.</p>
<p>customer_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the customer to view the order in their account.</p>
<p>discount_applications</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the discount applications for the order and its line items.</p>
<p>discounts</p>
<p>Deprecated: true</p>
<p></p>
<p>The discounts on the order.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email that's associated with the order.</p>
<p>financial_status</p>
<p>Deprecated: false</p>
<p>authorized</p>
<p>expired</p>
<p>paid</p>
<p>partially_paid</p>
<p>partially_refunded</p>
<p>pending</p>
<p>refunded</p>
<p>unpaid</p>
<p>voided</p>
<p>The order's financial status.</p>
<p>financial_status_label</p>
<p>Deprecated: false</p>
<p>The localized version of the [financial status](/docs/api/liquid/objects/order#order-financial_status) of the order.</p>
<p>fulfillment_status</p>
<p>Deprecated: false</p>
<p></p>
<p>The fulfillment status of the order.</p>
<p>fulfillment_status_label</p>
<p>Deprecated: false</p>
<p>complete</p>
<p>fulfilled</p>
<p>partial</p>
<p>restocked</p>
<p>unfulfilled</p>
<p>The localized version of the [fulfillment status](/docs/api/liquid/objects/order#order-fulfillment_status) of the order.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the order.</p>
<p>item_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items in the order.</p>
<p>line_items</p>
<p>Deprecated: false</p>
<p></p>
<p>The line items in the order.</p>
<p>line_items_subtotal_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The sum of the prices of all of the line items in the order in the currency's subunit, after any line item discounts have
been applied.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the order.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the order.</p>
<p>note</p>
<p>Deprecated: false</p>
<p></p>
<p>The note on the order.</p>
<p>order_number</p>
<p>Deprecated: false</p>
<p></p>
<p>The integer representation of the order [name](/docs/api/liquid/objects/order#order-name).</p>
<p>order_status_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the [**Order status** page](https://help.shopify.com/manual/orders/status-tracking) for the order.</p>
<p>phone</p>
<p>Deprecated: false</p>
<p></p>
<p>The phone number associated with the order.</p>
<p>pickup_in_store?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the order is a store pickup order.</p>
<p>shipping_address</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping address of the order.</p>
<p>shipping_methods</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping methods for the order.</p>
<p>shipping_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping price of the order in the currency's subunit.</p>
<p>subtotal_line_items</p>
<p>Deprecated: false</p>
<p></p>
<p>The non-tip line items in the order.</p>
<p>subtotal_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The sum of the prices of the [subtotal line items](/docs/api/liquid/objects/order#order-subtotal_line_items) in the currency's subunit, after any line item or
cart discounts have been applied.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>The [tags](https://help.shopify.com/manual/shopify-admin/productivity-tools/using-tags) on the order.</p>
<p>tax_lines</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax lines on the order.</p>
<p>tax_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of taxes applied to the order in the currency's subunit.</p>
<p>total_discounts</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount of all discounts applied to the order in the currency's subunit.</p>
<p>total_duties</p>
<p>Deprecated: false</p>
<p></p>
<p>The sum of all duties applied to the line items in the order in the currency's subunit.</p>
<p>total_net_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The net amount of the order in the currency's subunit.</p>
<p>total_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The total price of the order in the currency's subunit.</p>
<p>total_refunded_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The total amount that's been refunded from the order in the currency's subunit.</p>
<p>transactions</p>
<p>Deprecated: false</p>
<p></p>
<p>The transactions of the order.</p>
<h4>Examples</h4>
<h3>page</h3>
<p>Deprecated: false</p>
<p>A [page](https://help.shopify.com/manual/online-store/themes/theme-structure/pages) on a store.</p>
<h4>Properties</h4>
<p>author</p>
<p>Deprecated: false</p>
<p></p>
<p>The author of the page.</p>
<p>content</p>
<p>Deprecated: false</p>
<p></p>
<p>The content of the page.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the page.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the page.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the page.</p>
<p>published_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the page was published.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) assigned to the page.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the page.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the page.</p>
<h4>Examples</h4>
<h3>page_description</h3>
<p>Deprecated: false</p>
<p></p>
<p>The meta description of the current page.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>page_image</h3>
<p>Deprecated: false</p>
<p></p>
<p>An image to be shown in search engine listings and social media previews for the current page.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>page_title</h3>
<p>Deprecated: false</p>
<p></p>
<p>The page title of the current page.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<h3>pages</h3>
<p>Deprecated: false</p>
<p></p>
<p>All of the [pages](/docs/api/liquid/objects/page) on a store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
You can access a specific page through the `pages` object using the page's [handle](/docs/api/liquid/basics#handles).
</p>
<p>
code:
{{ pages.contact.title }}
{{ pages['about-us'].title }}
</p>
<p>
data:
You can [paginate](/docs/api/liquid/tags/paginate) the `pages` object, allowing you to iterate over up to 50 pages at a time.
</p>
<p>
code:
{% paginate pages by 2 -%}
{% for page in pages -%}
{{ page.title | link_to: page.url }}
{%- endfor %}
{{- paginate | default_pagination }}
{%- endpaginate %}
</p>
<h3>paginate</h3>
<p>Deprecated: false</p>
<p>Information about the pagination inside a set of [`paginate` tags](/docs/api/liquid/tags/paginate).</p>
<h4>Properties</h4>
<p>current_offset</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of items on pages previous to the current page.</p>
<p>current_page</p>
<p>Deprecated: false</p>
<p></p>
<p>The page number of the current page.</p>
<p>items</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of items to be paginated.</p>
<p>next</p>
<p>Deprecated: false</p>
<p></p>
<p>The pagination part to go to the next page.</p>
<p>page_param</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL parameter denoting the pagination.</p>
<p>page_size</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of items displayed per page.</p>
<p>pages</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of pages.</p>
<p>parts</p>
<p>Deprecated: false</p>
<p></p>
<p>The pagination parts.</p>
<p>previous</p>
<p>Deprecated: false</p>
<p></p>
<p>The pagination part to go to the previous page.</p>
<h4>Examples</h4>
<h3>part</h3>
<p>Deprecated: false</p>
<p>A part in the navigation for pagination.</p>
<h4>Properties</h4>
<p>is_link</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the part is a link. Returns `false` if not.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The page number associated with the part.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL of the part.</p>
<h4>Examples</h4>
<p>
data:
You can create a pagination navigation by iterating over each `part` of a [`paginate` object](/docs/api/liquid/objects/paginate).
</p>
<p>
code:
{% paginate collection.products by 5 -%}
{% for part in paginate.parts -%}
{% if part.is_link -%}
{{ part.title | link_to: part.url}}
{%- else -%}
&lt;span&gt;{{ part.title }}&lt;/span&gt;
{% endif %}
{%- endfor %}
{%- endpaginate %}
</p>
<h3>pending_payment_instruction_input</h3>
<p>Deprecated: false</p>
<p>Header-value pairs that make up the list of payment information specific to the payment method.
This information can be be used by the customer to complete the transaction offline.</p>
<h4>Properties</h4>
<p>header</p>
<p>Deprecated: false</p>
<p></p>
<p>The header of the payment instruction.
These are payment method-specific. Example: "Entity" and "Reference" for Multibanco</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>Contains the corresponding values to the headers of the payment instruction.</p>
<h4>Examples</h4>
<h3>policy</h3>
<p>Deprecated: false</p>
<p>A [store policy](https://help.shopify.com/manual/checkout-settings/refund-privacy-tos), such as a privacy or return policy.</p>
<h4>Properties</h4>
<p>body</p>
<p>Deprecated: false</p>
<p></p>
<p>The content of the policy.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the policy.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the policy.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the policy.</p>
<h4>Examples</h4>
<h3>powered_by_link</h3>
<p>Deprecated: false</p>
<p>Creates an HTML link element that links to a localized version of `shopify.com`, based on the locale of the store.</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{{ powered_by_link }}
</p>
<h3>predictive_search</h3>
<p>Deprecated: false</p>
<p>Information about the results from a predictive search query through the
[Predictive Search API](/api/ajax/reference/predictive-search#get-locale-search-suggest).</p>
<h4>Properties</h4>
<p>performed</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` when being referenced inside a section that's been rendered using the Predictive Search API and
the Section Rendering API. Returns `false` if not.</p>
<p>resources</p>
<p>Deprecated: false</p>
<p></p>
<p>The resources associated with the query.</p>
<p>terms</p>
<p>Deprecated: false</p>
<p></p>
<p>The entered search terms.</p>
<p>types</p>
<p>Deprecated: false</p>
<p></p>
<p>The object types that the search was performed on.</p>
<h4>Examples</h4>
<h3>predictive_search_resources</h3>
<p>Deprecated: false</p>
<p>Contains arrays of objects for each resource type that can be returned by a [predictive search query](/api/ajax/reference/predictive-search#get-locale-search-suggest).</p>
<h4>Properties</h4>
<p>articles</p>
<p>Deprecated: false</p>
<p></p>
<p>The articles associated with the query.</p>
<p>collections</p>
<p>Deprecated: false</p>
<p></p>
<p>The collections associated with the query.</p>
<p>pages</p>
<p>Deprecated: false</p>
<p></p>
<p>The pages associated with the query.</p>
<p>products</p>
<p>Deprecated: false</p>
<p></p>
<p>The products associated with the query.</p>
<h4>Examples</h4>
<h3>product</h3>
<p>Deprecated: false</p>
<p>A [product](https://help.shopify.com/manual/products) in the store.</p>
<h4>Properties</h4>
<p>available</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if at least one of the variants of the product is available. Returns `false` if not.</p>
<p>category</p>
<p>Deprecated: false</p>
<p></p>
<p>The taxonomy category for the product</p>
<p>collections</p>
<p>Deprecated: false</p>
<p></p>
<p>The collections that the product belongs to.</p>
<p>compare_at_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The lowest **compare at** price of any variants of the product in the currency's subunit.</p>
<p>compare_at_price_max</p>
<p>Deprecated: false</p>
<p></p>
<p>The highest **compare at** price of any variants of the product in the currency's subunit.</p>
<p>compare_at_price_min</p>
<p>Deprecated: false</p>
<p></p>
<p>The lowest **compare at** price of any variants of the product in the currency's subunit. This is the same as
`product.compare_at_price`.</p>
<p>compare_at_price_varies</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant **compare at** prices of the product vary. Returns `false` if not.</p>
<p>content</p>
<p>Deprecated: false</p>
<p></p>
<p>The description of the product.</p>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the product was created.</p>
<p>description</p>
<p>Deprecated: false</p>
<p></p>
<p>The description of the product.</p>
<p>featured_image</p>
<p>Deprecated: false</p>
<p></p>
<p>The first (featured) image attached to the product.</p>
<p>featured_media</p>
<p>Deprecated: false</p>
<p></p>
<p>The first (featured) media attached to the product.</p>
<p>first_available_variant</p>
<p>Deprecated: false</p>
<p></p>
<p>The first available variant of the product.</p>
<p>gift_card?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the product is a gift card. Returns `false` if not.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the product.</p>
<p>has_only_default_variant</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the product doesn't have any options. Returns `false` if not.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the product.</p>
<p>images</p>
<p>Deprecated: false</p>
<p></p>
<p>The images attached to the product.</p>
<p>media</p>
<p>Deprecated: false</p>
<p></p>
<p>The media attached to the product, sorted by the date it was added to the product.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the product.</p>
<p>options</p>
<p>Deprecated: false</p>
<p></p>
<p>The option names of the product.</p>
<p>options_by_name</p>
<p>Deprecated: false</p>
<p></p>
<p>Allows you to access a specific [product option](/docs/api/liquid/objects/product_option) by its name.</p>
<p>options_with_values</p>
<p>Deprecated: false</p>
<p></p>
<p>The options on the product.</p>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The lowest price of any variants of the product in the currency's subunit.</p>
<p>price_max</p>
<p>Deprecated: false</p>
<p></p>
<p>The highest price of any variants of the product in the currency's subunit.</p>
<p>price_min</p>
<p>Deprecated: false</p>
<p></p>
<p>The lowest price of any variants of the product in the currency's subunit.</p>
<p>price_varies</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the product's variant prices vary. Returns `false` if not.</p>
<p>published_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp for when the product was published.</p>
<p>quantity_price_breaks_configured?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the product has at least one variant with quantity price breaks in the current customer context.
Returns `false` if not.</p>
<p>requires_selling_plan</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if all of the variants of the product require a selling plan. Returns `false` if not.</p>
<p>selected_or_first_available_selling_plan_allocation</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected, or first available, selling plan allocation.</p>
<p>selected_or_first_available_variant</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected or first available variant of the product.</p>
<p>selected_selling_plan</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected selling plan.</p>
<p>selected_selling_plan_allocation</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected selling plan allocation for the currently selected variant.</p>
<p>selected_variant</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected variant of the product.</p>
<p>selling_plan_groups</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan groups that the variants of the product are included in.</p>
<p>tags</p>
<p>Deprecated: false</p>
<p></p>
<p>The [tags](https://help.shopify.com/manual/shopify-admin/productivity-tools/using-tags) of the product.</p>
<p>template_suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the [custom template](/themes/architecture/templates#alternate-templates) of the product.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the product.</p>
<p>type</p>
<p>Deprecated: false</p>
<p></p>
<p>The type of the product.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative URL of the product.</p>
<p>variants</p>
<p>Deprecated: false</p>
<p></p>
<p>The variants of the product.</p>
<p>variants_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of variants for the product.</p>
<p>vendor</p>
<p>Deprecated: false</p>
<p></p>
<p>The vendor of the product.</p>
<h4>Examples</h4>
<h3>product_option</h3>
<p>Deprecated: false</p>
<p>A product option, such as size or color.</p>
<h4>Properties</h4>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the product option.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the product option in the [`product.options_with_values` array](/docs/api/liquid/objects/product#product-options_with_values).</p>
<p>selected_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The currently selected product option value.</p>
<p>values</p>
<p>Deprecated: false</p>
<p></p>
<p>The possible values for the product option.</p>
<h4>Examples</h4>
<h3>product_option_value</h3>
<p>Deprecated: false</p>
<p>A product option value, such as "red" for the option "color".</p>
<h4>Properties</h4>
<p>available</p>
<p>Deprecated: false</p>
<p></p>
<p>Whether or not the option value is available.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the product option value.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the product option value.</p>
<p>product_url</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns a URL if the option value may be associated with another product, nil otherwise.</p>
<p>selected</p>
<p>Deprecated: false</p>
<p></p>
<p>Whether or not the option value is selected.</p>
<p>swatch</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns a [swatch](/docs/api/liquid/objects/swatch) drop for the product option value. If there is no saved `color` or `image` content for the swatch, then the return value is `nil`.</p>
<p>variant</p>
<p>Deprecated: false</p>
<p></p>
<p>The variant associated with this option value combined with the other currently selected option values, if one exists.</p>
<h4>Examples</h4>
<h3>quantity_price_break</h3>
<p>Deprecated: false</p>
<p>The per-unit price of a variant when purchasing the minimum quantity or more.</p>
<h4>Properties</h4>
<p>minimum_quantity</p>
<p>Deprecated: false</p>
<p></p>
<p>The minimum quantity required to qualify for the price break.</p>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price for the quantity price break once the minimum quantity is met.</p>
<h4>Examples</h4>
<h3>quantity_rule</h3>
<p>Deprecated: false</p>
<p>A variant order quantity rule.</p>
<h4>Properties</h4>
<p>increment</p>
<p>Deprecated: false</p>
<p></p>
<p>The number the order quantity can be incremented by. The default value is `1`.</p>
<p>max</p>
<p>Deprecated: false</p>
<p></p>
<p>The maximum order quantity.</p>
<p>min</p>
<p>Deprecated: false</p>
<p></p>
<p>The minimum order quantity. The default value is `1`.</p>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{{ product.variants.first.quantity_rule }}
</p>
<h3>rating</h3>
<p>Deprecated: false</p>
<p>Information for a [`rating` type](/apps/metafields/types) metafield.</p>
<h4>Properties</h4>
<p>rating</p>
<p>Deprecated: false</p>
<p></p>
<p>The rating value.</p>
<p>scale_max</p>
<p>Deprecated: false</p>
<p></p>
<p>The maximum value of the rating scale.</p>
<p>scale_min</p>
<p>Deprecated: false</p>
<p></p>
<p>The minimum value of the rating scale.</p>
<h4>Examples</h4>
<h3>recipient</h3>
<p>Deprecated: false</p>
<p>A recipient that is associated with a [gift card](https://help.shopify.com/manual/products/gift-card-products).</p>
<h4>Properties</h4>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email of the recipient.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The full name of the recipient.</p>
<p>nickname</p>
<p>Deprecated: false</p>
<p></p>
<p>The nickname of the recipient.</p>
<h4>Examples</h4>
<h3>recommendations</h3>
<p>Deprecated: false</p>
<p>Product recommendations for a specific product based on sales data, product descriptions, and collection relationships.</p>
<h4>Properties</h4>
<p>intent</p>
<p>Deprecated: false</p>
<p></p>
<p>The recommendation intent.</p>
<p>performed?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` when being referenced inside a section that's been rendered using the Product Recommendations API and
the Section Rendering API. Returns `false` if not.</p>
<p>products</p>
<p>Deprecated: false</p>
<p></p>
<p>The recommended products.</p>
<p>products_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of recommended products.</p>
<h4>Examples</h4>
<h3>request</h3>
<p>Deprecated: false</p>
<p>Information about the current URL and the associated page.</p>
<h4>Properties</h4>
<p>design_mode</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the request is being made from within the theme editor. Returns `false` if not.</p>
<p>host</p>
<p>Deprecated: false</p>
<p></p>
<p>The domain that the request is hosted on.</p>
<p>locale</p>
<p>Deprecated: false</p>
<p></p>
<p>The locale of the request.</p>
<p>origin</p>
<p>Deprecated: false</p>
<p></p>
<p>The protocol and host of the request.</p>
<p>page_type</p>
<p>Deprecated: false</p>
<p>404</p>
<p>article</p>
<p>blog</p>
<p>captcha</p>
<p>cart</p>
<p>collection</p>
<p>list-collections</p>
<p>customers/account</p>
<p>customers/activate_account</p>
<p>customers/addresses</p>
<p>customers/login</p>
<p>customers/order</p>
<p>customers/register</p>
<p>customers/reset_password</p>
<p>gift_card</p>
<p>index</p>
<p>metaobject</p>
<p>page</p>
<p>password</p>
<p>policy</p>
<p>product</p>
<p>search</p>
<p>The type of page being requested.</p>
<p>path</p>
<p>Deprecated: false</p>
<p></p>
<p>The path of the request.</p>
<p>visual_preview_mode</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the request is being made from within the theme editor's visual section preview. Returns `false` if not.</p>
<h4>Examples</h4>
<h3>robots</h3>
<p>Deprecated: false</p>
<p>The default rule groups for the `robots.txt` file.</p>
<h4>Properties</h4>
<p>default_groups</p>
<p>Deprecated: false</p>
<p></p>
<p>The rule groups.</p>
<h4>Examples</h4>
<h3>routes</h3>
<p>Deprecated: false</p>
<p>Allows you to generate standard URLs for the storefront.</p>
<h4>Properties</h4>
<p>account_addresses_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [account addresses page](/themes/architecture/templates/customers-addresses) URL. Redirects to [new customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) when enabled.</p>
<p>account_login_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [account login page](/themes/architecture/templates/customers-login) URL. Redirects to [new customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) when enabled.</p>
<p>account_logout_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL to log a customer out of their account. Redirects to [new customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) when enabled.</p>
<p>account_recover_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [password recovery page](/themes/architecture/templates/customers-reset-password) URL. Redirects to [new customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) when enabled.</p>
<p>account_register_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [account registration page](/themes/architecture/templates/customers-register) URL.</p>
<p>account_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [account page](https://help.shopify.com/manual/customers/customer-accounts) URL. Redirects to [new customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) when enabled.</p>
<p>all_products_collection_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The all-products collection page URL.</p>
<p>cart_add_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the [`/cart/add` Cart API endpoint](/api/ajax/reference/cart#post-locale-cart-add-js).</p>
<p>cart_change_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the [`/cart/change` Cart API endpoint](/api/ajax/reference/cart#post-locale-cart-change-js).</p>
<p>cart_clear_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the [`/cart/clear` Cart API endpoint](/api/ajax/reference/cart#post-locale-cart-clear-js).</p>
<p>cart_update_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the [`/cart/update` Cart API endpoint](/api/ajax/reference/cart#post-locale-cart-update-js).</p>
<p>cart_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [cart page](/themes/architecture/templates/cart) URL.</p>
<p>collections_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [collection list page](/themes/architecture/templates/list-collections) URL.</p>
<p>predictive_search_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [Predictive Search API](/api/ajax/reference/predictive-search) URL.</p>
<p>product_recommendations_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [Product Recommendations API](https://shopify.dev/api/ajax/reference/product-recommendations) URL.</p>
<p>root_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The index (home page) URL.</p>
<p>search_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [search page](/themes/architecture/templates/search) URL.</p>
<p>storefront_login_url</p>
<p>Deprecated: false</p>
<p></p>
<p>[New customer accounts](https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts) login page. Redirects to the storefront page the customer was on before visiting the login page.</p>
<h4>Examples</h4>
<h3>rule</h3>
<p>Deprecated: false</p>
<p>A rule for the `robots.txt` file, which tells crawlers which pages can, or can't, be accessed.</p>
<h4>Properties</h4>
<p>directive</p>
<p>Deprecated: false</p>
<p></p>
<p>The directive of the rule.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the rule.</p>
<h4>Examples</h4>
<h3>script</h3>
<p>Deprecated: false</p>
<p>Information about a Shopify Script.
&gt; Caution:
&gt; Shopify Scripts will be sunset on August 28, 2025. Migrate your existing scripts to [Shopify Functions](/docs/api/functions) before this date.</p>
<h4>Properties</h4>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the script.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the script.</p>
<h4>Examples</h4>
<h3>scripts</h3>
<p>Deprecated: false</p>
<p>The active scripts, of each script type, on the store.
&gt; Caution:
&gt; Shopify Scripts will be sunset on August 28, 2025. Migrate your existing scripts to [Shopify Functions](/docs/api/functions) before this date.</p>
<h4>Properties</h4>
<p>cart_calculate_line_items</p>
<p>Deprecated: false</p>
<p></p>
<p>The active line item script.</p>
<h4>Examples</h4>
<h3>search</h3>
<p>Deprecated: false</p>
<p>Information about a storefront search query.</p>
<h4>Properties</h4>
<p>default_sort_by</p>
<p>Deprecated: false</p>
<p></p>
<p>The default sort order of the search results, which is `relevance`.</p>
<p>filters</p>
<p>Deprecated: false</p>
<p></p>
<p>The filters that have been set up on the search page.</p>
<p>performed</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if a search was successfully performed. Returns `false` if not.</p>
<p>results</p>
<p>Deprecated: false</p>
<p></p>
<p>The search result items.</p>
<p>results_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of results.</p>
<p>sort_by</p>
<p>Deprecated: false</p>
<p>The sort order of the search results. This is determined by the `sort_by` URL parameter.</p>
<p>sort_options</p>
<p>Deprecated: false</p>
<p></p>
<p>The available sorting options for the search results.</p>
<p>terms</p>
<p>Deprecated: false</p>
<p></p>
<p>The entered search terms.</p>
<p>types</p>
<p>Deprecated: false</p>
<p></p>
<p>The object types that the search was performed on.</p>
<h4>Examples</h4>
<h3>section</h3>
<p>Deprecated: false</p>
<p>The properties and settings of a section.</p>
<h4>Properties</h4>
<p>blocks</p>
<p>Deprecated: false</p>
<p></p>
<p>The blocks of the section.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the section.</p>
<p>index</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current section within its location.</p>
<p>index0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current section within its location.</p>
<p>location</p>
<p>Deprecated: false</p>
<p></p>
<p>The scope or context of the section (template, section group, or global).</p>
<p>settings</p>
<p>Deprecated: false</p>
<p></p>
<p>The [settings](https://shopify.dev/themes/architecture/sections/section-schema#settings) of the section.</p>
<h4>Examples</h4>
<h3>selling_plan</h3>
<p>Deprecated: false</p>
<p>Information about the intent of how a specific [selling plan](/apps/subscriptions/selling-plans) affects a line item.</p>
<h4>Properties</h4>
<p>checkout_charge</p>
<p>Deprecated: false</p>
<p></p>
<p>The checkout charge of the selling plan.</p>
<p>description</p>
<p>Deprecated: false</p>
<p></p>
<p>The description of the selling plan.</p>
<p>group_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the [`selling_plan_group`](/docs/api/liquid/objects/selling_plan_group) that the selling plan belongs to.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the selling plan.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the selling plan.</p>
<p>options</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan options.</p>
<p>price_adjustments</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan price adjustments.</p>
<p>recurring_deliveries</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the selling plan includes multiple deliveries. Returns `false` if not.</p>
<p>selected</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the selling plan is currently selected. Returns `false` if not.</p>
<h4>Examples</h4>
<h3>selling_plan_allocation</h3>
<p>Deprecated: false</p>
<p>Information about how a specific [selling plan](/apps/subscriptions/selling-plans) affects a line item.</p>
<h4>Properties</h4>
<p>checkout_charge_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount that the customer will be charged at checkout in the currency's subunit.</p>
<p>compare_at_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The **compare at** price of the selling plan allocation in the currency's subunit.</p>
<p>per_delivery_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price for each delivery in the selling plan in the currency's subunit.</p>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the selling plan allocation in the currency's subunit.</p>
<p>price_adjustments</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan allocation price adjustments.</p>
<p>remaining_balance_charge_amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The remaining amount for the customer to pay, in the currency's subunit.</p>
<p>selling_plan</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan that created the allocation.</p>
<p>selling_plan_group_id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the [`selling_plan_group`](/docs/api/liquid/objects/selling_plan_group) that the selling plan of the allocation belongs to.</p>
<p>unit_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The [unit price](/docs/api/liquid/objects/variant#variant-unit_price) of the variant associated with the selling plan, in the currency's subunit.</p>
<h4>Examples</h4>
<h3>selling_plan_allocation_price_adjustment</h3>
<p>Deprecated: false</p>
<p>The resulting price from the intent of the associated [`selling_plan_price_adjustment`](/docs/api/liquid/objects/selling_plan_price_adjustment).</p>
<h4>Properties</h4>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the price adjustment in the
[`selling_plan_allocation.price_adjustments` array](/docs/api/liquid/objects/selling_plan_allocation#selling_plan_allocation-price_adjustments).</p>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price that will be charged for the price adjustment's lifetime, in the currency's subunit.</p>
<h4>Examples</h4>
<h3>selling_plan_checkout_charge</h3>
<p>Deprecated: false</p>
<p>Information about how a specific [selling plan](/apps/subscriptions/selling-plans) affects the amount that a
customer needs to pay for a line item at checkout.</p>
<h4>Properties</h4>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the checkout charge.</p>
<p>value_type</p>
<p>Deprecated: false</p>
<p>percentage</p>
<p>price</p>
<p>The value type of the checkout charge.</p>
<h4>Examples</h4>
<h3>selling_plan_group</h3>
<p>Deprecated: false</p>
<p>Information about a specific group of [selling plans](/apps/subscriptions/selling-plans) that include any of a
product's variants.</p>
<h4>Properties</h4>
<p>app_id</p>
<p>Deprecated: false</p>
<p></p>
<p>An optional string provided by an app to identify selling plan groups created by that app.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the selling plan group.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the selling plan group.</p>
<p>options</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plan group options.</p>
<p>selling_plan_selected</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the currently selected selling plan is part of the selling plan group. Returns `false` if not.</p>
<p>selling_plans</p>
<p>Deprecated: false</p>
<p></p>
<p>The selling plans in the group.</p>
<h4>Examples</h4>
<h3>selling_plan_group_option</h3>
<p>Deprecated: false</p>
<p>Information about a specific option in a [selling plan group](/docs/api/liquid/objects/selling_plan_group).</p>
<h4>Properties</h4>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the option.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the option in the [`selling_plan_group.options` array](/docs/api/liquid/objects/selling_plan_group#selling_plan_group-options).</p>
<p>selected_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The option value of the currently selected selling plan.</p>
<p>values</p>
<p>Deprecated: false</p>
<p></p>
<p>The values of the option.</p>
<h4>Examples</h4>
<h3>selling_plan_option</h3>
<p>Deprecated: false</p>
<p>Information about a selling plan's value for a specific [`selling_plan_group_option`](/docs/api/liquid/objects/selling_plan_group_option).</p>
<h4>Properties</h4>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the associated `selling_plan_group_option`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the selling plan option in the associated [`selling_plan_group.options` array](/docs/api/liquid/objects/selling_plan_group#selling_plan_group-options).</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the selling plan option.</p>
<h4>Examples</h4>
<h3>selling_plan_price_adjustment</h3>
<p>Deprecated: false</p>
<p>Information about how a selling plan changes the price of a variant for a given period of time.</p>
<h4>Properties</h4>
<p>order_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of orders that the price adjustment applies to.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the price adjustment in the [`selling_plan.price_adjustments` array](/docs/api/liquid/objects/selling_plan#selling_plan-price_adjustments).</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the price adjustment as a decimal.</p>
<p>value_type</p>
<p>Deprecated: false</p>
<p>percentage</p>
<p>fixed_amount</p>
<p>price</p>
<p>The type of price adjustment.</p>
<h4>Examples</h4>
<h3>settings</h3>
<p>Deprecated: false</p>
<p>Allows you to access all of the theme's settings from the [`settings_schema.json` file](/themes/architecture/config/settings-schema-json).</p>
<h4>Properties</h4>
<h4>Examples</h4>
<p>
data:
</p>
<p>
code:
{% if settings.favicon != blank %}
&lt;link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}"&gt;
{% endif %}
</p>
<h3>shipping_method</h3>
<p>Deprecated: false</p>
<p>Information about the shipping method for an order.</p>
<h4>Properties</h4>
<p>discount_allocations</p>
<p>Deprecated: false</p>
<p></p>
<p>The discount allocations that apply to the shipping method.</p>
<p>handle</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handle](/docs/api/liquid/basics#handles) of the shipping method.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the shipping method.</p>
<p>original_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the shipping method in the currency's subunit, before discounts have been applied.</p>
<p>price</p>
<p>Deprecated: true</p>
<p></p>
<p>The price of the shipping method in the currency's subunit, after discounts have been applied.</p>
<p>price_with_discounts</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the shipping method in the currency's subunit, after discounts have been applied, including order level discounts.</p>
<p>tax_lines</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax lines for the shipping method.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the shipping method.</p>
<h4>Examples</h4>
<h3>shop</h3>
<p>Deprecated: false</p>
<p>Information about the store, such as the store address, the total number of products, and various settings.</p>
<h4>Properties</h4>
<p>accepts_gift_cards</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the store accepts gift cards. Returns `false` if not.</p>
<p>address</p>
<p>Deprecated: false</p>
<p></p>
<p>The address of the store.</p>
<p>brand</p>
<p>Deprecated: false</p>
<p></p>
<p>The [brand assets](https://help.shopify.com/manual/promoting-marketing/managing-brand-assets) for the store.</p>
<p>collections_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of collections in the store.</p>
<p>currency</p>
<p>Deprecated: false</p>
<p></p>
<p>The currency of the store.</p>
<p>customer_accounts_enabled</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if customer accounts are required to complete checkout. Returns `false` if not.</p>
<p>customer_accounts_optional</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if customer accounts are optional to complete checkout. Returns `false` if not.</p>
<p>description</p>
<p>Deprecated: false</p>
<p></p>
<p>The [description](https://help.shopify.com/manual/online-store/setting-up/preferences#edit-the-title-and-meta-description)
of the store.</p>
<p>domain</p>
<p>Deprecated: false</p>
<p></p>
<p>The primary domain of the store.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The [sender email](https://help.shopify.com/manual/intro-to-shopify/initial-setup/setup-your-email#change-your-sender-email-address)
of the store.</p>
<p>enabled_currencies</p>
<p>Deprecated: false</p>
<p></p>
<p>The currencies that the store accepts.</p>
<p>enabled_locales</p>
<p>Deprecated: true</p>
<p></p>
<p></p>
<p>The locales (languages) that are published on the store.</p>
<p>enabled_payment_types</p>
<p>Deprecated: false</p>
<p></p>
<p>The accepted payment types on the store.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the store.</p>
<p>locale</p>
<p>Deprecated: true</p>
<p></p>
<p>The currently active locale (language).</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the store.</p>
<p>metaobjects</p>
<p>Deprecated: true</p>
<p>All of the [metaobjects](/docs/api/liquid/objects/metaobject) of the store.</p>
<p>money_format</p>
<p>Deprecated: false</p>
<p></p>
<p>The money format of the store.</p>
<p>money_with_currency_format</p>
<p>Deprecated: false</p>
<p></p>
<p>The money format of the store with the currency included.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the store.</p>
<p>password_message</p>
<p>Deprecated: false</p>
<p></p>
<p>The password page message of the store.</p>
<p>permanent_domain</p>
<p>Deprecated: false</p>
<p></p>
<p>The `.myshopify.com` domain of the store.</p>
<p>phone</p>
<p>Deprecated: false</p>
<p></p>
<p>The phone number of the store.</p>
<p>policies</p>
<p>Deprecated: false</p>
<p></p>
<p>The policies for the store.</p>
<p>privacy_policy</p>
<p>Deprecated: false</p>
<p></p>
<p>The privacy policy for the store.</p>
<p>products_count</p>
<p>Deprecated: false</p>
<p></p>
<p>The number of products in the store.</p>
<p>published_locales</p>
<p>Deprecated: false</p>
<p></p>
<p>The locales (languages) that are published on the store.</p>
<p>refund_policy</p>
<p>Deprecated: false</p>
<p></p>
<p>The refund policy for the store.</p>
<p>secure_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The full URL of the store, with an `https` protocol.</p>
<p>shipping_policy</p>
<p>Deprecated: false</p>
<p></p>
<p>The shipping policy for the store.</p>
<p>subscription_policy</p>
<p>Deprecated: false</p>
<p></p>
<p>The subscription policy for the store.</p>
<p>taxes_included</p>
<p>Deprecated: true</p>
<p></p>
<p>Returns `true` if prices include taxes. Returns `false` if not.</p>
<p>terms_of_service</p>
<p>Deprecated: false</p>
<p></p>
<p>The terms of service for the store.</p>
<p>types</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the product types in the store.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The full URL of the store.</p>
<p>vendors</p>
<p>Deprecated: false</p>
<p></p>
<p>All of the product vendors for the store.</p>
<h4>Examples</h4>
<h3>shop_locale</h3>
<p>Deprecated: false</p>
<p>A language in a store.</p>
<h4>Properties</h4>
<p>endonym_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the locale in the locale itself.</p>
<p>iso_code</p>
<p>Deprecated: false</p>
<p></p>
<p>The ISO code of the locale in [IETF language tag format](https://en.wikipedia.org/wiki/IETF_language_tag).</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the locale in the store's primary locale.</p>
<p>primary</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the locale is the store's primary locale. Returns `false` if not.</p>
<p>root_url</p>
<p>Deprecated: false</p>
<p></p>
<p>The relative root URL of the locale.</p>
<h4>Examples</h4>
<h3>sitemap</h3>
<p>Deprecated: false</p>
<p>The sitemap for a specific group in the [`robots.txt` file](/themes/architecture/templates/robots-txt-liquid).</p>
<h4>Properties</h4>
<p>directive</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `Sitemap`.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL that the sitemap is hosted at.</p>
<h4>Examples</h4>
<h3>sort_option</h3>
<p>Deprecated: false</p>
<p>A sort option for a collection or search results page.</p>
<h4>Properties</h4>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The customer-facing name of the sort option.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The value of the sort option.</p>
<h4>Examples</h4>
<h3>store_availability</h3>
<p>Deprecated: false</p>
<p>A variant's inventory information for a physical store location.</p>
<h4>Properties</h4>
<p>available</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant has available inventory at the location. Returns `false` if not.</p>
<p>location</p>
<p>Deprecated: false</p>
<p></p>
<p>The location that the variant is stocked at.</p>
<p>pick_up_enabled</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the location has pickup enabled. Returns `false` if not.</p>
<p>pick_up_time</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of time that it takes for pickup orders to be ready at the location.</p>
<h4>Examples</h4>
<h3>store_credit_account</h3>
<p>Deprecated: false</p>
<p>A [store credit account](https://help.shopify.com/en/manual/customers/store-credit) owned by a [customer](/docs/api/liquid/objects/customer).</p>
<h4>Properties</h4>
<p>balance</p>
<p>Deprecated: false</p>
<p></p>
<p>The balance of the store credit account in the currency's subunit.</p>
<h4>Examples</h4>
<h3>swatch</h3>
<p>Deprecated: false</p>
<p>Color and image for visual representation.
Available for [product option values](/docs/api/liquid/objects/product_option_value) and [filter values](/docs/api/liquid/objects/filter_value).</p>
<h4>Properties</h4>
<p>color</p>
<p>Deprecated: false</p>
<p></p>
<p>The swatch color.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The swatch image.</p>
<h4>Examples</h4>
<h3>tablerowloop</h3>
<p>Deprecated: false</p>
<p>Information about a parent [`tablerow` loop](/docs/api/liquid/tags/tablerow).</p>
<h4>Properties</h4>
<p>col</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current column.</p>
<p>col0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current column.</p>
<p>col_first</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current column is the first in the row. Returns `false` if not.</p>
<p>col_last</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current column is the last in the row. Returns `false` if not.</p>
<p>first</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current iteration is the first. Returns `false` if not.</p>
<p>index</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current iteration.</p>
<p>index0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current iteration.</p>
<p>last</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the current iteration is the last. Returns `false` if not.</p>
<p>length</p>
<p>Deprecated: false</p>
<p></p>
<p>The total number of iterations in the loop.</p>
<p>rindex</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of the current iteration, in reverse order.</p>
<p>rindex0</p>
<p>Deprecated: false</p>
<p></p>
<p>The 0-based index of the current iteration, in reverse order.</p>
<p>row</p>
<p>Deprecated: false</p>
<p></p>
<p>The 1-based index of current row.</p>
<h4>Examples</h4>
<h3>tax_line</h3>
<p>Deprecated: false</p>
<p>Information about a tax line of a checkout or order.</p>
<h4>Properties</h4>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The tax amount in the currency's subunit.</p>
<p>rate</p>
<p>Deprecated: false</p>
<p></p>
<p>The decimal value of the tax rate.</p>
<p>rate_percentage</p>
<p>Deprecated: false</p>
<p></p>
<p>The decimal value of the tax rate, as a percentage.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>The title of the tax.</p>
<h4>Examples</h4>
<h3>taxonomy_category</h3>
<p>Deprecated: false</p>
<p>The taxonomy category for a product</p>
<h4>Properties</h4>
<p>ancestors</p>
<p>Deprecated: false</p>
<p></p>
<p>All parent nodes of the current taxonomy category.</p>
<p>gid</p>
<p>Deprecated: false</p>
<p></p>
<p>The public node ID for the category, formatted as a Shopify GID.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The public node ID for the category</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The localized category name</p>
<h4>Examples</h4>
<h3>template</h3>
<p>Deprecated: false</p>
<p>Information about the current [template](/docs/themes/architecture/templates).</p>
<h4>Properties</h4>
<p>directory</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the template's parent directory.</p>
<p>name</p>
<p>Deprecated: false</p>
<p>404</p>
<p>article</p>
<p>blog</p>
<p>cart</p>
<p>collection</p>
<p>list-collections</p>
<p>customers/account</p>
<p>customers/activate_account</p>
<p>customers/addresses</p>
<p>customers/login</p>
<p>customers/order</p>
<p>customers/register</p>
<p>customers/reset_password</p>
<p>gift_card</p>
<p>index</p>
<p>page</p>
<p>password</p>
<p>product</p>
<p>search</p>
<p>The name of the template's [type](/docs/themes/architecture/templates#template-types).</p>
<p>suffix</p>
<p>Deprecated: false</p>
<p></p>
<p>The custom name of an [alternate template](/themes/architecture/templates#alternate-templates).</p>
<h4>Examples</h4>
<h3>theme</h3>
<p>Deprecated: true</p>
<p>Information about the current theme.</p>
<h4>Properties</h4>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the theme.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the theme.</p>
<p>role</p>
<p>Deprecated: false</p>
<p>main</p>
<p>unpublished</p>
<p>demo</p>
<p>development</p>
<p>The role of the theme.</p>
<h4>Examples</h4>
<h3>transaction</h3>
<p>Deprecated: false</p>
<p>A transaction associated with a checkout or order.</p>
<h4>Properties</h4>
<p>amount</p>
<p>Deprecated: false</p>
<p></p>
<p>The amount of the transaction in the currency's subunit.</p>
<p>buyer_pending_payment_instructions</p>
<p>Deprecated: false</p>
<p></p>
<p>A list of `pending_payment_instruction_input` header-value pairs, with payment method-specific details.
The customer can use these details to complete their purchase offline.
If the payment method doesn’t support pending payment instructions, then an empty array is returned.
| Supported payment method | Expected Values |
| --- | ----------- |
| ShopifyPayments - Multibanco | [{header="Entity", value="12345"}, {header="Reference", value="999999999"}] |</p>
<p>buyer_pending_payment_notice</p>
<p>Deprecated: false</p>
<p></p>
<p>A notice that contains instructions for the customer on how to complete their payment.
The messages are specific to the payment method used.</p>
<p>created_at</p>
<p>Deprecated: false</p>
<p></p>
<p>A timestamp of when the transaction was created.</p>
<p>gateway</p>
<p>Deprecated: false</p>
<p></p>
<p>The [handleized](/docs/api/liquid/basics#modifying-handles) name of the payment provider used for the transaction.</p>
<p>gateway_display_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the payment provider used for the transaction.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the transaction.</p>
<p>kind</p>
<p>Deprecated: false</p>
<p>authorization</p>
<p>capture</p>
<p>sale</p>
<p>void</p>
<p>refund</p>
<p>The type of transaction.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the transaction.</p>
<p>payment_details</p>
<p>Deprecated: false</p>
<p></p>
<p>The transaction payment details.</p>
<p>receipt</p>
<p>Deprecated: false</p>
<p></p>
<p>Information from the payment provider about the payment receipt.</p>
<p>show_buyer_pending_payment_instructions?</p>
<p>Deprecated: false</p>
<p></p>
<p>Whether the transaction is pending, and whether additional customer info is required to process the payment.</p>
<p>status</p>
<p>Deprecated: false</p>
<p>success</p>
<p>pending</p>
<p>failure</p>
<p>error</p>
<p>The status of the transaction.</p>
<p>status_label</p>
<p>Deprecated: false</p>
<p></p>
<p>The status of the transaction, translated based on the current locale.</p>
<h4>Examples</h4>
<h3>transaction_payment_details</h3>
<p>Deprecated: false</p>
<p>Information about the payment methods used for a transaction.</p>
<h4>Properties</h4>
<p>credit_card_company</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the company that issued the credit card used for the transaction.</p>
<p>credit_card_last_four_digits</p>
<p>Deprecated: false</p>
<p></p>
<p>The last four digits of the credit card number of the credit card used for the transaction.</p>
<p>credit_card_number</p>
<p>Deprecated: false</p>
<p></p>
<p>The credit card number of the credit card used for the transaction.</p>
<p>gift_card</p>
<p>Deprecated: false</p>
<p></p>
<p>The gift card used for the transaction.</p>
<h4>Examples</h4>
<h3>unit_price_measurement</h3>
<p>Deprecated: false</p>
<p>Information about how units of a product variant are measured. It's used to calculate
[unit prices](https://help.shopify.com/manual/products/details/product-pricing/unit-pricing#add-unit-prices-to-your-product).</p>
<h4>Properties</h4>
<p>measured_type</p>
<p>Deprecated: false</p>
<p>volume</p>
<p>weight</p>
<p>length</p>
<p>area</p>
<p>count</p>
<p>The type of unit measurement.</p>
<p>quantity_unit</p>
<p>Deprecated: false</p>
<p></p>
<p>The unit of measurement used to measure the [`quantity_value`](/docs/api/liquid/objects/unit_price_measurement#unit_price_measurement-quantity_value).</p>
<p>quantity_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The quantity of the unit.</p>
<p>reference_unit</p>
<p>Deprecated: false</p>
<p></p>
<p>The unit of measurement used to measure the [`reference_value`](/docs/api/liquid/objects/unit_price_measurement#unit_price_measurement-reference_value).</p>
<p>reference_value</p>
<p>Deprecated: false</p>
<p></p>
<p>The quantity of the unit for the base unit price.</p>
<h4>Examples</h4>
<h3>user</h3>
<p>Deprecated: false</p>
<p>The author of a blog article.</p>
<h4>Properties</h4>
<p>account_owner</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the author is the account owner of the store. Returns `false` if not.</p>
<p>bio</p>
<p>Deprecated: false</p>
<p></p>
<p>The bio associated with the author's account.</p>
<p>email</p>
<p>Deprecated: false</p>
<p></p>
<p>The email associated with the author's account.</p>
<p>first_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first name associated with the author's account.</p>
<p>homepage</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL for the personal website associated with the author's account.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The image associated with the author's account.</p>
<p>last_name</p>
<p>Deprecated: false</p>
<p></p>
<p>The last name associated with the author's account.</p>
<p>name</p>
<p>Deprecated: false</p>
<p></p>
<p>The first and last name associated with the author's account.</p>
<h4>Examples</h4>
<h3>user_agent</h3>
<p>Deprecated: false</p>
<p>The user-agent, which is the name of the crawler, for a specific group in the [`robots.txt` file](/themes/architecture/templates/robots-txt-liquid).</p>
<h4>Properties</h4>
<p>directive</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `User-agent`.</p>
<p>value</p>
<p>Deprecated: false</p>
<p></p>
<p>The name of the user-agent.</p>
<h4>Examples</h4>
<h3>variant</h3>
<p>Deprecated: false</p>
<p>A [product variant](https://help.shopify.com/manual/products/variants).</p>
<h4>Properties</h4>
<p>available</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant is available. Returns `false` if not.</p>
<p>barcode</p>
<p>Deprecated: false</p>
<p></p>
<p>The barcode of the variant.</p>
<p>compare_at_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The **compare at** price of the variant in the currency's subunit.</p>
<p>featured_image</p>
<p>Deprecated: false</p>
<p></p>
<p>The image attached to the variant.</p>
<p>featured_media</p>
<p>Deprecated: false</p>
<p></p>
<p>The first media object attached to the variant.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the variant.</p>
<p>image</p>
<p>Deprecated: false</p>
<p></p>
<p>The image attached to the variant.</p>
<p>incoming</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant has incoming inventory. Returns `false` if not.</p>
<p>inventory_management</p>
<p>Deprecated: false</p>
<p></p>
<p>The inventory management service of the variant.</p>
<p>inventory_policy</p>
<p>Deprecated: false</p>
<p>continue</p>
<p>deny</p>
<p>Whether the variant should continue to be sold when it's out of stock.</p>
<p>inventory_quantity</p>
<p>Deprecated: false</p>
<p></p>
<p>The inventory quantity of the variant.</p>
<p>matched</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant has been matched by a [storefront filter](https://shopify.dev/themes/navigation-search/filtering/storefront-filtering)
or no filters are applied.
Returns `false` if it hasn't.</p>
<p>metafields</p>
<p>Deprecated: false</p>
<p></p>
<p>The [metafields](/docs/api/liquid/objects/metafield) applied to the variant.</p>
<p>next_incoming_date</p>
<p>Deprecated: false</p>
<p></p>
<p>The arrival date for the next incoming inventory of the variant.</p>
<p>option1</p>
<p>Deprecated: true</p>
<p></p>
<p>The value of the variant for the first product option.</p>
<p>option2</p>
<p>Deprecated: true</p>
<p></p>
<p>The value of the variant for the second product option.</p>
<p>option3</p>
<p>Deprecated: true</p>
<p></p>
<p>The value of the variant for the third product option.</p>
<p>options</p>
<p>Deprecated: false</p>
<p></p>
<p>The values of the variant for each [product option](/docs/api/liquid/objects/product_option).</p>
<p>price</p>
<p>Deprecated: false</p>
<p></p>
<p>The price of the variant in the currency's subunit.</p>
<p>product</p>
<p>Deprecated: false</p>
<p></p>
<p>The parent product of the variant.</p>
<p>quantity_price_breaks</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `quantity_price_break` objects for the variant in the current customer context.</p>
<p>quantity_price_breaks_configured?</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant has any quantity price breaks available in the current customer context.
Returns `false` if it doesn't.</p>
<p>quantity_rule</p>
<p>Deprecated: false</p>
<p></p>
<p>The quantity rule for the variant.</p>
<p>requires_selling_plan</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant's product is set to require a `selling_plan` when being added to the cart. Returns `false` if not.</p>
<p>requires_shipping</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant requires shipping. Returns `false` if it doesn't.</p>
<p>selected</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if the variant is currently selected. Returns `false` if it's not.</p>
<p>selected_selling_plan_allocation</p>
<p>Deprecated: false</p>
<p></p>
<p>The selected `selling_plan_allocation`.</p>
<p>selling_plan_allocations</p>
<p>Deprecated: false</p>
<p></p>
<p>The `selling_plan_allocation` objects for the variant.</p>
<p>sku</p>
<p>Deprecated: false</p>
<p></p>
<p>The SKU of the variant.</p>
<p>store_availabilities</p>
<p>Deprecated: false</p>
<p></p>
<p>The store availabilities for the variant.</p>
<p>taxable</p>
<p>Deprecated: false</p>
<p></p>
<p>Returns `true` if taxes should be charged on the variant. Returns `false` if not.</p>
<p>title</p>
<p>Deprecated: false</p>
<p></p>
<p>A concatenation of each variant option, separated by a `/`.</p>
<p>unit_price</p>
<p>Deprecated: false</p>
<p></p>
<p>The [unit price](https://help.shopify.com/manual/products/details/product-pricing/unit-pricing#add-unit-prices-to-your-product)
of the variant in the currency's subunit.</p>
<p>unit_price_measurement</p>
<p>Deprecated: false</p>
<p></p>
<p>The unit price measurement of the variant.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The URL of the variant.</p>
<p>weight</p>
<p>Deprecated: false</p>
<p></p>
<p>The weight of the variant in grams.</p>
<p>weight_in_unit</p>
<p>Deprecated: false</p>
<p></p>
<p>The weight of the variant in the unit specified by `variant.weight_unit`.</p>
<p>weight_unit</p>
<p>Deprecated: false</p>
<p></p>
<p>The unit for the weight of the variant.</p>
<h4>Examples</h4>
<h3>video</h3>
<p>Deprecated: false</p>
<p>Information about a video uploaded as [product media](/docs/api/liquid/objects/product-media) or a [`file_reference` metafield](/apps/metafields/types).</p>
<h4>Properties</h4>
<p>alt</p>
<p>Deprecated: false</p>
<p></p>
<p>The alt text of the video.</p>
<p>aspect_ratio</p>
<p>Deprecated: false</p>
<p></p>
<p>The aspect ratio of the video as a decimal.</p>
<p>duration</p>
<p>Deprecated: false</p>
<p></p>
<p>The duration of the video in milliseconds.</p>
<p>id</p>
<p>Deprecated: false</p>
<p></p>
<p>The ID of the video.</p>
<p>media_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The media type of the model. Always returns `video`.</p>
<p>position</p>
<p>Deprecated: false</p>
<p></p>
<p>The position of the video in the [`product.media`](/docs/api/liquid/objects/product#product-media) array.</p>
<p>preview_image</p>
<p>Deprecated: false</p>
<p></p>
<p>A preview image for the video.</p>
<p>sources</p>
<p>Deprecated: false</p>
<p></p>
<p>The source files for the video.</p>
<h4>Examples</h4>
<h3>video_source</h3>
<p>Deprecated: false</p>
<p>Information about the source files for a video.</p>
<h4>Properties</h4>
<p>format</p>
<p>Deprecated: false</p>
<p>mov</p>
<p>mp4</p>
<p>m3u8</p>
<p>The format of the video source file.</p>
<p>height</p>
<p>Deprecated: false</p>
<p></p>
<p>The height of the video source file.</p>
<p>mime_type</p>
<p>Deprecated: false</p>
<p></p>
<p>The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the video source file.</p>
<p>url</p>
<p>Deprecated: false</p>
<p></p>
<p>The [CDN URL](/themes/best-practices/performance/platform#shopify-cdn) of the video source file.</p>
<p>width</p>
<p>Deprecated: false</p>
<p></p>
<p>The width of the video source file.</p>
<h4>Examples</h4>