We have migrated products and orders from a Drupal 6 site to Drupal 9 site. We had a product type dues for which we already had products in the existing Drupal 9 system. So we skipped the migration of the products of type Dues. Now, After getting the Orders migrated the commerce_order_item table doesn't contain a purchased_entity id for Order Items that contained a product of type dues in Drupal 6. I have tried updating that column manually with the required variation Id but, to no avail. Is there an alternate to update the purchased entity for that order item? Right now it returns NULL even if there is an id present in the purchased_entity column of commerce_order_item table.

Your Answer

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

Browse other questions tagged or ask your own question.