1

i add a custom column to my Magento 2 quote column which is shipping_delivery_date

i got a warning error when i migrate the data:

[2020-02-27 02:37:24][WARNING]: Destination fields are not mapped. Document: quote. Fields: shipping_delivery_date

i tried to ignore this column using map.xml file:

  <destination>
    ........   
    <field_rules>
        .......
        <ignore>
            <document>quote.shipping_delivery_date</document>
        </ignore>
    </field_rules>
  </destination>

but i still got the same warning

3
  • your added the ignore column map.xml ?? Feb 27 '20 at 3:49
  • @MohitPatel yes
    – jojo
    Feb 27 '20 at 3:53
  • Please check my answer Feb 27 '20 at 4:02
5

Please add the code your map.xml file hope work this code

<destination>
    <field_rules>
            <ignore>
                <field>quote.shipping_delivery_date</field>
            </ignore>
    </field_rules>
</destination>
3
  • didnt you see my question?
    – jojo
    Feb 27 '20 at 4:02
  • you add the document tag code <document>quote.shipping_delivery_date</document> but i think add the field tag code <field>quote.shipping_delivery_date</field> Please try this code after command data migration Feb 27 '20 at 4:11
  • sorry i didnt see that
    – jojo
    Feb 27 '20 at 6:14
1

you can try below file

etc/xyz/magentoverison/map.xml.dist

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.