Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Possible to hide the line item unit price when creating/editing an order through the order admin page?

Hi, have a requirement that orders can be created quickly and easily through the back end (/admin/commerce/orders/add). The site is using the commerce price table module so any unit price entered here will be overwritten with data from the price table when the order is saved anyway so I would like to hide the unit price header and field to keep it as simple as possible.

Admittedly my css is rather weak but I have only been able to hide the actual unit price field and not the column header which looks a mess. Is there another way to do this? I would still like the unit price visible when viewing an order (/admin/commerce/orders/12345).

Thanks

Asked by: mattnorman
on February 13, 2013

Comments

I actually solved this by creating a new widget based on the code in commerce_line_item.module and modifying it as required. Maybe not the most elegant solution but it works for now.

- mattnorman on February 18, 2013

1 Answer

Vote up!
1
Vote down!

User has found there own answer (see comment above)

Josh Miller
Answer by: Josh Miller
Posted: Feb 25, 2013