php - Fastest way to update product qty and price in Magento? -
hey guys triying save products in magento getting xml.but couldnt find way update prices , qty fast.tried :
public function productupdate($productskus = array(), $data = array(), $storeid = 1) { $ids = mage::getmodel('catalog/product') ->getcollection() ->addattributetofilter('sku', $productskus) ->getallids(); mage::getsingleton('catalog/product_action')->updateattributes( $ids, $data, $storeid ); }
but not enough , gives me error while updatting qty.it not differen $product->save(); need fast way upgrade 2 attribute.guys pls help.i bad situation in company posiition. thank you.
did have @ extension? extension enables map fields accordingly , ease able import required information update existing ones. not cheapest worth long term.
Comments
Post a Comment