How to add custom options to a product in magento.

Posted by Damodar Bashyal on February 05, 2012

 

Adding custom options to a product automatically while importing CSV in Magento is quite easy after all.

extend this file: app\code\core\Mage\Catalog\Model\Convert\Adapter\Product.php

look for: public function saveRow(array $importData)

Look for this:

if (!$attribute) {
    continue;
}

More»

Magento Import Catalog Products A Horror Story

Posted by Damodar Bashyal on January 06, 2012

 

It's been so many days i have been spending my time trying to figure out how to import products using CSV in Magento.

I recommended client to go for better server and as a result we moved to VPS. But that didn't help. Hosting company was so generous to work along with me to figure out what was actually wrong. They also spent many hours and haven't charged for VPS yet and I am free to use the server as I need. But I am not that good in server settings, but learnt a lot along the way :)

ini_set('memory_limit', '128M');

More»

Magento localhost installation Invalid Base URL

Posted by Damodar Bashyal on December 01, 2011

 

I was installing magento on localhost so i can test different magento extensions. But on configuration page I was getting error for base url as below:

The URL "http://www.magento.ag.com/" is invalid.
Response from server isn't valid.

The URL "http://www.magento.local/" is invalid.
Response from server isn't valid.

The URL "http://localhost/" is invalid.
Response from server isn't valid.

Note: I was trying with different urls but all failed. At last found one solution.

More»