Setting up Order History tracking numbers that don't apply to (and repeat on) every product. · Issue #33 · Mozu/core-theme · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: