Re: Re: How can I hook a product node edit form?

Posts: 2239
Joined: 08/07/2007
AdministratoreLiTe!

Drupal provides hook_form_alter(), which is how the shipping modules add in their fieldsets. These functions have access to all of the product fields, but they choose to ignore them for the most part.

hook_form_alter() basically does what you proposed, but for every form identified by the $form_id.

Multiple currencies for products By: Gordonjcp (28 replies) Tue, 09/25/2007 - 06:26