Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a user has an anonymous order, the OrderAssignment service and commerce_cart_user_login
will fix the cart/order's customer ID to their user ID when logged in. This should log an event.
Comment | File | Size | Author |
---|---|---|---|
#2 | order_assignment_should-2861664-2.patch | 3.86 KB | mglaman |
Comments
Comment #2
mglamanAdds log.
https://github.com/drupalcommerce/commerce/pull/680
Comment #3
harings_rob CreditAttribution: harings_rob at Harings.be for Nuvole commentedI have done a manual test and everything seems to work as expected.
However, and I think you are aware, when I reassign using the admin interface the method is never called.
Bojan left some remarks on the code.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedLet's open a separate issue and tackle that.
Comment #6
bojanz CreditAttribution: bojanz at Centarro commented