Add comment in product type

This commit is contained in:
2017-10-22 21:10:02 +02:00
parent cd4b0d8e0c
commit 6113de33ec
4 changed files with 26 additions and 2 deletions

View File

@ -41,6 +41,10 @@
{% for t in categories %}
{% if eboutic.products.filter(product_type=t).exists() %}
<h5>{{ t }}</h5>
{% if t.comment %}
<p>{{ t.comment }}</p>
{% endif %}
<br />
{% for p in eboutic.products.filter(product_type=t).all() %}
{% set file = None %}
{% if p.icon %}