1
Answers
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
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.