The shop object
shop object has the following attributes:
You can add attributes to
shop.address to return information about a shop's address.
Returns the city in the shop's address:
Returns the country in the shop's address:
Returns the country in the shop's address using uppercase letters:
The result is identical to using the upcase filter on
Returns the state or province in the shop's address:
Returns an abbreviated form of the state or province in the shop's address:
Returns the shop's street address:
150 Elgin Street
Returns a summary of the shop's address:
150 Elgin Street, Ottawa, Ontario, Canada
The summary takes the form street, city, state/province, country.
Returns the ZIP or postal code in the shop's address:
Returns the number of collections in a shop.
Returns the shop's currency in three-letter format (ex: USD).
Returns the description of the shop.
Returns the primary domain of the shop.
Returns the shop's email address.
Returns an array of the shop's accepted credit cards, cryptocurrencies, and other payment types. The list of payment types is based on those accepted by your store's enabled payment providers.
Returns the locale that the shop is currently displayed in (ex: en, fr, pt-BR). See the documentation on theme translations for more details on this feature.
Returns the shop's metafields. Metafields can only be set using the Shopify API .
Returns a string that is used by Shopify to format money without showing the currency.
Returns a string that is used by Shopify to format money while also displaying the currency.
Returns the shop's name.
Returns the shop's password page message.
Returns the .myshopify.com URL of a shop.
Returns the shop's phone number.
You can print an individual policy by using one of the named methods below, or you can loop through and print all policies using
Returns your store's refund policy, which you can set in your store's Checkout settings.
Returns your store's terms of service (TOS), which you can set in your store's Checkout settings.
Returns the number of products in a shop.
Returns the full URL of a shop prepended by the
Returns an array of all unique product types in a shop.
Returns the full URL of a shop.
Returns an array of all unique vendors in a shop.