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

Categories: {% for category in categories %} {{category}}   {% endfor %}

Looking for your previous orders?


{% for product in products %}
{{ product.category.name }}

{{ product.name }}

Price: {{ product.price|currency }}

{{ product.description|truncatechars:30 }}

Availability:
{{ product.available_in.lower|date:"Y-m-d H:i" }} {% if product.available_in.upper %} - {{ product.available_in.upper|date:"Y-m-d H:i" }} {% endif %}
{% endfor %}
{% endblock %}