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

Can two or more Magento-database fields be mapped to a single field in the output-file
 
jschoenborn
Jr. Member
 
Total Posts:  6
Joined:  2013-08-27
 

For example: I want to map the data of the fields “name” (Chateau Bahans Haut Brion) and “color” (Rouge) to the single field “wine-name” in the generated output.

<action type="dataflow/convert_mapper_column" method="map">
    <var 
name="map">
        <
map name="name"><![CDATA[wine-name]]></map>
        <
map name="color"><![CDATA[wine-name]]></map>
    </var>
    <var 
name="_only_specified">true</var>
</
action>

Any help is appreciated.

Cheers Jens

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