| @@ -9,19 +9,22 @@ | |||||
| .product-name { | .product-name { | ||||
| font-size: 18px; | font-size: 18px; | ||||
| line-height: 20px; | line-height: 20px; | ||||
| height: auto; | |||||
| overflow: visible; | |||||
| height: 39px; | |||||
| padding-left: 2px; | |||||
| } | } | ||||
| .product-info { | .product-info { | ||||
| min-height: 110px; | |||||
| min-height: 120px; | |||||
| } | } | ||||
| .product-price-info { | .product-price-info { | ||||
| position: absolute; | |||||
| width: 100%; | width: 100%; | ||||
| bottom: 16px; | |||||
| padding-left: 2px; | |||||
| padding-bottom: 58px; | |||||
| margin: 0; | margin: 0; | ||||
| line-height: 16px; | line-height: 16px; | ||||
| .product-price-wrapper { | .product-price-wrapper { | ||||
| position: absolute; | |||||
| bottom: 16px; | |||||
| padding-right: 48px; | |||||
| font-size: 15px; | font-size: 15px; | ||||
| .product-price { | .product-price { | ||||
| color: $sw-color-brand-primary; | color: $sw-color-brand-primary; | ||||
| @@ -43,7 +43,7 @@ | |||||
| {% if (product.customFields.custom_weightlossplan_day5_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} | {% 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 (product.customFields.custom_weightlossplan_day6_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} | ||||
| {% if weekProductCount >= 1 %} | {% if weekProductCount >= 1 %} | ||||
| <span>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag</span> | |||||
| <span class="spwn-week-count"><small>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag</small></span> | |||||
| {% endif %} | {% endif %} | ||||
| </div> | </div> | ||||
| {% if product.translated.customFields.deposittype %} | {% if product.translated.customFields.deposittype %} | ||||
| @@ -9,19 +9,22 @@ | |||||
| .product-name { | .product-name { | ||||
| font-size: 18px; | font-size: 18px; | ||||
| line-height: 20px; | line-height: 20px; | ||||
| height: auto; | |||||
| overflow: visible; | |||||
| height: 39px; | |||||
| padding-left: 2px; | |||||
| } | } | ||||
| .product-info { | .product-info { | ||||
| min-height: 110px; | |||||
| min-height: 120px; | |||||
| } | } | ||||
| .product-price-info { | .product-price-info { | ||||
| position: absolute; | |||||
| width: 100%; | width: 100%; | ||||
| bottom: 16px; | |||||
| padding-left: 2px; | |||||
| padding-bottom: 58px; | |||||
| margin: 0; | margin: 0; | ||||
| line-height: 16px; | line-height: 16px; | ||||
| .product-price-wrapper { | .product-price-wrapper { | ||||
| position: absolute; | |||||
| bottom: 16px; | |||||
| padding-right: 48px; | |||||
| font-size: 15px; | font-size: 15px; | ||||
| .product-price { | .product-price { | ||||
| color: $sw-color-brand-primary; | color: $sw-color-brand-primary; | ||||
| @@ -34,7 +37,7 @@ | |||||
| } | } | ||||
| .product-price-unit, | .product-price-unit, | ||||
| .product-cheapest-price { | .product-cheapest-price { | ||||
| display: none; | |||||
| // display: none; | |||||
| } | } | ||||
| .filterIcon { | .filterIcon { | ||||
| position: absolute; | position: absolute; | ||||
| @@ -43,7 +43,7 @@ | |||||
| {% if (product.customFields.custom_weightlossplan_day5_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} | {% 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 (product.customFields.custom_weightlossplan_day6_image != null) %}{% set weekProductCount = weekProductCount + 1 %}{% endif %} | ||||
| {% if weekProductCount >= 1 %} | {% if weekProductCount >= 1 %} | ||||
| <span>{{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit</span> | |||||
| <span class="spwn-week-count"><small>{{ (price.unitPrice / (weekProductCount * 2)) | json_encode() | round(2) | replace({'.': ','}) }} € pro Mahlzeit</small></span> | |||||
| {% endif %} | {% endif %} | ||||
| </div> | </div> | ||||
| {% if product.translated.customFields.deposittype %} | {% if product.translated.customFields.deposittype %} | ||||