The latest core by default will display every tracking number beside every product in the order history. This is a horribly confusing design if you have more than one tracking number as it will list a tracking number beside a product that it isn't applicable to. I have updated our "Boilerplate" starter theme to remove the tracking number from the item listing (order-history-item-listing.hypr.live) and apply it to the order listing sidebar instead (order-listing.hypr.live).
The new code makes the following checks:
- Does a package exist for the order?
- If so, provide each tracking number.
- If a package associated with a tracking number contains less items than the order total, provide a list of every item included in the package.

My code files can be found here:
https://github.com/mozu-customer-success/storefront-boilerplate/blob/decker-dev/templates/modules/my-account/order-history-item-listing.hypr.live
https://github.com/mozu-customer-success/storefront-boilerplate/blob/decker-dev/templates/modules/common/order-listing.hypr.live
The latest core by default will display every tracking number beside every product in the order history. This is a horribly confusing design if you have more than one tracking number as it will list a tracking number beside a product that it isn't applicable to. I have updated our "Boilerplate" starter theme to remove the tracking number from the item listing (order-history-item-listing.hypr.live) and apply it to the order listing sidebar instead (order-listing.hypr.live).
The new code makes the following checks:
My code files can be found here:
https://github.com/mozu-customer-success/storefront-boilerplate/blob/decker-dev/templates/modules/my-account/order-history-item-listing.hypr.live
https://github.com/mozu-customer-success/storefront-boilerplate/blob/decker-dev/templates/modules/common/order-listing.hypr.live