I need some guidance

raspberryheaven's picture
Offline
Joined: 09/23/2008
Juice: 47
I need some guidance

Hi All, I wanted to disable the SKU on my install too becuase I hope to convert my install into a catalogue. I don't need to sell things. Anyway, I took the code and updated the .info file to match the requirements for 6.4 on drupal. THat worked. Now I can't find the Forum id the product_node_form doesn't work anymore but I don't know why.
I got this: It is prudent to test for your form_id. This would serve to eliminate a number of difficult to debug errors. If you do not the name of your form, view the form source in the browser. It should look something like:

<input type="hidden" name="edit[form_id]" id="edit-mypage-node-form" value="mypage_node_form" />

from molecular sciences.org but it doesn't work. this is what the browser shows for the input type on the sku field:

<div class="form-item" id="edit-model-wrapper">
<label for="edit-model">SKU: <span class="form-required" title="This field is required.">*</span></label>
<input type="text" maxlength="128" name="model" id="edit-model" size="32" value="" class="form-text required" />
<div class="description">Product SKU/model.</div>
</div>

So, I am a little confused as to how to determine form id.

Can someone clarify?

Thanks,
raspberryheaven

Removing SKU on product edit page By: jag (48 replies) Tue, 12/11/2007 - 23:12