-
Notifications
You must be signed in to change notification settings - Fork 1
home
We are using liquid templating language to render shop templte. Introduction can be found here.
Our in each template page next variables are accessible. If page has ability to paginate (usually some "index" page then needed parameter is page). The list of output markups available here and tag markups here.
To be noted here. If your theme doesn't have these templates, then we load defaults.
Accessible objects are order, shop, customer.
- subject should be set through admin
- order.confirmation.text.liquid - if not found will take from default
- order.confirmation.html.liquid - if not found, then won't send
Accessible objects are order, shop, customer.
- subject should be set through admin
- order.shipping.text.liquid - if not found will take from default
- order.shipping.html.liquid - if not found, then won't send
Accessible objects are parcel, order, shop, customer.
- subject should be set through admin
- parcel.shipment.text.liquid - if not found will take from default
- parcel.shipment.html.liquid - if not found, then won't send
Accessible objects are shop, customer.
- subject should be set through admin
- customer.confirmation.text.liquid - if not found will take from default
- customer.confirmation.html.liquid - if not found, then won't send
Accessible objects are shop, customer.
- subject should be set through admin
- customer.reset_password.text.liquid - if not found will take from default
- customer.reset_password.html.liquid - if not found, then won't send
No additional variables
Shows only active products and there's possible pagination.
Additional variables:
- products - collection of products
If product not active or not found then renders template not_found.liquid. Page also may have a parameter template. If it's filled then we will try to render this template instead of standard one (page.liquid). Admin panel will generate you a list of possible custom templates by searching for page.your_custom_name.liquid.
Additional variables:
- product - product entity
- category - category entity product belongs_to
- meta - product meta information
Can respond also on json json object. also actions GET checkout -> redirects client to checkout process, POST add, update
Additional variables:
- collection - collection entity
Additional variables:
- collections - collection of your collections
Custom 404 page templates if something wasn't found.
Has no additional variables.
is used to show custom content. Will use root webpage /slug like /contact-as
Additional params:
Template to request a password for customer. Example of content
<form action="{{ form_actions.password_request }}" method="POST">
{{form_actions.auth_input}}
<input type="text" name="email" placeholder="E-mail" />
<input type="submit" value="request" />
</form>
Template which we show when password request has been sent
Thank you! your password has been sent.
Template to update a password of customer. Example of content:
<form action="{{ form_actions.password_change }}" method="POST">
{{form_actions.auth_input}}
<input type="text" name="token" value="{{params.token}}" />
<input type="password" name="password" placeholder="Password" />
<input type="password" name="password_confirmation" placeholder="Password Confirmation" />
<input type="submit" value="Save" />
</form>
Shows only active posts and there's possible pagination.
Additional params:
If post not active or not found then renders template not_found.liquid. Post also may have a parameter template. If it's filled then we will try to render this template instead of standard one (blog_post.liquid). Admin panel will generate you a list of possible custom templates by searching for blog_post.your_custom_name.liquid.
Additional params: