Page 1 of 1

Variants

Posted: Tue Jul 29, 2008 12:47 pm
by frosty
i need to amend the variants of KitComponents. I'm using the AC api. But want to know if a new row in added that is linked to order. ie is possible to programitically amend a kit component's variant.

Also would someone care to explain how the order knows which variant was selected. I can't seem to see the relation link. I'm assuming it's not through the product idea as it would vary per user.

Re: Variants

Posted: Wed Jul 30, 2008 5:23 am
by mazhar
Also would someone care to explain how the order knows which variant was selected. I can't seem to see the relation link. I'm assuming it's not through the product idea as it would vary per user.
The variant are added as the same way as the products to the Order Items. A variant which is added as an order item contains all the information for example the product id and the variant name and thus can be located.