I am trying to update my configuration product by programmatically and i want to assign attribute set to configurable product.

I have also checked catalog_product_super_attribute table after updated product but nothing changed

$attr_ids = array(12,13);

$savedConfigproduct->getTypeInstance()->setUsedProductAttributeIds($attr_ids, $savedConfigproduct);

Any guide will be appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.