Search This Blog

Wednesday, January 18, 2012

Save single,one,few,array of attributes or single attribute or attributes without the entire whole product or saving a product without sql queries

Save single,one,few,array of attributes or single attribute or attributes without the entire whole product or saving a product without sql queries

$pidArray[]=array(1=>"181");
Mage::getSingleton('catalog/product_action')
->updateAttributes($pidArray, array('name' => 'name of product'), 0);

No comments:

Post a Comment