Field Type: Text
Field Label: Price
Remember, you can add as many variables as you would like (ie: code, color, size)
- Under "Related Pages", choose "Store", and then click "Save Fieldset"
===== Setting up Store Overview Template =====
- Go to Developer > Themes > DESIRED THEME
- Add a folder called "url" in the "feed" folder
- Add a new template file called "store.html" in the "url" folder
- Add the following code to the "store.html" template file:
{% extends "inside.html" %}
{% block main %}
{% for post in items %}
-
{{ post.title }}
{% endfor %}
{% endblock main %}
This creates an unordered list of products by displaying product image and product name. Each product is linked to product detail page.
===== Setting up Product Detail Template =====
- Add a sub-folder called "url" under Page > Post
- Add a new template file called "store.html" in the "url" folder
- Add the following code to the "store.html" template file:
{% extends "detail.html" %}
{% block main %}
{{ this.title }}
${{ this.custom.product_settings.price }}
{{ this.content }}
Add To Cart
{% endblock main %}