8000 Setting up Order History tracking numbers that don't apply to (and repeat on) every product. · Issue #33 · Mozu/core-theme · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Setting up Order History tracking numbers that don't apply to (and repeat on) every product. #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chris-decker-volusion opened this issue Mar 21, 2016 · 0 comments

Comments

@chris-decker-volusion
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0