On 3/27/2021 at 12:01 PM, musicmaster said:You have two id's that are interesting:
id_attribute refers to just to the attribute, like color red.
id_product_attribute refers to a variant of the product, like a red pen.
My impression is that you are looking for the latter.
Hello
I have a product with attributes and with a discount, how should I do so that if a product has attributes, the price without discount is not displayed?
The price without discount is {$ product.regular_price}, but how do I indicate if the product has attributes.
I have tried doing {if !empty ($ group.attributes)}, but it doesn't work.
Any ideas? Thanks