Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Orders
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 14:48 UTC
Updated:
9 May 2013 at 08:00 UTC
Jump to comment: Most recent file
Orders are now fieldable entities, so we have field and display settings in the admin pages, which includes a list of all order panes. But making changes to the panes here doesn't do anything; you have to use the "panes" tab for this, which is confusing. We should remove the panes tab and make the field/display settings tab work as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1196602-order-pane-display-5.patch | 8.61 KB | longwave |
| #3 | 1196602-order-pane-display.patch | 33.97 KB | longwave |
| #2 | 1196602-order-pane-display-edit.patch | 33 KB | longwave |
| #1 | 1196602-order-pane-display.patch | 1.99 KB | longwave |
Comments
Comment #1
longwaveThis patch changes uc_order_view() to use the display settings at /admin/store/settings/orders/display so fieldable entities can be ordered alongside panes.
It also removes the "invoice" and "print" view modes, as they aren't actually implemented, and I can't see an easy way of adding them alongside the current invoice theming.
Comment #2
longwaveThis patch builds on #1 and changes the order edit form to use the field settings at /admin/store/settings/orders/fields.
It also removes theme_uc_order_edit_form() and the need for the "edit-theme" order pane op.
Comment #3
longwaveThis one handles the "customer" view mode better by altering /admin/store/settings/orders/display/customer (when custom view modes are enabled) to remove panes that are not available to customers.
Comment #4
longwaveCommitted #1.
#3 no longer applies and needs work.
Comment #5
longwaveReviving this from the dead. This patch removes the four tabs full of checkboxes at /admin/store/settings/orders, in favour of using the "manage display" tab to rearrange the panes for admin and customer order view pages. It also removes the ability to hide panes on the order edit form, as I am not sure this was ever particularly useful. Reordering panes on the order edit form has always been broken in 7.x as far as fields are concerned, fixing that can perhaps be handled in a followup.
Comment #6
longwaveCommitted #5.