Problem/Motivation

When an order is migrated, it must be assigned to a store. Since 1.x did not have the concept of stores, we should default it to the current default store.

Proposed resolution

Copy the logic created in the d7_product_display migration source to check if there is a default store, and set the data.

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Title: Orders must belong to a store when imported » [Commerce 1.x] Orders must belong to a store when imported
Component: Code » Drupal Commerce 1.x
harings_rob’s picture

Assigned: Unassigned » harings_rob
Issue tags: +DevDaysMilan

I'll try to do this one.

harings_rob’s picture

Status: Active » Needs review

  • mglaman committed bc52b30 on 8.x-2.x authored by harings_rob
    Issue #2730965 by harings_rob: [Commerce 1.x] Orders must belong to a...
mglaman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.