app/Plugin/PinpointSaleDx/Resource/template/cart_parts.twig line 1

Open in your IDE?
  1. {% set ProductClass = CartItem.ProductClass %}
  2. {% set PinpointSaleDxItem = ProductClass.PinpointSaleDxItem %}
  3. {% if PinpointSaleDxItem is not null and PinpointSaleDxItem.active %}
  4.     {% if pinpointSaleIndex is defined %}
  5.         {% set suffix = pinpointSaleIndex %}
  6.     {% else %}
  7.         {% set suffix = '_d_'~ProductClass.id %}
  8.     {% endif %}
  9.     <div id="pinpoint_sale_price_{{ suffix }}" class="ec-color-accent" style="font-size: 14px;">
  10.         ({{ discountName }}:-{{ PinpointSaleDxItem.DiscountPriceIncTax|number_format }}円 × {{ CartItem.quantity }})
  11.     </div>
  12. {% endif %}