Closed (duplicate)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Checkout
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
11 Oct 2016 at 02:08 UTC
Updated:
13 Oct 2016 at 17:13 UTC
Jump to comment: Most recent
See https://www.drupal.org/node/2816059
Similar to what was required in 1.x, 2.x CartProvider needs to track not only session orders but completed carts.
Basically we just have "commerce_cart_orders" but we also need now need "commerce_cart_completed_orders"; CartProvider needs to be patched to respect these two. and finalizeCart needs to move it from commerce_cart_orders to commerce_cart_completed_orders.
Comments
Comment #2
mglamanSee the 1.x code: http://cgit.drupalcode.org/commerce/tree/modules/cart/commerce_cart.modu...
Comment #3
steveoliver commentedGonna mark this as a duplicate of #2816059: Previous carts persist after guest checkout since that issue contains the solution to this and includes other related fixes related to guest checkout / completed orders.