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.
Commerce order entities have a field "order_number" which is described as "The order number displayed to the customer". Currently, this module is sending the Order ID to Google analytics. However, this Order ID may be of little use to administrators/analysts if the order number is being generated separately from the ID. We should be using the 'getOrderNumber()' method rather than 'id()'.
Comment | File | Size | Author |
---|---|---|---|
#2 | send-order-number-3008291.patch | 1.01 KB | mangy.fox |
Comments
Comment #2
mangy.fox CreditAttribution: mangy.fox at Investis Digital commentedAttached patch sends order number rather than order ID.
Comment #3
BerdirMakes sense, committed.