From 79a705bc94e560626a8a54c15bc5852a0aa8ed3a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 3 Feb 2020 23:30:05 +0100 Subject: [PATCH] [product] add description3,4 and 5 --- models/product.ini | 12 ++++++++++++ templates/product.html | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/models/product.ini b/models/product.ini index 1cd557b..8e161de 100644 --- a/models/product.ini +++ b/models/product.ini @@ -24,6 +24,18 @@ type = markdown label = Description 2 type = markdown +[fields.description3] +label = Description 3 +type = markdown + +[fields.description4] +label = Description 4 +type = markdown + +[fields.description5] +label = Description 5 +type = markdown + [fields.link] label = Link type = url diff --git a/templates/product.html b/templates/product.html index ba07a87..f28d698 100644 --- a/templates/product.html +++ b/templates/product.html @@ -49,6 +49,15 @@ +{% if this.description3 %} +
+
+
+ {{ this.description3 }} +
+
+
+{% endif %}
@@ -87,6 +96,15 @@

+{% if this.description4 %} +
+
+
+ {{ this.description4 }} +
+
+
+{% endif %}
@@ -100,4 +118,13 @@
+{% if this.description5 %} +
+
+
+ {{ this.description5 }} +
+
+
+{% endif %} {% endblock %}