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.

CommentFileSizeAuthor
#2 order_assignment_should-2861664-2.patch3.86 KBmglaman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
FileSize
3.86 KB
harings_rob’s picture

Status: Needs review » Needs work
Issue tags: +DevDaysSeville

I 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.

bojanz’s picture

However, and I think you are aware, when I reassign using the admin interface the method is never called.

Let's open a separate issue and tackle that.

  • bojanz committed f226bfa on 8.x-2.x authored by mglaman
    Issue #2861664 by mglaman: Order assignment should generate a log to...
bojanz’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.