{% set ProductClass = CartItem.ProductClass %}
{% set PinpointSaleDxItem = ProductClass.PinpointSaleDxItem %}
{% if PinpointSaleDxItem is not null and PinpointSaleDxItem.active %}
{% if pinpointSaleIndex is defined %}
{% set suffix = pinpointSaleIndex %}
{% else %}
{% set suffix = '_d_'~ProductClass.id %}
{% endif %}
<div id="pinpoint_sale_price_{{ suffix }}" class="ec-color-accent" style="font-size: 14px;">
({{ discountName }}:-{{ PinpointSaleDxItem.DiscountPriceIncTax|number_format }}円 × {{ CartItem.quantity }})
</div>
{% endif %}