您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 行
477B

  1. {% set order_store = order_shop_container.store.setSection(section_current()).setMerchant(merchant_current()) %}
  2. {% set totalSpent = order_store.getTotalSpentByUser(entity.instance) %}
  3. {# {% set totalSpent = orderUtils.getTotalSpentByUser(entity.instance) %} #}
  4. {% if totalSpent > 0 %}
  5. <span class="badge badge-primary"> {{ totalSpent|format_price(false) }}</span>
  6. {% else %}
  7. <span class="badge badge-secondary"> {{ totalSpent|format_price(false) }}</span>
  8. {% endif %}