Florian Eisenmenger преди 4 години
родител
ревизия
2538c250c5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig

+ 1
- 1
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 %}
<span>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag</span>
<span>{{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit</span>
{% endif %}
</div>
{% if product.translated.customFields.deposittype %}


Зареждане…
Отказ
Запис