You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% set order_store = order_shop_container.store.setSection(section_current()).setMerchant(merchant_current()) %}
- {% set totalSpent = order_store.getTotalSpentByUser(entity.instance) %}
- {# {% set totalSpent = orderUtils.getTotalSpentByUser(entity.instance) %} #}
- {% if totalSpent > 0 %}
- <span class="badge badge-primary"> {{ totalSpent|format_price(false) }}</span>
- {% else %}
- <span class="badge badge-secondary"> {{ totalSpent|format_price(false) }}</span>
- {% endif %}
|