Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2757263: Provide workflow transition buttons on order view page will go on order view. We need to template this to resemble the edit form, but immutable.
Comment | File | Size | Author |
---|---|---|---|
#12 | beta4-order-admin-view.png | 46.28 KB | mglaman |
#11 | Screenshot from 2016-11-30 13-09-06.png | 27.76 KB | bojanz |
#6 | 1___Site-Install.png | 119.74 KB | mglaman |
#5 | 1___Site-Install.png | 115.4 KB | mglaman |
Comments
Comment #2
cornifex CreditAttribution: cornifex at Acro Commerce commentedBased on conversation with mglaman, this should appear similar to order edit. Customer info on right, line-items in main content area, actions at the top of the page.
Comment #3
cornifex CreditAttribution: cornifex at Acro Commerce commentedComment #4
bojanz CreditAttribution: bojanz at Centarro commentedThe design was defined in #2626952: Decide on default order view UX.
Related issue: #2821909: Send an email when an order is placed (similar templating, same need for a Twig price filter)
Comment #5
mglamancornifex got the initial work done and I'm helping wrap it up. The PR is https://github.com/drupalcommerce/commerce/pull/565.
Here's a screengrab of the result
Comment #6
mglamanHere's what the view looks like when the order has been placed
Comment #7
mglamanComment #8
bojanz CreditAttribution: bojanz at Centarro commentedMerging with #2831595: Improve the user order view.
Comment #9
bojanz CreditAttribution: bojanz at Centarro commentedNew PR up at https://github.com/drupalcommerce/commerce/pull/574/
Fixed the View tab (needs to be before the Edit tab), synced the date formats (should be "short" like on Edit), added an update hook, merged-in the user order PR.
Comment #11
bojanz CreditAttribution: bojanz at Centarro commentedCommitted the final version. Thanks, everyone!
My latest commit fixes issues in the user template (shipping_information and billing_information were misnamed so they were never printed, added contact email, fixed date formats to be "short"), fixes the order uid field label (Customer instead of Owner).
Attaching a screenshot of the current user order page. Still not happy with it, but we've made progress.
Comment #12
mglamanUpdated version of order admin view