Mage::getResourceModel('catalog/product')->getAttributeRawValue($id, 'attribute', Mage::app()->getStore());
This can be used to fetch the product attribute by ID. How can one set this value as well?
attributesproduct
Mage::getResourceModel('catalog/product')->getAttributeRawValue($id, 'attribute', Mage::app()->getStore());
This can be used to fetch the product attribute by ID. How can one set this value as well?
Best Answer
For that you'll want the
Mage_Catalog_Model_Product_Action
model.