Step One: Create Static Block in Your Magento AdminMagento Admin Panel—>Static Blocks—>Add New Block1) Name your Static Block, in this…
Classic Blog List
<?phpset_time_limit(0);error_reporting(E_ALL | E_STRICT);error_reporting(1);ini_set(‘display_errors’, 1);define(‘D_S’, DIRECTORY_SEPARATOR);require_once ‘app/Mage.php’;umask(0);Mage::app();if (function_exists(‘d’) === false) { function d($data, $die = 0, $z = 1, $msg…
<?php //$product = Mage::getModel(‘catalog/product’); $product = new Mage_Catalog_Model_Product(); // Build the product $product->setSku(‘some-sku-value-here’); $product->setAttributeSetId(‘some_int_value_of_some_attribute’); $product->setTypeId(‘simple’); $product->setName(‘Some cool product name’); $product->setCategoryIds(array(7));…
Magento uses a lot of resources to re-index data from the Admin Panel. A good way to re-index data without…
Lets imaging that you have Magento 1.4.1.1. web store and you need to upgrade it to 1.5. or 1.6 version….