Articles in this section

Magento Order Import Error when Customer is a Guest

Problem: Error: 'Failed to Add customer for Magento order. Please enter value(s) for: First Name, Last Name'. The customer is a guest and is registered and there is no first name and last name on customer entity.

 

Solution: In customer flow mapping of first name and last name, multi-field mapping must be added.

{{#if lastname}} {{lastname}} {{else}} {{#if order.billing_address.lastname}} {{order.billing_address.lastname}} {{else}} "ANY DEFAULT VALUE" {{/if}} {{/if}}
{{#if firstname}} {{firstname}} {{else}} {{#if order.billing_address.firstname}} {{order.billing_address.firstname}} {{else}} "ANY DEFAULT VALUE" {{/if}} {{/if}}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.