Skip to Content

Store

Describes a online store

checkout_stylesheet

Returns URL to the custom checkout stylesheet if one is available.

routes

Returns the routes object which provides URLs for the endpoints needed in the store.

linklists

Returns the linklists for the current store.

{% assign menu = linklists['main'] %} {% for link in menu %} {% comment %}do something with the link{% endcomment %} {% endfor %}

categories

Access information about the categories in the store.

manufacturers

Returns an array of manufacturers in the store.

blog

Access the store’s blog.

pages

List available pages in the store.

products

List available products in the store.

settings

Access theme settings.

customer_accounts_enabled

Returns true if customer accounts are enabled in the store. If not, no login or register links should be displayed.

customer_accounts_optional

Returns true if customer accounts are optional. This means that customers make purchases without creating an account to the store.

customer_accounts_require_approval

Returns true if customer accounts need to be approved. After registering to the store, merchant needs to accept the account before customer can access the store.

catalog_browsing_requires_account

Returns true if a customer account is required to browse the catalog. Customer cannot access other parts of the store before creating an account.

published_locales

Returns the published locales.

enabled_currencies

Returns the enabled currencies.

has_password

Returns true if store has password set.

can_sell_over_stock

Returns true if store products can be sell over stock.

policies

Returns available policies as array.

terms_and_conditions

Returns terms and conditions with following properties:

  • title
  • body
  • url

privacy_policy

Returns privacy policy with following properties:

  • title
  • body
  • url

shipping_policy

Returns shipping policy with following properties:

  • title
  • body
  • url

refund_policy

Returns refund policy with following properties:

  • title
  • body
  • url

theme

Returns information about the current theme.