浏览代码

check

master
父节点
当前提交
52f175bb29
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      testsystem/zenitPlatformAtmosSet1/src/Resources/views/storefront/component/checkout/offcanvas-cart.html.twig

+ 3
- 2
testsystem/zenitPlatformAtmosSet1/src/Resources/views/storefront/component/checkout/offcanvas-cart.html.twig 查看文件

@@ -13,9 +13,10 @@
{% for lineItem in page.cart.lineItems %}
{% if lineItem.payload is defined and lineItem.payload.customFields is defined and
lineItem.payload.customFields.spwn_discountable_box is defined %}
{# {{dump(lineItem.payload)}}#}
{% set customizedProductsCount = customizedProductsCount + lineItem.quantity %}
{% set isProgram = isProgram + lineItem.payload.customFields.custom_weightlossplan_day1_breakfast is defined %}
{% if lineItem.payload.customFields.custom_weightlossplan_day1_breakfast is defined %}
{% set isProgram = isProgram + lineItem.quantity %}
{% endif %}
{% endif %}
{% endfor %}
<div class="offcanvas-cart-items">


正在加载...
取消
保存