{% extends "layout.html" %} {% load currency_filters %} {% load history_tags %} {% load i18n %} {% block extrahead %} {% endblock %} {% block title %} {{ product.title }} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %} {% endblock header %} {% block content %}
{% if user.is_authenticated and user.is_staff %}
{% endif %}
{% include "catalogue/partials/gallery.html" %}

{{ product.get_title }}

{% include "catalogue/partials/stock_record.html" %} {% if reviews %}
    {% for review in reviews %}
  • {{ review.score }}
  • {% endfor %}
{% else %}

{% trans "Write a review" %}

{% endif %}
{% include "catalogue/partials/add_to_basket_form.html" %}
{% block product_description %} {% if product.description %}

{% trans "Product Description" %}

{{ product.description|safe }}

{% endif %} {% endblock %} {% block product_info %}

Product Information

{% if product.upc %} {% endif %} {% if product.stockrecord %} {% endif %} {% for av in product.attribute_values.all %} {% endfor %}
{% trans "UPC" %}{{ product.upc }}
{% trans "Product class" %}{{ product.product_class.name }}
{% trans "Price (excl. tax)" %}{{ product.stockrecord.price_incl_tax|currency }}
{% trans "Price (incl. tax)" %}{{ product.stockrecord.price_excl_tax|currency }}
{% trans "Availability" %} {{ product.stockrecord.availability }}
{{ av.attribute.name }} {{ av.value }}
{% trans "Num reviews" %} {{ reviews.count }}
{% endblock %} {% block product_review %}

{% trans "Customer Reviews" %}

{% if reviews %}

{% trans "Read customer reviews on this product." %}

{% else %}

{% trans "Be the first to review this product." %}

{% endif %} {% if reviews %}
{% for review in reviews|slice:":3" %}

{{ review.title }} {{ review.score }}

{% trans "Reviewed by" %} {{ review.get_reviewer_name }} ({{ review.date_created }})

{{ review.body|linebreaks }}

{% include 'reviews/_vote_bit.html' %} {% if review.has_votes %}

{{ review.num_up_votes }} customer{{ review.num_up_votes|pluralize }} found this review helpful.

{% endif %}
{% endfor %}
{% endif %}
{% endblock product_review %}
{% if product.related_products.count %}

{% trans "Related items" %}

{% endif %} {% if product.recommended_products.count %}

{% trans "Recommended items" %}

{% endif %} {% recently_viewed_products %}
{% endblock content %}