Andrei | фикс каталога (пофиксил условие вывода плашки распродажа в карточке товара)

dev_10_fixbugs
Andrei 2 months ago
parent eb9c7b7b27
commit 0866502381
  1. 5
      wp-content/themes/cosmopet/modules/shop/components/single-product/component-template.twig

@ -56,13 +56,14 @@
<a href="{{ product_attributes.Тег[0].link }}">{{ product_attributes.Тег[0].name }}</a> <a href="{{ product_attributes.Тег[0].link }}">{{ product_attributes.Тег[0].name }}</a>
</div> </div>
{% endif %} {% endif %}
{% if is_subscription %}
</div>
{% if product.is_on_sale %}
<div class="product-item-label__tag product-item-label__tag--sale"> <div class="product-item-label__tag product-item-label__tag--sale">
{{ function('pll_e', 'Распродажа %') }} {{ function('pll_e', 'Распродажа %') }}
</div> </div>
{% endif %} {% endif %}
</div> </div>
</div>
{# End | Теги = категории #} {# End | Теги = категории #}
<h1 class="detail__title"> <h1 class="detail__title">

Loading…
Cancel
Save