Can't map to order_id to update existing orders

Created on 22 January 2016, over 9 years ago
Updated 4 May 2025, about 1 month ago

I needed to update existing orders, which were not imported using Migrate, using $this->systemOfRecord = Migration::DESTINATION; and mapping $this->addFieldMapping('order_id', 'order_id')->description('Drupal Order ID.');

Copying the code from Can't map to product_id and update existing products Closed: outdated I've made this work. Patch to follow.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom fonant

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024