Store Liquid Object Reference - 0.9.5
| Object Name | Store |
| Version | 0.9.5 |
Description
The Store object contains information about the Store
Attributes
| Attribute | Type | Description |
|---|---|---|
| code | String | Returns the value of the Code attribute |
| currency_code | String | Returns the currency code of the Store, eg: AUD |
| currency_symbol | String | Returns the currency symbol of the Store, eg: $ |
| domain | String | Returns the Store’s domain |
| logo | Image | Returns the Store’s logo Image |
| name | String | Returns the Store’s name |
| path | String | Returns the url path for this Store |
| shipping_enabled? | Boolean | Indicates whether this Store has enabled Shipping |
| tax_inclusive? | Boolean | Indicates whether this Store’s pricing is tax inclusive |
| terms_conditions_page | Page | Returns the Page that has been set up as the Terms and Conditions page |
Customizations
The site can be customized using various attributes
| Attribute | Type | Description |
|---|---|---|
| body_content | ContentBlock | Returns a ContentBlock to be rendered just before the closing <body> tag |
| footer | ContentBlock | Returns a ContentBlock to be rendered as the footer |
| footer_menu | Menu | Returns a Menu to be rendered in the footer |
| global_css | String | Returns global CSS for the site. This should be output in the site template inside <style> tags in the header |
| global_javascript | String | Returns global Javascript for the site. This should be output in the site template inside <script> tags in the header |
| head_content | ContentBlock | Returns a ContentBlock to be rendered just before the closing <head> tag |
| header | ContentBlock | Returns a ContentBlock to be rendered as the header |
| header_menu | Menu | Returns a Menu to be rendered in the header |
SEO
These are some attributes that are useful for SEO purposes
| Attribute | Type | Description |
|---|---|---|
| meta_description | String | Returns the value of the Meta Description attribute |
| meta_keywords | String | Returns the value of the Meta Keywords attribute |
| meta_title | String | Returns the value of the Meta Title attribute |
Store Links
A set of links to other pages on the Store
| Attribute | Type | Description |
|---|---|---|
| cart_path | String | Returns the link path for the Cart |
| checkout_path | String | Returns the link path for the Checkout |
| home_path | String | Returns the link path for the Home page |
| login_path | String | Returns the link path for the Login page |
| logout_path | String | Returns the link path for the Logout page |
| orders_path | String | Returns the link path for the Account holder’s Order page |
| profile_path | String | Returns the link path for the Account holder’s Profile page |
| shipping_details_path | String | Returns the link path for the Account holder’s Shipping Details page |
| url | String | Returns the complete url for this Store |
Objects that return Stores
Back to Liquid Reference for 0.9.5
Back to Documentation