This template is used to display product information in detail.
product
Term | Data Type | Typical Output | Description |
---|---|---|---|
product.id | int | 4 | The product id |
product.image_one.active | boolean | True / false | Determines if image exists |
product.image_one.mini | varchar | http://www.yourstore/images/product_images/mini/product_image.jpg | Mini Image URL & Path |
product.image_one.small | varchar | http://www.yourstore/images/product_images/small/product_image.jpg | Small Image URL & Path |
product.image_one.thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image.jpg | Thumb Image URL & Path |
product.image_one.main | varchar | http://www.yourstore/images/product_images/main/product_image.jpg | Main Image URL & Path |
product.image_one.large | varchar | http://www.yourstore/images/product_images/large/product_image.jpg | Large Image URL & Path |
product.image_two.active | boolean | True / false | Determines if image exists |
product.image_two.mini | varchar | http://www.yourstore/images/product_images/mini/product_image2.jpg | Mini Image URL & Path |
product.image_two.small | varchar | http://www.yourstore/images/product_images/small/product_image2.jpg | Small Image URL & Path |
product.image_two.thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image2.jpg | Thumb Image URL & Path |
product.image_two.main | varchar | http://www.yourstore/images/product_images/main/product_image2.jpg | Main Image URL & Path |
product.image_two.large | varchar | http://www.yourstore/images/product_images/large/product_image2.jpg | Large Image URL & Path |
product.image_three.active | boolean | True / false | Determines if image exists |
product.image_three.mini | varchar | http://www.yourstore/images/product_images/mini/product_image3.jpg | Mini Image URL & Path |
product.image_three.small | varchar | http://www.yourstore/images/product_images/small/product_image3.jpg | Small Image URL & Path |
product.image_three.thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image3.jpg | Thumb Image URL & Path |
product.image_three.main | varchar | http://www.yourstore/images/product_images/main/product_image3.jpg | Main Image URL & Path |
product.image_three.large | varchar | http://www.yourstore/images/product_images/large/product_image3.jpg | Large Image URL & Path |
product.image_four.active | boolean | True / false | Determines if image exists |
product.image_four.mini | varchar | http://www.yourstore/images/product_images/mini/product_image4.jpg | Mini Image URL & Path |
product.image_four.small | varchar | http://www.yourstore/images/product_images/small/product_image4.jpg | Small Image URL & Path |
product.image_four.thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image4.jpg | Thumb Image URL & Path |
product.image_four.main | varchar | http://www.yourstore/images/product_images/main/product_image4.jpg | Main Image URL & Path |
product.image_four.large | varchar | http://www.yourstore/images/product_images/large/product_image4.jpg | Large Image URL & Path |
product.short_description | varchar | Short description of product | Short description |
product.description | html | Description of product<br />.. | HTML description |
product.buy | array | array | For advanced users, constains array of raw buy button components |
product.buy_button | html | <button id=”… | HTML buy button w/out quantity |
product.buy_button_qty | html | <button id=”… | HTML buy button with quantity |
product.buy_button_image | html | <a href=“buy”><img src=”… | HTML image button |
product.price_ex_tax | varchar | £5.00 | The price excluding tax formatted to the local currency |
product.price_inc_tax | varchar | £5.90 | The price including tax formatted to the local currency |
product.price_ex_tax_raw | varchar | 5.00 | The price excluding tax unformatted |
product.price_inc_tax_raw | varchar | 5.90 | The price including tax unformatted |
product.price_was | varchar | £5.90 | The original price formatted to the local currency |
product.price_saved | varchar | £5.90 | The amount saved inc tax formatted to the local currency |
product.price_saved_percent | varchar | £5.90 | The percentage saved over the original price |
product.price_rrp | varchar | £5.90 | The original RRP price formatted to the local currency |
product.price_rrp_saved | varchar | £5.90 | The amount saved inc tax formatted to the local currency |
product.price_rrp_saved_percent | varchar | £5.90 | The percentage saved over the original price |
product.is_special | boolean | True / false | Determines if the product is on special offer |
product.is_dropship | int | 0+ | Dropship id if the product has an association with a feed |
product.savings_text | html | Youve saved x amount.. | HTML savings text |
product.tax_rate | varchar | 20 | Tax rate in percent |
product.name | varchar | Product Name | Title of the product |
product.name_short | varchar | Product Na.. | |
product.stock | varchar | 56 | The current stock level for this product |
product.stock_due | varchar | 2-3 Weeks | The stock due text for this item |
product.code | varchar | 201224 | The product code |
product.man_code | varchar | DFG-45323 | The manufacturers code |
product.upc_code | varchar | 6346345 | The UPC code |
product.ean_code | int | 6346345 | The EAN code |
product.brand.id | varchar | 5 | The brand id |
product.brand.name | varchar | Value Range | |
product.brand.image_path | varchar | /images/brand_images/ | The image path to the brand images folder |
product.brand.image | varchar | image.jpg | The name of the brand image filename |
product.is_free_delivery | int | True / false | Determines if this product is eligible for free delivery |
product.is_set | int | True / false | Determines if this product is a set master |
product.is_active | int | True / false | Determines if this product is active or not. Can be used to mark as discontinued |
product.review_stars | html | <img src=”.. | The html image showing review stars |
product.review_average | int | 4 | The average rating out of 5 |
product.review_count | int | 6 | The total number of reviews |
product.rating_count | int | 6 | The total number of reviews (inc ratings) |
product.reviews | array | See Product Reviews Array | |
product.tags | array | See Product Tags Array | |
product.login_for_price | boolean | True / false | User has to log in to view price if true |
product.qty_prices | html | 100+ $5.00, 200+ $4.85.. | HTML quantity prices |
product.options | html | <form… | HTML options for this product |
product.warranty_days | int | 365 | Warranty in days |
product.warranty_months | int | 12 | Warranty in months |
product.external_reviews | html | External reviews | |
product.category.id | int | 5 | Master Product Category ID |
product.category.name | varchar | Category Name | Master Product Category Name |
Usage
<div class="leftPanel"> <div class="productDetail"> <div class="productDetailImages"> <a class="menuPopup" rel="gallery" href="{{ product.image_one.large|raw }}" title="{{ product.name|raw }}"><img src="{{ product.image_one.main|raw }}" alt="{{ product.name|raw }}" /></a> <div class="miniImages" > {% if product.image_two.active %} <a class="menuPopup" rel="gallery" href="{{ product.image_two.large|raw }}" title="{{ product.name|raw }} Image Two" ><img src="{{ product.image_two.mini|raw }}" border="0" alt="{{ product.name|raw }}" /></a> {% endif %} {% if product.image_three.active %} <a class="menuPopup" rel="gallery" href="{{ product.image_three.large|raw }}" title="{{ product.name|raw }} Image Three" > <img src="{{ product.image_three.mini|raw }}" border="0" title="{{ product.name|raw }}" alt="{{ product.name|raw }}" /></a> {% endif %} <br /> </div> <table cellpadding="0" cellspacing="0" id="productDetailTable" width="280"> <tr> <td><p> <span class="priceLarge">Price: {{ product.price_inc_tax|raw }}</span> <span class="priceSmall">inc. VAT</span><br /> <span class="priceSmall">({{ product.price_ex_tax|raw }}</span> <span class="priceSmall">ex. VAT)</span><br /> <span class="priceSmall">{{ stock_label }}</span> </p> {{ product.savings_text|raw }} <div class="buy"> {{ product.buy_button|raw }} </div> </td> </tr> {% if product.review_count > 0 %} <tr> <td><a class="menuPopup" href="ajaxPhp/phpServer.php?action=getProductReviews&={{ product.id }}&showButton=0" title="Product Reviews">{{ product.review_starts|raw }}</a></td> </tr> {% endif %} </table> </div> <div class="productRight"> <div class="productDescription"> {{ product.description|raw }} </div> <div class="productShare"> <div class="productFacebook"> <iframe src="http://www.facebook.com/plugins/like.php?app_id=127264777352678&href={{ store_url|url_encode() }}{{ current_uri|url_encode() }} &send=false&layout=box_count&width=80&show_faces=false&action=like&colorscheme=light&font&height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:90px;" allowTransparency="true"></iframe> </div> <div class="productAddthis"> <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style"> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d911e6078fa72a8"></script> <!-- AddThis Button END --> </div> </div> </div> </div> {% if tags_list %} <div style="margin-top:20px; padding:8px;"> <p><strong>Popular Tags associated with the Product (click to find compatible or similar items).</strong></p> {{ tags_list }} </div> {% endif %} <div style="float:left" width:690px"> <hr /> <h2>Other Items that may interest you...</h2> <div class="featureContainer"> {% for product in alternative_products %} {% include "snippets/products.snippet.html" %} {% endfor %} </div> </div> </div>
product.buy (array)
Term | Data Type | Typical Output | Description |
---|---|---|---|
text | int | 4 | The product id |
analytics | html | … | HTML / Javascript supporting code for Google analytics tracking |
input.qty | html | <input class=“span1” type=“tex | html preformatted input for qty |
options | array | array | An array of data for creating product option lists |
options_html | html | <select.. | A preformatted select box of stacked product options in html |
product.buy.options (array)
This array accesses a set of options available to the product. These options are controlled via Product Sets in the control panel, and allows a customer to choose from say 3 different colours or sizes of the same product. You will need to be able to build some new data loops to access this information and then display it with HTML. If you want to use a pre-formatted options list, please see options_html above.
Term | Data Type | Typical Output | Description |
---|---|---|---|
name | varchar | Colour | A text name for the options group |
choices | array | … | HTML / Javascript supporting code for Google analytics tracking |
choices (array)
Each Choices array contains the following.
Term | Data Type | Typical Output | Description |
---|---|---|---|
name | varchar | Green | A text name for this option |
value | int | 2 | A corresponding int to the name, you would put this in the value field of your html <option> |
Usage
{% for option in product.buy.options %} <select name="productSet[]"> <option value="0">Choose {{ option.name }}</option> {% for choice in option.choices %} <option value="{{ choice.value }}">{{ choice.name }}</option> {% endfor %} </select><br /> {% endfor %}
product.buy.products (array)
This array accesses a set of product set members available to the product (which will be a master product in the set). These products are controlled via Product Sets in the control panel, and allows a customer to choose from say 3 different colours or sizes of the same product. You will need to be able to build some new data loops to access this information and then display it with HTML. If you want to use a pre-formatted options list, please see options_html above.
Term | Data Type | Typical Output | Description |
---|---|---|---|
id | varchar | Colour | The product id |
name | varchar | Colour | The name of the product |
code | varchar | SKU9992 | The product code |
image_one | array | An array containing active, mini, thumb, main and large. | |
price_ex_tax | varchar | … | The Price Excluding Tax |
buy_link | varchar | … | /dept/1/add/455_1 |
link | varchar | … | /product/productname_1.html |
tags | array | An array of tags comprising of tag.name and tag.id |
Usage
{% if product.id == '2689' %}
{% for product in product.buy.products %}
<p>
<a href="{{ product.link }}">{{ product.name }}</a> {{ product.price_ex_tax|raw }} <button onclick="location.href='{{ product.buy_link }}';">Buy</button>
<br />
{% for tag in product.tags %}
Features: {{ tag.name }}
{% endfor %}
</p>
{% endfor %}
{% endif %}
product.reviews (array)
This array accesses a list of product reviews which you can cycle through and render using HTML.
Each product.reviews variable is an array containing the following.
Term | Data Type | Typical Output | Description |
---|---|---|---|
name | varchar | John | The name of the reviewer |
title | varchar | My Review | The title of the review |
body | varchar | Colour | The review content |
rating | varchar | Colour | The rating out of 5 |
date.created | varchar | 10/10/2013 | The date the review was added |
Usage
{% if product.reviews %} <div class="row"> {% for review in product.reviews %} <div class="span7"> <div class="padding-20"> <p class="text-extra-medium">{{ review.title|raw }}</p> <p>{{ review.body | replace({"\n":"<br />"})}}</p> </div> </div> <div class="span4"> <div class="padding-20"> <p> <span class="text-small">Written By {{ review.name|raw }} on {{ review.date.created }}</span> </p> <img src="images/review/{{ review.rating }}-stars.gif" width="116" height="20" /> </div> </div> {% endfor %} </div> {% endif %}
product.tags (array)
This array accesses a list of product tags assigned to a product which you can cycle through and render using HTML. You will need to make sure any tags are associated with a tag group.
Each product.tags variable is an array containing the following.
Term | Data Type | Typical Output | Description |
---|---|---|---|
tag_group.name | varchar | Colour | The name of the tag group |
tag_group.id | int | 44 | The id of the Tag Group |
tag_group.url | varchar | http://www.. | An optional hyperlink |
tag_group.description | varchar | Colour | A Description for the Tag Group |
tag_group.image | varchar | tag-group-image.jpg | The image associated with the Tag Group |
tag.name | varchar | Red | The name of the tag associated to the group |
tag.id | int | 46 | The id of the tag |
tag.url | varchar | http://www.. | An optional hyperlink |
tag.description | varchar | Colour | A Description for the tag |
tag.image | varchar | tag-image.jpg | The image associated with the tag |
Usage
{% if tags %} <div class="padding-7"> <table> <tr> <td class="text-small padding-top-5">Product Code</td> <td> </td> <td class="text-small padding-top-5 code"> {{ product.code }} </td> </tr> {% for tag in tags|sort %} {% set tagIgnore = ['Box Size (LxWxD)','Min Bar Pressure','Shower Head Size','Stocked','Handset Type','Instruction Booklet 1','Instruction Booklet 2'] %} {% if tag.tag_group.name not in tagIgnore and tag.tag_group.name != '' %} {# if tag.tag_group.name != 'Box Size (LxWxD)' and product.category not in [25,27,28,29,30,31,32,33] #} <tr> <td class="text-small padding-top-5">{{ tag.tag_group.name }}</td> <td> </td> <td class="text-small padding-top-5"> {% if tag.tag.name == 'See water pressure guide' %} <a href="/water-pressure-guide.html" title="Water Pressure Guide">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Sold separately' %} <a href="/d/Accessories_51.html" title="Accessories and Wastes">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Argo' %} <a href="/d/Argo_8.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Cyclo' %} <a href="/d/Cyclo_19.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Koyo' %} <a href="/d/Koyo_9.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Iso' %} <a href="/d/Iso_10.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Marino' %} <a href="/d/Marino_11.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Taboo' %} <a href="/d/Taboo_12.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Cento' %} <a href="/d/Cento_13.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Tanto' %} <a href="/d/Tanto_14.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Vedo' %} <a href="/d/Vedo_15.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Timo' %} <a href="/d/Timo_17.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Modo' %} <a href="/d/Modo_18.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% elseif tag.tag.name == 'Chao' %} <a href="/d/Chao_20.html" title="See the {{ tag.tag.name }} Collection">{{ tag.tag.name }}</a> {% else %} {{ tag.tag.name }} {% endif %} <br /> </td> </tr> {# endif #} {% endif %} {% endfor %} </table> </div> {% endif %}
attribute_groups (array)
This array accesses a list of attribute groups and their attributes available to the product. These options are controlled via Product attributes in the control panel, and allows a customer to choose from product add ons such as more memory for a custom computer. You can link attributes to products in your catalog, allowing you to pull in the price of that item when a customer adds the master product to the basket. You will need to be able to build some new data loops to access this information and then display it with HTML.
Each attribute_groups variable is an array containing the following.
Term | Data Type | Typical Output | Description |
---|---|---|---|
id | int | Colour | The ID of the attribute group |
name | varchar | Colour | The name of the attribute group |
attributes | array | … | An array of attribute options for this group |
attributes (array)
Each attributes array contains the following.
Term | Data Type | Typical Output | Description |
---|---|---|---|
id | int | 2 | The ID of the attribute |
count | int | 4 | The attribute count - useful for loops |
name | varchar | Green | The name of the attribute |
product.code | varchar | CODE123 | Your own product code |
product.man_code | varchar | MAN1234 | The manufacturer code for your product |
product.upc_code | varchar | 2324234234234 | The unique UPC code |
product.ean_code | varchar | 2342342354234 | The unique EAN code |
price_raw | float | 2 | The raw price ex tax with no currency |
price | varchar | 2 | The formatted price ex tax in the chosen currency <option> (Deprecated) |
price_ex_tax | varchar | £5.00 | The price excluding tax formatted to the local currency |
price_inc_tax | varchar | £5.90 | The price including tax formatted to the local currency |
qty | int | 2 | A value for the quantity of the attribute option |
product.id | int | 4 | The id for the product related to the attribute |
product.link | varchar | /product/name_456.html | The link to the product behind the attribute (if set) |
product.buy_link | varchar | /product/buy/456.html | The link that adds the product to the basket |
product.stock | varchar | 56 | The current stock level for the product related to the attribute |
product.name | varchar | Product Name | Title of the product related to the attribute |
product.image_one.active | boolean | True / false | Determines if image exists |
product.image_one.mini | varchar | http://www.yourstore/images/product_images/mini/product_image.jpg | Mini Image URL & Path |
product.image_one.small | varchar | http://www.yourstore/images/product_images/small/product_image.jpg | Small Image URL & Path |
product.image_one.thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image.jpg | Thumb Image URL & Path |
product.image_one.main | varchar | http://www.yourstore/images/product_images/main/product_image.jpg | Main Image URL & Path |
Usage
You can make many variations of Attribute lists, including radio checkbox attribute lists, Tabbed attribute lists or simple checkbox attribute lists.
Below we have an example of a radio list attribute selection.
{% if attribute_groups %} <table cellpadding="0" cellspacing="0" border="0" width="100%"> {% for ag in attribute_groups %} <tr><td><h3> Choose {{ ag.name }} </h3> <table cellpadding="4" cellspacing="0" border="0" width="100%"> {% for attribute in ag.attributes %} <tr> <!-- <td>{{ attribute.qty }} X</td> --> <td width="70%">{{ attribute.name }}</td> <td>{% if attribute.price_raw > 0 %} + {{ attribute.price|raw }} {% endif %}</td> <td>{% if attribute.product.id %} [ {{ attribute.product.stock }} In Stock] {% endif %}</td> <td><input type="radio" id="{{ attribute.id }}" name="attributes[{{ ag.id }}]" value="{{ attribute.id }}" {% if attribute.count == 1 %}checked{% endif %}></td> </tr> {% endfor %} </table></td></tr> {% endfor %} </tr> </table> {% endif %}
Alternatively you can set them up as a HTML dropdown option list
{% if attribute_groups %}
{% for ag in attribute_groups %}
<div class="div-XX"></div>
<div class="row">
<div class="col-sm-2">
<h4 class="font-sm font-blue">
<strong>Choose {{ ag.name }}</strong>
</h4>
</div>
<div class="col-sm-4">
<select id="attributes[{{ ag.id }}]" name="attributes[{{ ag.id }}]" class="form-control">
{% for attribute in ag.attributes %}
<option value="{{ attribute.id }}" {% if attribute.count == 1 %}selected{% endif %}>
{{ attribute.name }}
{% if attribute.price_raw > 0 %} + {{ attribute.price|raw }} {% endif %}
</option>
{% endfor %}
</select>
</div>
</div>
<div class="div-XX"></div>
<div class="page-div"></div>
{% endfor %}
{% endif %}
related_products / alternative_products (array)
The related_products & alternative_products reference allows you to display products that relate to the brand. This reference is a recursive array containing the following references within each sub array contained within products.
The related_products reference uses a snippet to display each product.
Term | Data Type | Typical Output | Description |
---|---|---|---|
count | int | 8 | The current count id of this item |
id | int | 4 | The product id |
image_mini | varchar | http://www.yourstore/images/product_images/mini/product_image.jpg | Mini Image URL & Path |
image_small | varchar | http://www.yourstore/images/product_images/small/product_image.jpg | Small Image URL & Path |
image_thumb | varchar | http://www.yourstore/images/product_images/thumb/product_image.jpg | Thumb Image URL & Path |
image_main | varchar | http://www.yourstore/images/product_images/main/product_image.jpg | Main Image URL & Path |
image_large | varchar | http://www.yourstore/images/product_images/large/product_image.jpg | Large Image URL & Path |
link | varchar | http://www.yourstore/product/product_name_1.html | Link to the product |
link_button | html | <button… | HTML button with link to the product |
short_description | varchar | Short description of product | Short description |
buy_button | html | <button id=”… | HTML buy button w/out quantity |
buy_button_image | html | <a href=“buy”><img src=”… | HTML image button |
price_ex_tax | varchar | £5.00 | The price excluding tax formatted to the local currency |
price_inc_tax | varchar | £5.90 | The price including tax formatted to the local currency |
price_was | varchar | £5.90 | The original price formatted to the local currency |
price_saved | varchar | £5.90 | The amount saved inc tax formatted to the local currency |
price_saved_percent | varchar | £5.90 | The percentage saved over the original price |
price_rrp | varchar | £5.90 | The original RRP price formatted to the local currency |
price_rrp_saved | varchar | £5.90 | The amount saved inc tax formatted to the local currency |
price_rrp_saved_percent | varchar | £5.90 | The percentage saved over the original price |
is_special | boolean | True / false | Determines if the product is on special offer |
savings_text | html | Youve saved x amount.. | HTML savings text |
tax_rate | varchar | 20 | Tax rate in percent |
name | varchar | Product Name | Title of the product |
name_short | varchar | Product Na.. | An abbreviated title of the product |
stock | varchar | 56 | The current stock level for this product |
code | varchar | 201224 | The product code |
man_code | varchar | DFG-45323 | The manufacturers code |
upc_code | varchar | 6346345 | The UPC code |
brand.name | varchar | Value Range | The brand / manufacturers name |
brand.id | varchar | 5 | The brand id |
is_free_delivery | varchar | True / false | Determines if this product is eligible for free delivery |
review_stars | html | <img src=”.. | The html image showing review stars |
review_average | int | 4 | The average rating out of 5 |
review_count | int | 6 | The total number of reviews |
login_for_price | boolean | True / false | User has to log in to view price if true |
qty_prices | html | 100+ $5.00, 200+ $4.85.. | HTML quantity prices |
Usage
<div class="featureContainer"> <hr /><div class="featureContainer"> {% if products %} {% for product in products %} {% include "snippets/products.snippet.html" %} {% endfor %} {% endif %} </div> </div>
snippets/products.snippet.html in detail
<div class="feature"> <a href="{{ product.link }}" title="{{ product.name }}"><img src="{{ product.image_thumb|raw }}" border="0" width="100" height="100" alt="{{ product.name }}" /></a> <p><a href="{{ product.link }}" title="{{ product.name }}">{{ product.name_short }}</a></p> <div class="price"><strong>{{ product.price_inc_tax|raw }}</strong></div> <div class="buy"> {% if product.login_for_price == false or user.is_logged_on %} {{ product.buy_button|raw }} {% else %} <a href="javascript:onClick=alert(\'Please login to buy this item \n\nIf you do not have an account, registration is quick and easy. Once logged in you can view all our prices and make purchases online.\')"><img src="pics/buttons/buy" border="0" alt="Buy {{ product.name }} " /></a> {% endif %} </div> </div>
Comments
0 comments
Please sign in to leave a comment.