Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Cart
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Apr 2016 at 11:02 UTC
Updated:
13 May 2016 at 16:54 UTC
Jump to comment: Most recent
We need to reimplement commerce_cart_order_convert() as a service, invoke it from hook_user_login().
Comments
Comment #2
bojanz commentedSo, we need \Drupal\commerce_cart\CartOrderConverter and \Drupal\commerce_cart\CartOrderConverterInterface.
Comment #3
rszrama commentedIt may be worth considering as a default or optional behavior the ability to delete previous cart orders as well, as this always comes up on 1.x.
Comment #4
bojanz commentedChanging to match new language (convert -> assign), after discussing with rszrama and mglaman.
I'll leave #3 to a followup, commit the critical part first.
Comment #6
bojanz commentedBoom!
Comment #7
johnstorey commentedComment #8
agoradesign commentedWhy do you assign yourself @johnstorey?? This is already committed and fixed