{% extends 'catalogue/detail.html' %} {% load static thumbnail i18n product_tags %} {% block content %} {% thumbnail product.get_all_images.first.original "1920x1080" upscale=False as thumb %}
{% if product.attribute_dict.premium.value %}
{% endif %}
{% 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 }}

{% block product_stock_record %} {% include "catalogue/partials/stock_record.html" with extra='/20 pods' %} {% endblock %}
{{ product.attribute_dict.coffee_taste.value }}
{% comment %} {% iffeature "reviews" %} {% include "catalogue/reviews/partials/review_stars.html" %} {% endiffeature %} {% endcomment %}
{% block variants %} {% if subscription %}
*Save up to 20% when you subscribe!
{% endif %} {% for item in variation_attributes %}
{{ item.name }} {% for value in item.values %} {% endfor %}
{% endfor %} {% endblock %}
{% block product_basket_form %} {% include "catalogue/partials/add_to_basket_form.html" %} {% endblock %}
{% endblock %}
{% endthumbnail %}
{{ product.attribute_dict.more_taste.value|safe }}
{% block product_gallery %} {% include "catalogue/partials/gallery.html" %} {% endblock %}
{% block product_info %}

{% trans "Product Information" %}

Country
{{ product.attribute_dict.country.value }}
Producer
{{ product.attribute_dict.coffee_producer.value }}
Altitude
{{ product.attribute_dict.altitude.value }}
Varietal
{{ product.attribute_dict.varietal.value }}
Processes
{{ product.attribute_dict.process.value }}
{% endblock %}
{% comment %} {% iffeature "reviews" %} {% trans "Number of reviews" %} {{ product.num_approved_reviews }} {% endiffeature %} {% endcomment %}
{% block product_description %} {% if product.description %}

{% trans "Product Description" %}

{{ product.description|safe }}

{% endif %} {% endblock %}
{% with recommended_products=product.sorted_recommended_products|slice:":6" %} {% if recommended_products %}

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

{% for product in recommended_products %}
{% render_product product %}
{% endfor %}
{% endif %} {% endwith %}
{% endblock %} {% block scripts %} {{ block.super }} {% endblock %}