{% extends "base_satchmo.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 satchmo_thumbnail %} {% load satchmo_price %} {% load satchmo_currency satchmo_category %} {% load satchmo_ratings %} {% load satchmo_util satchmo_discounts %} {% if "recentlist"|app_enabled %}{% load satchmo_recentlist %}{% endif %} {% 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 sidebar %}

    {% trans "Shop Categories" %}

    {% endblock %} {% block recentview %} {% if recent_products %} {% if "recentlist"|app_enabled %}{% recentlyviewed recent_products product.slug %}{% endif %} {% endif %} {% 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 %} {% endfor %} {% if error_message %}

    {{ error_message }}

    {% endif %}
    {% trans "Quantity" %} {% if "wishlist"|app_enabled and user.is_authenticated %} {% endif %} {% product_upsell product %}
    {% endblock %} {% block productfooter %} {% if sale %} {% include "discount/product_eligible.html" %} {% endif %} {% product_ratings %} {% endblock %} {% endblock %}