Store


Describes a online store

blog

Access the store’s blog.

can_sell_over_stock

Returns true if store products can be sell over stock.

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.

categories

Access information about the categories in the store.

checkout_stylesheet

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

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.

enabled_currencies

Returns the enabled currencies.

has_password

Returns true if store has password set.

linklists

Returns the linklists for the current store.

 {% assign menu = linklists['main'] %}

 {% for link in menu %}
     {% comment %}do something with the link{% endcomment %}
 {% endfor %}

manufacturers

Returns an array of manufacturers in the store.

pages

List available pages in the store.

policies

Returns available policies as array.

privacy_policy

Returns privacy policy with following properties:

  • title
  • body
  • url

products

List available products in the store.

published_locales

Returns the published locales.

refund_policy

Returns refund policy with following properties:

  • title
  • body
  • url

routes

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

settings

Access theme settings.

shipping_policy

Returns shipping policy with following properties:

  • title
  • body
  • url

terms_and_conditions

Returns terms and conditions with following properties:

  • title
  • body
  • url

theme

Returns information about the current theme.