You know when you're editing a product ?
And there's lots of fields about Weight, Dimensions, etc.
I dont plan to use those, is it possible to disable them ?
It would save some screen space and uncomplicate the process a little bit.
|
UbercartOne cart to rule them all... |
|
| Donate to Ubercart | Affiliates | ||
Disabling certain fields of Product Information
Submitted by doomed@drupal.org on Sat, 05/03/2008 - 20:30
You know when you're editing a product ? And there's lots of fields about Weight, Dimensions, etc. I dont plan to use those, is it possible to disable them ? It would save some screen space and uncomplicate the process a little bit.
There isn't a UI, but you can always either hide it w/ CSS or unset those fields from the form with a hook_form_alter(). Ryan, Could you please explain how to do that with hook_form_alter() in some detail? I also badly need to customize this page. Don't know how to start... Thanks Follow the link in http://www.ubercart.org/faq/3198 for a tutorial.
|
|
Joined: 04/05/2008