This has been covered in many places, but worth sharing it from here : Method 1 Go…
Magento
Magento tutorials, Magento how to, Magento, Apache, Nginx
Likewise, to update any attribute, we first need to load product by SKU or by ID, then…
In Magento, multiselect attribute values are saved as comma separated values. For example, an arbitrary multiselect attribute…
Likewise, to get any attribute value, we need to first load the product object. <?php $product…
Likewise, to get any attribute value, we need to first load the product object. Then get the…
$customers = Mage::getResourceModel(‘customer/customer_collection’) ->addAttributeToSelect(‘*’) ->addAttributeToFilter(‘firstname’, $firstName); The above code will only load the collection. To get customer…
<?php Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $product = Mage::getModel(‘catalog/product’); if(!$product->getIdBySku(‘testsku11’)){ try { $product ->setStoreId(2) //you can set data in store scope…