Order tracking
Customers expect to know when their order will arrive. You can use the order status codes in Drupal Commerce to indicate the progress of the order.
When the order is initially placed, the order status will be set to Pending. You can then use the Complete status to indicate when you have shipped the order.
Additionally, you can define a new field in the Order type definition, named tracking code, which can be presented to the user when they view their order history.
Go to: Store | Configuration | Order Settings | Manage Fields
Add a new text field called
Tracking
Code
.Now edit the view User Orders and add the new field. Now when a customer views their order history list, they can see the tracking number as well.
Advanced order tracking
This method of tracking orders is quite labor intensive for the site owner—it requires the status to be updated when the order moves through the shipping process. However, there are other modules available that integrate directly with popular...