Pre-entered Data

Posted:
Wed Oct 21, 2009 10:11 am
by sauden
Where would I go to put Pre-entered data into the item description field when adding a new product? All items will have a particular link that just needs a number to be edited manully and I'd like to have the auction manager just edit the number and not have to enter the whole url by hand each time a product is added.
Thanks!

Posted:
Thu Oct 22, 2009 9:19 am
by shannah
You can set the default value for any field by adding a method to the products delegate class using the naming conventions
<fieldname>__default()
e.g.
If you wanted to set the default value of the minimum_bid field you would have something like
function minimum_bid__default(){
return 100;
}