themes/BootstrapChildTheme/SyliusShopBundle/views/Product/Show/_priceTier.html.twig line 1

Open in your IDE?
  1. {% import "@SyliusShop/Common/Macro/money.html.twig" as money %}
  2. <td data-js-product-tier-price class="table-prices-cell tier-price-group {% if first %}active{% endif %}"
  3.     data-variant="{{ variant.code }}"
  4.     {% if isType %}
  5.         data-qty="{{ tierPrice ? tierPrice.qty : '' }}"
  6.         data-origin-price="{{ tierPrice and tierPrice.price ? tierPrice.price / 100000 : '' }}"
  7.         data-price="{{ tierPrice and tierPrice.price ? tierPrice.price / 100000 : '' }}"
  8.         data-option="type"
  9.     {% endif %}
  10.     data-option-code="{{ variant.optionValues[0].code }}">
  11.     {% if tierPrice and isType and tierPrice.price > 0  %}
  12.         <span class="price-without-tax" data-js-product-price-without-tax>{{ money.convertAndFormatSpecial(tierPrice.price, {'divisor': 100000, 'scale': 3 }) }}</span>
  13.     {% elseif tierPrice and isType == false and tierPrice.price > 0 %}
  14.         {{ money.convertAndFormatSpecial(tierPrice.price, {'divisor': 100000, 'scale': 3 }) }}
  15.     {% else %}
  16.         N/A
  17.     {% endif %}
  18. </td>