I have a simple question - is the design of the order status page the same for all stores.
Specifically, I am giving my clients a JS script to run on their order status page, and this script needs to use jQuery to pick out the order number on the page.
Will I always find the order number inside <span class="os-order-number"> on all stores, or will it sometimes be different for some stores?
I actually have problem with different order status templates. I am working on new Shopfiy app and I realised that there are 2 different templates for order status:
Number 1. seems to be common one I see on my client sites. Not sure why I am getting 2. template?
Both shops are dev. shops and using same theme.
Do you have any idea about 2nd template? When/why does it shows?
Hey Dom -
That second one looks like the older checkout.
You can always pick the newer version since the line items are shown in a full height sidebar on the right. I'd assume that the only v1 checkouts floating around now are old dev accounts, with any new dev account automatically using the newer version. Design for #1.
All of the stores on Shopify should be using the new V2 checkout now. As Jason mentioned, old dev accounts might be exempted. It may be possible to get your dev account upgraded to the checkout V2, but you may also need to recreate the store. I would get in touch with the Shopify support team and they can advise you further on how to make the switch.