We need to use a install script for that and our script should extend the functionality of…
Product related
The following code lets you update dropdown product attribute value. Let’s say we have our dropdown product…
If you want to add customer reviews on product page tab these steps may help you. Locate…
This has been covered in many places, but worth sharing it from here : Method 1 Go…
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…
<?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…