2

I use the tool for migrate my data from my 1.9.2.4 to magento2.2.2

It works except a problem with date of purchase.

There is a difference of 5:30 hours, however the time zone on M1 Server is IST (Indian Standard Time)

I have configured map.xml

        <transform>
            <field>sales_order.created_at</field>
            <handler class="\Migration\Handler\Timezone">
                <param name="offset" value="+5:30"/> 
            </handler>
        </transform>

It is not working

0

I am assuming you configured that in vendor/magento/data-migration-tool-etc/<FROM-TO>/map-sales.xml? If so, also make sure to update your vendor/magento/data-migration-tool-etc/<FROM-TO>/<VERSION>/config.xml to point to the new file instead of the original distributed file. So as an example, change...

<sales_order_map_file>etc/commerce-to-commerce/map-sales.xml.dist</sales_order_map_file>

to

<sales_order_map_file>etc/commerce-to-commerce/map-sales.xml</sales_order_map_file>

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.