calc discount

pull/4/head
alexanderroese 2024-06-03 22:05:54 +02:00
parent e48d4da01c
commit 5ba198954f
1 changed files with 5 additions and 0 deletions

View File

@ -136,6 +136,11 @@
<span id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}" class="badge badge--bottom-left color-{{ settings.sale_badge_color_scheme }}"> <span id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}" class="badge badge--bottom-left color-{{ settings.sale_badge_color_scheme }}">
{{ discount_percent }}% Rabatt {{ discount_percent }}% Rabatt
</span> </span>
<script>
console.log("product", card_product)
</script>
{%- endif -%} {%- endif -%}
</div> </div>
</div> </div>