This drop is included on this page in with the variable name {{ drop_name }}.
Returns true if the user is browsing in buylist mode. False otherwise.
Returns the path to the search for the current mode.
Returns the path to the multi search for the current mode.
Returns true if the current buy order has no line items. False otherwise.
Generates a title for the current page. On product browse, it takes the form of “Product Name - Category » Heirarchy”. On category browse, it takes the form of “Category » Heirarchy”. On pages, it uses the seoname.
Returns “news” if on the news path. Otherwise, returns either the nickname param or the seoname param. Evidently used in some templates to detect what area of the site the user is on.
Returns an array of filter links for search filters for letters A-Z.
Generates links for all categories as a tree.
Name of the Rails controller handling this request
Name of the Rails action handling this request
Returns true if the customer is logged in.
Returns true if the customer is authorized to add items to their cart.
Returns an array of locales supported by the current site. If a translation of the locale is not available, the locale code will be used for the label.
For example if the supported locales were ‘en’, ‘x-bork’ and ‘i-klingon’:
{{ "{%" }} for locale in site.supported_locales %}
Code: {{ "{{" }} locale.code }}
Label: {{ "{{" }} locale.label }}
{{ "{%" }} endfor %}
Outputs:
Code: en
Label: English
Code: x-bork
Label: bork bork bork
Code: i-klingon
Label: i-klingon
Returns the store name defined by the admin prefs. Ex: Example Store
Generates tags for captcha verification. Useful for embedding user signup on pages other than the user signup page.
Returns true if the store has recaptcha enabled for the current theme. This is the default.
Array of store location drops.
JSON of the cart for use with a javascript framework like Backbone or Ember.js.
Are bank transfers accepted?
Are checks/money orders accepted?
Are coupons accepted?
Are credit cards accepted?
Are on-account payments accepted?
Are pay-in-store payments accepted?
Are paypal payments accepted?
Are store credit payments accepted?
Are Visa credit card payments accepted?
Are MasterCard credit card payments accepted?
Are American Express credit card payments accepted?
Are discover credit card payments accepted?