Open fritzmg opened 5 years ago
The attribute size alters the base price of the product (i.e. "bigger" products cost more).
So size
is a variant attribute as well, right? Or how does it change the "base price"?
So
size
is a variant attribute as well, right? Or how does it change the "base price"?
It uses the price
option of the attribute ("Preisaufschläge oder -abschläge").
I noticed the following today:
images
,color
andsize
.color
is used for variants.images
, everything else is the same (including price).size
alters the base price of the product (i.e. "bigger" products cost more).When changing the
color
andsize
in the frontend for a product of that product type, the correct price is shown in the product reader.However when editing a cart item for that product, the product reader shows the correct attribute selection - but it does not show the correct price. It only shows the base price. During debugging I noticed, that the array returned by
$objProduct->getOptions()
only returns thecolor
attribute option. It is missing the chosensize
option for the collection item.