{% extends "oscar/catalogue/detail.html" %} {% load compress %} {% load currency_filters %} {% load history_tags %} {% load reviews_tags %} {% load staticfiles %} {% load product_tags %} {% load thumbnail %} {% load basket_tags %} {% load purchase_info_tags %} {% load i18n %} {% purchase_info_for_product request product as session %} {% block body_class %}product-page{% endblock body_class %} {% block content %}
{% if user.is_authenticated and user.is_staff %}
{% endif %}
{% block product_gallery %}
{% include "catalogue/partials/gallery.html" %}
{% endblock %}
{% block product_main %}

{{ session.stockrecord.partner.name }}

{{ product.get_title }}

{% block product_stock_record %} {% if not product.is_group %}

{% include "catalogue/partials/stock_record.html" %}

{% trans "Free shipping" %}
{% trans "For all orders over $300" %}

{% endif %} {% endblock %} {% block product_description %} {% if product.description %}

{{ product.description|safe }}

{% endif %} {% endblock %} {% if not product.is_group %} {% block product_basket_form %}
{% include "catalogue/partials/add_to_basket_form.html" %}
{% endblock %} {% endif %} {% endblock %}
{% if product.is_group %}

{% trans "Please select your varieties" %}

{% for child in product.children.all %} {% purchase_info_for_product request product as child_session %}
{% with image=child.primary_image %} {% thumbnail image.original "70x70" upscale=False as thumb %}
{{ child.get_title }}
{% endthumbnail %} {% endwith %}

{{ child.attribute_summary }}

{% include "catalogue/partials/child_stock_record.html" with product=child %}
{% if child_session.availability.is_available_to_buy %} {% basket_form request child as basket_form %}
{% csrf_token %} {% include "partials/form_fields_inline.html" with form=basket_form %}
{% else %}

{% trans "You can get an email alert when this product is back in stock." %}

{% include "catalogue/partials/alerts_form.html" with product=child %} {% endif %}
{% endfor %} {% endif %} {% block product_info %}

{% trans "Product Information" %}

{% if product.upc %} {% endif %} {% if session.availability.is_available_to_buy %} {% endif %} {% for av in product.attribute_values.all %} {% endfor %}
{% trans "UPC" %}{{ product.upc }}
{% trans "Product class" %}{{ product.get_product_class.name }}
{% trans "Price (excl. tax)" %}{{ session.price.excl_tax|currency }}
{% trans "Price (incl. tax)" %}{{ session.price.incl_tax|currency }}
{% trans "Availability" %} {{ session.availability.message }}
{{ av.attribute.name }} {{ av.value }}
{% trans "Num reviews" %} {{ reviews.count|default:0 }}
{% endblock %} {% block product_review %}
{% include "catalogue/partials/review_totals.html" %} {% if not reviews %}

{% trans "This product does not have any reviews yet" %} - {% trans "be the first to write one" %}.

{% else %} {% for review in reviews|slice:":3" %} {% include 'catalogue/partials/review.html' %} {% endfor %} {% endif %}
{% endblock product_review %}
{% with products=product.recommended_products.all|slice:":6" %} {% if products %}

{% trans "Recommended items" %}

    {% for product in products %}
  1. {% render_product product %}
  2. {% endfor %}
{% endif %} {% endwith %}
{% recently_viewed_products %}
{% endblock content %} {% block extrascripts %} {% compress js %} {% include "partials/extrascripts.html" %} {% endcompress %} {% endblock %}