Browse Source

check

master
Florian Eisenmenger 4 years ago
parent
commit
55fe6ab127
4 changed files with 19 additions and 13 deletions
  1. +8
    -5
      zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss
  2. +1
    -1
      zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig
  3. +9
    -6
      zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss
  4. +1
    -1
      zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig

+ 8
- 5
zenitPlatformAtmosSet1/src/Resources/app/storefront/src/scss/component/_product-box.scss View File

@@ -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;


+ 1
- 1
zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig View File

@@ -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 class="spwn-week-count"><small>{{ (price.unitPrice / weekProductCount) | json_encode() | round(2) | replace({'.': ','}) }} € pro Tag</small></span>
{% endif %}
</div>
{% if product.translated.customFields.deposittype %}


+ 9
- 6
zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_product-box.scss View File

@@ -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;


+ 1
- 1
zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig View File

@@ -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 * 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 %}
</div>
{% if product.translated.customFields.deposittype %}


Loading…
Cancel
Save