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 legal name of the company 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:
true if customer accounts are optional for completing a checkout and there is a
?checkout_url parameter in the URL. Otherwise, returns
checkout_url parameter is created when a visitor comes to the account login page from a link at checkout.
Returns the number of collections in a shop.