calc discount

pull/4/head
alexanderroese 2024-06-03 22:17:17 +02:00
parent 0b70aa0703
commit 8e2a2f3370
1 changed files with 0 additions and 13 deletions

View File

@ -139,19 +139,6 @@
<span id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}" class="badge badge--bottom-left color-{{ settings.sale_badge_color_scheme }}">
{{ discount_percent_rounded }}% Rabatt
</span>
<script>
console.log({
id: '{{ card_product.id }}',
title: '{{ card_product.title }}',
price: {{ card_product.price }},
compare_at_price: {{ card_product.compare_at_price }},
discount_percent: {{ discount_percent }},
discounthere: {{ discount }},
discount_percenthere: {{ discount_percent }}
});
</script>
{%- endif -%}
</div>
</div>