This is what I have modified my code to currently but it had no effect, I figured that the variant is created when the product option is created, the problem is the options have been created and made to be shared via code and populates the product options just fine but I am unable to deselect the colours I don't want variants for for each product and that seems to be controlled by the "Include choice" flag
Shared Option Properties
Does anyone know how to set the include choice on the shared option section using code: Essentially deselecting certain options using code
Thank you
Have you tried editing the following property?
(where product is a IProduct)
Steve
Hey Steve
This is what I have modified my code to currently but it had no effect, I figured that the variant is created when the product option is created, the problem is the options have been created and made to be shared via code and populates the product options just fine but I am unable to deselect the colours I don't want variants for for each product and that seems to be controlled by the "Include choice" flag
It seems the "IsDefaultChoice" Property controls the Selected property only on the choices list and not the included choice
is working on a reply...