<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
	<atom:link href="http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/feed/" rel="self" type="application/rss+xml" />
	<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/</link>
	<description>PHP &#38; Magento Tips &#38; Tutorials</description>
	<lastBuildDate>Wed, 04 Aug 2010 07:24:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-390</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 21 Apr 2010 08:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-390</guid>
		<description>I changed line 216 of import.php from
			 			$setValue=$this-&gt;updateSourceAndReturnId($field,trim($value));

to 
			 			$setValue=$this-&gt;updateSourceAndReturnId($field,$value);

and now it seems to be importing ok... Could you confirm if this was the right thing to do and if you can see any potential problems?

Thanks again for a great bit a work... will save me loads of time.</description>
		<content:encoded><![CDATA[<p>I changed line 216 of import.php from<br />
			 			$setValue=$this-&gt;updateSourceAndReturnId($field,trim($value));</p>
<p>to<br />
			 			$setValue=$this-&gt;updateSourceAndReturnId($field,$value);</p>
<p>and now it seems to be importing ok&#8230; Could you confirm if this was the right thing to do and if you can see any potential problems?</p>
<p>Thanks again for a great bit a work&#8230; will save me loads of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-389</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 21 Apr 2010 07:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-389</guid>
		<description>I am testing with Magento 1.4.0.1 and I am getting the following error after import has started for each product:

    * Notice: Array to string conversion in /home/administrator/Projects/magento/htdocs/app/code/local/SURE/ImportA/Model/Import.php on line 216

then no records were imported...

    * Processed 100% 7/7 records
    * Imported 0 records
    * Finished profile execution.

The format of the CSV is what Magento 1.4.0.1 has exported, I just added a couple of lines for testing so I guess the format of the CSV is correct.

Your help would be very much appreciated... thanks!</description>
		<content:encoded><![CDATA[<p>I am testing with Magento 1.4.0.1 and I am getting the following error after import has started for each product:</p>
<p>    * Notice: Array to string conversion in /home/administrator/Projects/magento/htdocs/app/code/local/SURE/ImportA/Model/Import.php on line 216</p>
<p>then no records were imported&#8230;</p>
<p>    * Processed 100% 7/7 records<br />
    * Imported 0 records<br />
    * Finished profile execution.</p>
<p>The format of the CSV is what Magento 1.4.0.1 has exported, I just added a couple of lines for testing so I guess the format of the CSV is correct.</p>
<p>Your help would be very much appreciated&#8230; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-339</link>
		<dc:creator>Subesh Pokhrel</dc:creator>
		<pubDate>Fri, 12 Mar 2010 04:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-339</guid>
		<description>I&#039;ve uploaded the XLS sheet here plz check

http://spreadsheets.google.com/ccc?key=0Aji4wlRfG_gjdFEzRF9nVWFvZTRlMEZ5WGcxUWV4ZGc&amp;hl=en</description>
		<content:encoded><![CDATA[<p>I&#8217;ve uploaded the XLS sheet here plz check</p>
<p><a href="http://spreadsheets.google.com/ccc?key=0Aji4wlRfG_gjdFEzRF9nVWFvZTRlMEZ5WGcxUWV4ZGc&amp;hl=en" rel="nofollow">http://spreadsheets.google.com/ccc?key=0Aji4wlRfG_gjdFEzRF9nVWFvZTRlMEZ5WGcxUWV4ZGc&amp;hl=en</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-337</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Thu, 11 Mar 2010 12:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-337</guid>
		<description>Hi Subesh Thanks. I will be doing the testing in ver1.4.01.. What really could help is if someone could: 
1. provide a sample CSV file
2. What Headings we would add for the spreadsheet especially for attribute options

Thanks in advance for all your help, and thank you Subesh for your knowledge sharing on this blog.</description>
		<content:encoded><![CDATA[<p>Hi Subesh Thanks. I will be doing the testing in ver1.4.01.. What really could help is if someone could:<br />
1. provide a sample CSV file<br />
2. What Headings we would add for the spreadsheet especially for attribute options</p>
<p>Thanks in advance for all your help, and thank you Subesh for your knowledge sharing on this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-336</link>
		<dc:creator>Subesh Pokhrel</dc:creator>
		<pubDate>Thu, 11 Mar 2010 08:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-336</guid>
		<description>Waiting for feedbacks  :P</description>
		<content:encoded><![CDATA[<p>Waiting for feedbacks  <img src='http://subesh.com.np/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-334</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-334</guid>
		<description>Also will this work for Magento ver 1.4.01?
Thanks again</description>
		<content:encoded><![CDATA[<p>Also will this work for Magento ver 1.4.01?<br />
Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-333</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-333</guid>
		<description>Hi  Subesh,
Thanks for all your hard work.
Can you provide either a sample CSV file or tell me what Headers we would add for the attribute options?
Thanks,
Ted</description>
		<content:encoded><![CDATA[<p>Hi  Subesh,<br />
Thanks for all your hard work.<br />
Can you provide either a sample CSV file or tell me what Headers we would add for the attribute options?<br />
Thanks,<br />
Ted</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-317</link>
		<dc:creator>Subesh Pokhrel</dc:creator>
		<pubDate>Tue, 02 Mar 2010 04:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-317</guid>
		<description>Hi, Sorry for the late response ..

The &quot;best&quot; place to keep your Model file is your Module&#039;s Model folder. Have you created a custom module in Magento before? If not then plz see this

http://www.magentocommerce.com/wiki/custom_module_with_custom_database_table

Use the Module creator found there and run to create a basic Custom module extension. Create Import.php inside the Model folder of this module and in your Profile XML will have the Model path to this file.

Suppose you have Create a Namespace_Module as Mynamespace_Mymodule then the model path will be like mymodule/import.

This might help you I guess..if not plz feel free to ask again!</description>
		<content:encoded><![CDATA[<p>Hi, Sorry for the late response ..</p>
<p>The &#8220;best&#8221; place to keep your Model file is your Module&#8217;s Model folder. Have you created a custom module in Magento before? If not then plz see this</p>
<p><a href="http://www.magentocommerce.com/wiki/custom_module_with_custom_database_table" rel="nofollow">http://www.magentocommerce.com/wiki/custom_module_with_custom_database_table</a></p>
<p>Use the Module creator found there and run to create a basic Custom module extension. Create Import.php inside the Model folder of this module and in your Profile XML will have the Model path to this file.</p>
<p>Suppose you have Create a Namespace_Module as Mynamespace_Mymodule then the model path will be like mymodule/import.</p>
<p>This might help you I guess..if not plz feel free to ask again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-316</link>
		<dc:creator>ana hare</dc:creator>
		<pubDate>Sun, 28 Feb 2010 11:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-316</guid>
		<description>Okay... well I fouind a beter place to put the model

&quot;magento/app/code/core/Mage/Catalog/Model/Convert/Adapter/Import.php&quot;

kept the file name the same, and the content the same as supplied

and I put this in the path of the XML  &quot;catalog/convert_adapter_product&quot; 

I tried many different possibilities, and t hat is the only one that work at all. How ever I think that it maybe running a different script.

Can anyone please please advise me, I have got as far as I can with this.

Sorry to be a dullard, just one last nudge would be much appreciated.

Thanks</description>
		<content:encoded><![CDATA[<p>Okay&#8230; well I fouind a beter place to put the model</p>
<p>&#8220;magento/app/code/core/Mage/Catalog/Model/Convert/Adapter/Import.php&#8221;</p>
<p>kept the file name the same, and the content the same as supplied</p>
<p>and I put this in the path of the XML  &#8220;catalog/convert_adapter_product&#8221; </p>
<p>I tried many different possibilities, and t hat is the only one that work at all. How ever I think that it maybe running a different script.</p>
<p>Can anyone please please advise me, I have got as far as I can with this.</p>
<p>Sorry to be a dullard, just one last nudge would be much appreciated.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Product Import In Magento Alongwith Updating The Attribute&#8217;s Options | Subesh Pokhrel&#039;s Blog - Magento Development Tips,PHP,Google Maps</title>
		<link>http://subesh.com.np/2009/11/product-import-in-magento-alongwith-updating-the-attributes-options/comment-page-1/#comment-315</link>
		<dc:creator>ana hare</dc:creator>
		<pubDate>Sat, 27 Feb 2010 12:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://subesh.com.np/?p=97#comment-315</guid>
		<description>Hi there I have been trying to use this with Magento ver. 1.3.2.4.

I have it set up... only problem is that the model path.. I just can&#039;t get it right Ihave put the model in the same directory as the xml file &quot;var/import&quot; 

I have set the &quot;var/import/import.php&quot;

I have also experimented with just putting it in the magento root directory.

(I have tried using a path like this 

&quot;/home/myserver/public_html/magento/var/import/import.php&quot;

Which is the same as the path where the XML file IS found, No problem.. But it does not work for the import.php) 

I am sorry to be to be dense ... would you please tell me litterally what the correct value I should put in the path, to find the import.php in var/import .. or any other place. The file is deffinately there.

Please help.. thank you very much in advance, for all your kind efforts.</description>
		<content:encoded><![CDATA[<p>Hi there I have been trying to use this with Magento ver. 1.3.2.4.</p>
<p>I have it set up&#8230; only problem is that the model path.. I just can&#8217;t get it right Ihave put the model in the same directory as the xml file &#8220;var/import&#8221; </p>
<p>I have set the &#8220;var/import/import.php&#8221;</p>
<p>I have also experimented with just putting it in the magento root directory.</p>
<p>(I have tried using a path like this </p>
<p>&#8220;/home/myserver/public_html/magento/var/import/import.php&#8221;</p>
<p>Which is the same as the path where the XML file IS found, No problem.. But it does not work for the import.php) </p>
<p>I am sorry to be to be dense &#8230; would you please tell me litterally what the correct value I should put in the path, to find the import.php in var/import .. or any other place. The file is deffinately there.</p>
<p>Please help.. thank you very much in advance, for all your kind efforts.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
