{% extends 'shop_base.html' %} {% load bootstrap3 %} {% load commonmark %} {% load shop_tags %} {% block shop_content %}

{{ product.name }}

{{ product.description|commonmark }}

Price
{{ product.price|currency }}


Add to order

{% if user.is_authenticated %} {% if product.is_available %}
{% csrf_token %} {% bootstrap_form form %} {% bootstrap_button "Add to order" button_type="submit" button_class="btn-primary" %}
{% else %}

This product is available from {{ product.available_in.lower|date:"Y-m-d H:i T" }}

{% endif %} {% else %} Signup or login to order this product {% endif %} {% endblock %}