No content to show
User Activity
04-02-2023
I've got it :{% assign percentage = 0 %}{% for variant in product.variants %}{% assign saving = variant.compare_at_price | minus: variant.price | times: 100 | divided_by: variant.compare_at_price | round %}{% assign percentage = saving | at_least: pe...
04-02-2023
Hi victor could you please help me for this please ? The result I'm expecting is in bold {% assign percentage = 0 %}{% for variant in product.variants %}{% assign saving = variant.compare_at_price | minus: variant.price | times: 100 | divided_by: var...
03-29-2023
Thanx for you help and your job but still not working. But I think it’s because I’m using Bcpo app (Variant Option Product Options) from Relentlessapps that displays the variants… Need to hide a dev I think.
03-28-2023
Hi, thanx again for your help.I’ve place your code instead mine :{%- if product.type == 'Balles' -%}{% assign selected_variant = product.selected_or_first_available_variant %}{% assign percentage = 0 %} {% for variant in product.variants %}{% if vari...
03-26-2023
I’ve replaced my code by your but it does not work.
Hi everyone,I'm using this code and it works fine, it displays the % discount but I want to display the % discount depending on the variant selected, any idea please? <span class="discount_product_page">{% assign percentage = 0 %}{% for variant in pr...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
3244 | 04-02-2023 11:37 AM |