From 628b5963479df7e6754b86aa90a354574f4bfb29 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 14 Oct 2018 12:40:48 +0000 Subject: [PATCH] Revert "add new prices" This reverts commit 8932f58e622373a6c9655aedb6f22be2bdc2e888. --- config.toml | 17 +++++++++++++++- .../layouts/partials/pricing.html | 20 +++++++++++++------ 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/config.toml b/config.toml index be17266..e11b530 100644 --- a/config.toml +++ b/config.toml @@ -66,7 +66,22 @@ text = "Viele Menschen mit Behinderung haben Schwierigkeiten – sei es auf G [params.pricing] heading = "Preise" -price = "5,95 €" + +[[params.pricing.row]] +quantity = "bis 10" +price = "4,95 €" + +[[params.pricing.row]] +quantity = "11 bis 20" +price = "4,00 €" + +[[params.pricing.row]] +quantity = "21 bis 50" +price = "3,50 €" + +[[params.pricing.row]] +quantity = "über 50" +price = "3,00 €" [params.order] heading = "Bestellen" diff --git a/themes/schliesspendel/layouts/partials/pricing.html b/themes/schliesspendel/layouts/partials/pricing.html index e8f8708..c14033d 100644 --- a/themes/schliesspendel/layouts/partials/pricing.html +++ b/themes/schliesspendel/layouts/partials/pricing.html @@ -2,12 +2,20 @@
{{ .Site.Params.Pricing.heading }}
-

- Ein Schließpendel kostet - {{ .Site.Params.Pricing.price }}. Bei größeren - Abnehmemengen, fordern Sie bitte einen Kostenvoranschlag an, um - günstigere Konditionen zu erhalten. -

+ + + + + + + {{ range .Site.Params.Pricing.row }} + + + + + {{ end }} + +
AbnahmemengePreis pro Stück
{{ .quantity }}{{ .price }}
{{ .Site.Params.Order.heading }}