Hello community,
I would like to add a conditional in the product that allows me to compare
The “price” vs “comparative price”, in this case I need the x≠y, if it is “Different” I take it.
I need it to generate an “offers” collection, since the excel that they give me fills in the 2 fields and
when there is no offer these 2 fields are the same.
The other thing would be to generate a label that differentiates me from those that are on sale, but this would be for them to generate one more field and differentiate each product manually.
So at this time I need to work on what I already have, which would be the prices.
If you help me with the code I would appreciate it.