{% extends "layout.html" %} {% load currency_filters %} {% load history_tags %} {% load basket_tags %} {% block header %}

{{item.get_title}}

{% endblock header %} {% block content %}
{% for image in item.images.all %} {% if image.caption %}
{{ image.caption }}
{% endif %} {% endfor %}
{% if item.stockrecord %} {% endif %} {% for attribute in item.attributes.all %} {% endfor %}
Product details
UPC{{item.upc}}
Product class{{item.product_class.name}}
Price (excl. tax){{item.stockrecord.price_incl_tax|currency}}
Price (incl. tax){{item.stockrecord.price_excl_tax|currency}}
Availability {{ item.stockrecord.availability }}
Product type {% if item.is_group %}Product group{% else %}{% if item.is_variant %}Variant{% else %}Stand-alone{% endif %}{% endif %}
{{ attribute.type.name }} {{ attribute.value }}
Batteries Needed: {{ item.batteries_needed }} Batteries Included: {{ item.batteries_needed }} {% if item.stockrecord %} {% basket_form item as form %}
{% csrf_token %} {{ form.as_p }}
{% endif %} {% recently_viewed_products %} {% if item.related_items.count %}

Related items

{% endif %} {% if item.recommended_items.count %}

Recommended items

{% endif %} {% endblock content %}