how can i change the product type in a python script?
I tried product.changeType(“Name in product type editor”), but this gave NameError: Attribute or method not found
how can i change the product type in a python script?
I tried product.changeType(“Name in product type editor”), but this gave NameError: Attribute or method not found
You can use vcProduct.changeType(vcProductType)
So instead of giving it the product type name, you need to find the type object from vcProductTypeManager first.
Thank you for the help Este!