From 2538c250c52b517b3d8cf24b2c587fc010b524bf Mon Sep 17 00:00:00 2001 From: Florian Eisenmenger Date: Fri, 4 Mar 2022 10:26:47 +0100 Subject: [PATCH] easyfit --- .../storefront/component/product/card/price-unit.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig b/zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig index dea0cc8..ee6da4f 100644 --- a/zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig +++ b/zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig @@ -43,7 +43,7 @@ {% if (product.customFields.custom_weightlossplan_day5_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} {% if (product.customFields.custom_weightlossplan_day6_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} {% if weekProductCount >= 1 %} - {{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag + {{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit {% endif %} {% if product.translated.customFields.deposittype %}