Florian Eisenmenger pirms 4 gadiem
vecāks
revīzija
45c37668ed
6 mainītis faili ar 38 papildinājumiem un 21 dzēšanām
  1. +1
    -1
      zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig
  2. +8
    -6
      zenitPlatformAtmosSet2/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set2.js
  3. +6
    -0
      zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_card.scss
  4. +2
    -3
      zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/page/product-detail/_product-detail.scss
  5. +20
    -10
      zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/page/product-detail/_review.scss
  6. +1
    -1
      zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig

+ 1
- 1
zenitPlatformAtmosSet1/src/Resources/views/storefront/component/product/card/price-unit.html.twig Parādīt failu

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


+ 8
- 6
zenitPlatformAtmosSet2/src/Resources/app/storefront/dist/storefront/js/zenit-platform-atmos-set2.js Parādīt failu

@@ -35,13 +35,15 @@ $(document).ready(function() {
changeDelivery(fp); changeDelivery(fp);
} }
var sticky = $(".thumbnail-container"),
parentContainer = sticky.parents(".aku-cms-factory-element"),
stickyTop = sticky.offset().top;
tagBar(sticky, parentContainer, stickyTop);
$(window).on('resize scroll', function() {
var sticky = $(".thumbnail-container");
if (sticky.length) {
var parentContainer = sticky.parents(".aku-cms-factory-element"),
stickyTop = sticky.offset().top;
tagBar(sticky, parentContainer, stickyTop); tagBar(sticky, parentContainer, stickyTop);
});
$(window).on('resize scroll', function () {
tagBar(sticky, parentContainer, stickyTop);
});
}
}); });


function manipulateDateInputValue() { function manipulateDateInputValue() {


+ 6
- 0
zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/component/_card.scss Parādīt failu

@@ -6,6 +6,12 @@
border: none; border: none;
} }
.card {
.product-rating {
display: none;
}
}
.cart-table-header { .cart-table-header {
color: #222; color: #222;
} }


+ 2
- 3
zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/page/product-detail/_product-detail.scss Parādīt failu

@@ -79,9 +79,8 @@
border-bottom: 1px solid #86b04b; border-bottom: 1px solid #86b04b;
} }
.product-detail-name { .product-detail-name {
font-size: 60px;
line-height: 54px;
color: $sw-color-brand-primary;
color: $sw-color-brand-secondary;
line-height: 40px !important;
} }
.product-detail-price { .product-detail-price {
color: $sw-color-brand-primary; color: $sw-color-brand-primary;


+ 20
- 10
zenitPlatformAtmosSet2/src/Resources/app/storefront/src/scss/page/product-detail/_review.scss Parādīt failu

@@ -1,12 +1,22 @@
.point-rating {
&.point-blank {
.icon {
color: #B1C3D9;
}
}
&.point-full {
.icon {
color: #B61F34;
}
.product-detail-reviews {
display: block;
.product-detail-reviews-link {
color: $sw-color-brand-secondary;
text-decoration: underline;
&:hover {
text-decoration: none;
} }
}
.point-rating {
&.point-blank {
.icon {
color: #C9DEB0;
}
}
&.point-full {
.icon {
color: $sw-color-brand-secondary;
}
}
}
} }

+ 1
- 1
zenitPlatformAtmosSet2/src/Resources/views/storefront/component/product/card/price-unit.html.twig Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt