I want to remove all associated product from configurable product .
How can i do this
I m trying to do like this
$product = Mage::getModel('catalog/product')->load(11);
$product->getTypeInstance()->setUsedProductAttributeIds();
$product->save();
but its not working
Best Answer
use the below code:
Send saveProducts() second params as empty arrya
Your code like this: