Disabling certain fields of Product Information

Posts: 97
Joined: 04/05/2008
Bug Finder

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.

Posts: 4749
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

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().

Posts: 17
Joined: 05/03/2008

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

Posts: 896
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Follow the link in http://www.ubercart.org/faq/3198 for a tutorial.

--

<tr>.

Posts: 17
Joined: 05/03/2008

Thanks