calc discount
parent
0b70aa0703
commit
8e2a2f3370
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue