whole eshop is now in euro
This commit is contained in:
@@ -132,10 +132,10 @@
|
||||
{% macro eff_price(p, preview=false) -%}
|
||||
{%- if preview -%}{% set strong = "text-info" %}{%- else -%}{% set strong = "text-primary dark:text-primary-dark" %}{%- endif -%}
|
||||
{% if p.effective_reduced %}
|
||||
<span class="font-medium {{ strong }}">{{ p.effective_price }} {{ p.currency }}</span>
|
||||
<span class="font-medium {{ strong }}">{{ p.effective_price }} €</span>
|
||||
<span class="ml-1 text-xs text-on-surface/60 dark:text-on-surface-dark/60">(−{{ p.effective_percent_off }}%)</span>
|
||||
{% else %}
|
||||
{{ p.effective_price }} {{ p.currency }}
|
||||
{{ p.effective_price }} €
|
||||
{% endif %}
|
||||
{%- endmacro eff_price %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user