foldable cuts - products page $j = jQuery.noConflict(); {{ head_content }} var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-36254092-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); $j(document).ready(function() { $j(".product-addtocart").click(function(e) { e.preventDefault(); optionNum = $j(this).prev('#option').val(); Cart.addItem(optionNum, 1, function(cart) { $j('#cart-count').html(cart.item_count + " item(s)"); $j('#cart-total').html('<span class="currency_sign">£</span>'+cart.price); }); }); });
GO

Cart

  • {{ cart.item_count | pluralize: 'item', 'items' }}
  • {{ cart.total | money_with_sign }}


{% paginate products from products.current by theme.products_per_page %} {% if products != blank %}
{% for product in products offset: 9%}
Image of {{ product.name | escape }}

{{ product.name }}

{{ product.default_price | money_with_sign }}

{% if product.on_sale %}

On Sale

{% endif %}
{% if product.has_default_option %} {{ product.option | hidden_option_input }} {% else %}
{{ product.options_in_stock | options_select }}
{% endif %} Add to cart
{% endfor %}
{{ paginate | default_pagination }} {% else %}

No products found.

{% endif %} {% endpaginate %}