{% extends "catalogue/detail.html" %} {% load history_tags %} {% load currency_filters %} {% load reviews_tags %} {% load staticfiles %} {% load product_tags %} {% load display_tags %} {% load i18n %} {% load purchase_info_tags %} {% load thumbnail %} {% block body_class %}product gift-sets-detail{% endblock %} {% block content %}
{% block product_gallery %}
{% include "catalogue/partials/gallery.html" %}
{% endblock %} {% block product_main %}
{% comment %} This is a but clunky here. Better to have some kind of JS-driven dashboard menu that pops out when clicked. A bit like the Django-Debug-Toolbar button {% endcomment %} {% if user.is_staff %} {% endif %}

{{ product.get_title }}

{{ product.attr.model }}
{% block product_stock_record %} {% include "catalogue/partials/stock_record.html" with verbose=1 %} {% endblock %}
{% block variants %} {% if subscription %} {% endif %} {% for item in variation_attributes %}
{{ item.name }} {% for value in item.values %} {% endfor %}
{% endfor %} {% endblock %}
{% comment %} {% iffeature "reviews" %} {% include "catalogue/reviews/partials/review_stars.html" %} {% endiffeature %} {% endcomment %}
{% block product_description %} {% if product.description %} {{ product.description|safe }} {% endif %} {% endblock %}
{% block product_basket_form %} {% include "catalogue/partials/add_to_basket_form.html" %} {% endblock %}
{% endblock %} {% comment %} {% iffeature "reviews" %} {% block product_review %}
{% if product.num_approved_reviews > 3 %} {% trans "See all reviews" %} {% endif %}

{% trans "Customer Reviews" %}

{% if product.num_approved_reviews == 0 %}

{% if product|is_review_permitted:user %} {% url 'catalogue:reviews-add' product_slug=product.slug product_pk=product.id as add_review_url %} {% blocktrans %}This product does not have any reviews yet - be the first to write one. {% endblocktrans %} {% else %} {% trans "This product does not have any reviews yet" %}. {% endif %}

{% else %}
    {% for review in product.reviews.approved.all|slice:":3" %}
  1. {% include 'catalogue/partials/review.html' %}
  2. {% endfor %}
{% endif %}
{% endblock product_review %} {% endiffeature %} {% endcomment %}
{% comment %} {% recently_viewed_products current_product=product %} {% endcomment %}
{% with recommended_products=product.sorted_recommended_products|slice:":6" %} {% if recommended_products %}

{% trans "Other gears you might be interested in" %}

{% for product in recommended_products %}
{% render_product product %}
{% endfor %}
{% endif %} {% endwith %}
{% endblock content %}