how to set the price for configurable product programmatically

188 views Asked by At

when i am setting the price 100 or anything, it stored automatically as 0.

$magentoProductModel=Mage::getModel('catalog/product'); $magentoProductModel->setTypeId(Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE); $magentoProductModel->setPrice(100); $magentoProductModel->save();

0

There are 0 answers