[Solved] Magento Programming: Importing manufacturers while checking for existing duplicates and get manu. ID

Just a quick and dirty script, but this should be what you are looking for… <?php error_reporting(E_ALL | E_STRICT); ini_set(‘display_errors’, 1); /* * Boostrap Magento */ $mageFilename=”../app/Mage.php”; require_once $mageFilename; Mage::setIsDeveloperMode(true); umask(0); $mageRunCode=””; $mageRunType=”store”; Mage::init($mageRunCode, $mageRunType); /* * Set up required data */ $newManufacturers = file(‘manufacturers.txt’, FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); $newManufacturers = array_unique($newManufacturers); $attribute = Mage::getModel(‘eav/entity_attribute’) ->loadByCode(‘catalog_product’, … Read more

[Solved] How to learn magento [closed]

The best way to learn Magento is to solve issues as you go along. Maybe a good place to start is this: http://www.magentocommerce.com/knowledge-base. Also the guys at siteground did a nice thing with this: http://www.siteground.com/tutorials/magento/ Other than this, maybe you should actually start working on a task and when you hit a brick wall (this … Read more