Jump to content

Edit History

Tamade

Tamade

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

Tamade

Tamade

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.

Hola

Tengo un producto con atributos en descuento, ¿cómo debo hacer para que si un producto tiene atributos, no se muestre el precio sin descuento?

El precio sin descuento es {$product.regular_price}, pero, cómo indico si  el producto tiene atributos.

He probado haciendo {if !empty($group.attributes)}, pero no sirve.

¿Alguna idea? Gracias

×
×
  • Create New...