{% extends "shop/base.html" %} {% comment %} ------------------------------------------------------------------- This is the base product detail page. To modify the templates of specific types of products, such as ProductVariations or CustomProducts, look for product/detail_xxx.html ------------------------------------------------------------------- {% endcomment %} {% load i18n %} {% load thumbnail %} {% load satchmo_price %} {% load satchmo_currency satchmo_category %} {% load satchmo_util satchmo_discounts %} {% load app_plugins %} {% block extra-head %} {% if product.meta %} {% endif %} {% endblock %} {% block navbar %}
  • {% trans "Home" %}
  • {% for name, url in product.category.all.0.get_url_name %}
  • {{ name }}
  • {% endfor %}
  • {{ product.translated_name }}
  • {% endblock %} {% block content %} {% block productdetail %}

    {{ product.translated_name }}

    {{ product.translated_description }}

    {% trans "Price" %} {% if default_view_tax %} {% trans '(incl. tax)' %}{% endif %}:

    {% if sale %}{{ product|discount_price:""|currency }}{% endif %} {{ product|discount_price:sale|currency }}

    {% for pic in product.productimage_set.all %} {% thumbnail pic.picture 280x280 as image %} {% endfor %} {% with product.translated_attributes as atts %}{% if atts %}

    {% for att in product.translated_attributes %} {{ att.description }}: {{ att.value }}
    {% endfor %}

    {% endif %}{% endwith %} {% if error_message %}

    {{ error_message }}

    {% endif %}
    {% trans "Quantity" %} {% plugin_point "product_add_buttons" %} {% plugin_point "product_form" %}
    {% endblock %} {% block productfooter %} {% if sale %}{% include "product/product_discount_eligible.html" %}{% endif %} {% plugin_point "product_footer" %} {% endblock %} {% endblock %}