Is there a way to set the default price of a non-shippable-product?
instead of
0.00
something like,
10.00
setting per content type would be ideal
Subscribe
Check out the EC Role Price module. With this module you can set a fixed price for each specified role within the product creation form.
You could also put the following code in hook_form_alter:
if (!$form['nid']['#value']) { //this is a new song $form['product']['price']['#default_value'] = '10.00'; }
At least, this works for me with e-Commerce 4 and Drupal 6 - does it work for e-Commerce 3?
Comments
Comment #1
Architeck commentedsetting per content type would be ideal
Comment #2
burningdog commentedSubscribe
Comment #3
burningdog commentedCheck out the EC Role Price module. With this module you can set a fixed price for each specified role within the product creation form.
Comment #4
burningdog commentedYou could also put the following code in hook_form_alter:
At least, this works for me with e-Commerce 4 and Drupal 6 - does it work for e-Commerce 3?