-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(OrderMerger): Do not carry line item adjustments to new order
Adjustments are connected to the spree_orders table via two ways: - via their adjustable's (line item's) order ID - via their own order ID If we move a line item with adjustments to new order, the adjustment's order ID will not be changed to the new order. Instead of changing the foreign key of an existing line item here, let's build a new line item with the old line item's attributes.
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters