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.
Returns an array of your store's policies. You can set these policies in your store's Legal settings in your Shopify admin.
Each shop policy has the following properties:
Returns the policy's content.
Referencing just the policy object will also return the policy's content.
Returns the title of the policy.
Returns the relative URL of the policy.
Referencing shop policies directly
An individual policy can be referenced directly on the
shop object. Each policy has its own policy object.
The following policies can be set in your store's Legal settings in your Shopify admin.
Returns a policy object for your store's refund policy.
Returns a policy object for your store's terms of service.
Returns the number of products in a shop.
Returns the full URL of a shop prepended by the
true if taxes are included in your products' prices. Otherwise, returns
This can be set in your store's Tax settings.
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.