diff --git a/zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss b/zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss index d9e6f65..f1ff4e3 100644 --- a/zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss +++ b/zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss @@ -9,19 +9,22 @@ .product-name { font-size: 18px; line-height: 20px; - height: auto; - overflow: visible; + height: 39px; + padding-left: 2px; } .product-info { - min-height: 110px; + min-height: 120px; } .product-price-info { - position: absolute; width: 100%; - bottom: 16px; + padding-left: 2px; + padding-bottom: 58px; margin: 0; line-height: 16px; .product-price-wrapper { + position: absolute; + bottom: 16px; + padding-right: 48px; font-size: 15px; .product-price { color: $sw-color-brand-primary; diff --git a/zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig b/zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig index dea0cc8..d33e9d0 100644 --- a/zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig +++ b/zenitPlatformAtmosSet1/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) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag {% endif %} {% if product.translated.customFields.deposittype %} diff --git a/zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss b/zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss index c2b882e..81cbbcb 100644 --- a/zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss +++ b/zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss @@ -9,19 +9,22 @@ .product-name { font-size: 18px; line-height: 20px; - height: auto; - overflow: visible; + height: 39px; + padding-left: 2px; } .product-info { - min-height: 110px; + min-height: 120px; } .product-price-info { - position: absolute; width: 100%; - bottom: 16px; + padding-left: 2px; + padding-bottom: 58px; margin: 0; line-height: 16px; .product-price-wrapper { + position: absolute; + bottom: 16px; + padding-right: 48px; font-size: 15px; .product-price { color: $sw-color-brand-primary; @@ -34,7 +37,7 @@ } .product-price-unit, .product-cheapest-price { - display: none; + // display: none; } .filterIcon { position: absolute; 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 ee6da4f..97ebf80 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 * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit + {{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit {% endif %} {% if product.translated.customFields.deposittype %}