Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Advanced profile to import customers? 
 
winans_fred
Sr. Member
 
Total Posts:  83
Joined:  2007-09-06
 

Hi All,

I need to take a third-party customer data file in csv and import it into Magento.  I want to use an advanced profile to do this.  Is this possible as of 0.7.x? Can anyone help me with this?

Best,

Fred

 
Magento Community Magento Community
Magento Community
Magento Community
 
developerx
Jr. Member
 
Total Posts:  25
Joined:  2007-10-23
 

Hi,

It looks like the Standard Profile Import option has been removed, I used something similar in the previous version to create an Advanced Profile product import feed:

<action type="varien/convert_adapter_http_curl" method="load">
<var name="uri">http://www.example.com/product_feed.xml</var>
</action>
<action type="varien/convert_adapter_io" method="save">
<var name="type">file</var>
<var name="filename"><![CDATA[import/product_feed.xml]]></var>
</action>

<action type="varien/convert_parser_xml_product" method="parse">
<var name="single_sheet"><![CDATA[_]]></var>
<var name="fieldnames"></var>
</action>

<action type="varien/convert_mapper_column" method="map">
<var name="sku"><![CDATA[sku]]></var>
</action>

<action type="catalog/convert_parser_product" method="parse">
<var name="store"><![CDATA[0]]></var>
</action>

<action type="catalog/convert_adapter_product" method="save">
<var name="store"><![CDATA[0]]></var>
</action>

You could change to something like:

<action type="varien/convert_adapter_http_curl" method="load">
<var name="uri">http://www.example.com/customer_feed.csv</var>
</action>
<action type="varien/convert_adapter_io" method="save">
<var name="type">file</var>
<var name="filename"><![CDATA[import/customer_feed.csv]]></var>
</action>

<action type="varien/convert_parser_csv" method="parse">
<var name="single_sheet"><![CDATA[_]]></var>
<var name="fieldnames"></var>
</action>

<action type="catalog/convert_parser_customer" method="parse">
<var name="store"><![CDATA[0]]></var>
</action>

<action type="catalog/convert_adapter_customer" method="save">
<var name="store"><![CDATA[0]]></var>
</action>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top