Monday, September 21, 2015

Magento- Update / cahage attribute set of product

//Magento- Update / cahage attribute set of product

$product = Mage::getSingleton('catalog/product')
           ->unsetData()
        //   ->setStoreId($storeId)
           ->load($productId)
           ->setAttributeSetId($attributeSetId)
           ->setIsMassupdate(true)
           ->save();   

No comments :

Post a Comment