0

In the BO, when I go on a configurable product > associated products, I have this following block : enter image description here

I want to check the checkbox "use default" for my configurable products.

When I load the product, I can't access to this super attribute :

$product = Mage::getModel('catalog/product')->load($product_id)->setStoreId($store_id);

I can access this variable with this code :

$productAttributeOptions = $product->getTypeInstance(true)->getConfigurableAttributesAsArray($product);

But now, I can't make any modification (I though make something like that : $product->setData($attr, false)->save();)

Someone have any idea ?

1 Answer 1

0

I finally found the answer to my issue. I post the link if someone is interested: https://stackoverflow.com/questions/28982132/set-super-product-attributes-attribute-name-to-use-default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.