1 <html><head><title>Add product - Shop administration</title>
2 <link rel="stylesheet" href="/css/admin.css">
5 <h1>Shop Administration</h1>
7 <p><b><:message:> </b></p>
9 <p>| <a href="/cgi-bin/admin/menu.pl">Admin menu</a> | <a href="/cgi-bin/admin/shopadmin.pl">Manage catalogs</a>
11 <h2>Add New Product</h2>
12 <form action="<:script:>" enctype="multipart/form-data" method=POST>
13 <input type="hidden" name="id" value="<:product id:>">
14 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" class="table">
17 <table border=0 cellspacing="1" cellpadding="6">
19 <th nowrap align="left" bgcolor="#FFFFFF">Title:</th>
20 <td nowrap bgcolor="#FFFFFF">
21 <input type="text" name="title" value="<:old title:>" size=60><:error_img title:>
23 <td nowrap bgcolor="#FFFFFF"><:help product title:></td>
26 <th nowrap align="left" bgcolor="#FFFFFF">Summary:</th>
27 <td nowrap bgcolor="#FFFFFF">
28 <input type="text" name="summary" value="<:old summary:>" size=60><:error_img summary:>
30 <td nowrap bgcolor="#FFFFFF"><:help product summary:></td>
33 <th nowrap align="left" bgcolor="#FFFFFF">Description:</th>
34 <td nowrap bgcolor="#FFFFFF">
35 <input type="text" name="description" value="<:old description:>" size=60><:error_img description:>
37 <td nowrap bgcolor="#FFFFFF"><:help product description:></td>
40 <th nowrap align="left" bgcolor="#FFFFFF">Product Code:</th>
41 <td nowrap bgcolor="#FFFFFF">
42 <input type="text" name="product_code" value="<:old product_code:>" size="40"><:error_img product_code:>
44 <td nowrap bgcolor="#FFFFFF"><:help product product_code:></td>
47 <th nowrap align="left" bgcolor="#FFFFFF">Catalog:</th>
48 <td nowrap bgcolor="#FFFFFF"> <select name="parentid"><:list:></select><:error_img parentid:> </td>
49 <td nowrap bgcolor="#FFFFFF"><:help product catalog:></td>
52 <th nowrap align="left" bgcolor="#FFFFFF">Template:</th>
53 <td nowrap bgcolor="#FFFFFF"><:templates:><:error_img template:></td>
54 <td nowrap bgcolor="#FFFFFF"><:help product template:></td>
57 <th nowrap align="left" bgcolor="#FFFFFF" valign="top"> Body:</th>
58 <td nowrap bgcolor="#FFFFFF" valign="top">
59 <textarea name="body" rows=15 cols=60 wrap=virtual><:old body:></textarea> <:error_img body:>
61 <td nowrap bgcolor="#FFFFFF" valign="top"><:help body body:></td>
64 <th nowrap align="left" bgcolor="#FFFFFF">Lead time:</th>
65 <td nowrap bgcolor="#FFFFFF">
66 <input type="text" name="leadTime" value="<:old leadTime:>" size=5>
67 days <:error_img leadTime:></td>
68 <td nowrap bgcolor="#FFFFFF"><:help product leadtime:></td>
71 <th nowrap align="left" bgcolor="#FFFFFF">Retail price:</th>
72 <td nowrap bgcolor="#FFFFFF">$
73 <input type="text" name="retailPrice" value="<:old retailPrice money product retailPrice:>" size=7>
74 (0.00) <:error_img retailPrice:></td>
75 <td nowrap bgcolor="#FFFFFF"><:help product retail:></td>
78 <th nowrap align="left" bgcolor="#FFFFFF">Wholesale price:</th>
79 <td nowrap bgcolor="#FFFFFF">$
80 <input type="text" name="wholesalePrice" value="<:old wholesalePrice money product wholesalePrice:>" size=7>
81 (0.00) <:error_img wholesalePrice:></td>
82 <td nowrap bgcolor="#FFFFFF"><:help product wholesale:></td>
85 <th nowrap align="left" bgcolor="#FFFFFF">GST:</th>
86 <td nowrap bgcolor="#FFFFFF">$
87 <input type="text" name="gst" value="<:old gst money product gst:>" size=7> <:error_img gst:>
89 <td nowrap bgcolor="#FFFFFF"><:help product gst:></td>
92 <th nowrap align="left" bgcolor="#FFFFFF">Weight:</th>
93 <td nowrap bgcolor="#FFFFFF">
94 <input type="text" name="weight" value="<:old weight:>" size="7" /> grams <:error_img weight:>
96 <td nowrap bgcolor="#FFFFFF"><:help product weight:></td>
99 <th nowrap align="left" bgcolor="#FFFFFF">Length:</th>
100 <td nowrap bgcolor="#FFFFFF">
101 <input type="text" name="length" value="<:old length:>" size="7" /> mm<:error_img length:>
103 <td nowrap bgcolor="#FFFFFF"><:help product length:></td>
106 <th nowrap align="left" bgcolor="#FFFFFF">Width:</th>
107 <td nowrap bgcolor="#FFFFFF">
108 <input type="text" name="width" value="<:old width:>" size="7" /> mm<:error_img width:>
110 <td nowrap bgcolor="#FFFFFF"><:help product width:></td>
113 <th nowrap align="left" bgcolor="#FFFFFF">Height:</th>
114 <td nowrap bgcolor="#FFFFFF">
115 <input type="text" name="height" value="<:old height:>" size="7" /> mm<:error_img height:>
117 <td nowrap bgcolor="#FFFFFF"><:help product height:></td>
120 <th nowrap align="left" bgcolor="#FFFFFF">Release date:</th>
121 <td nowrap bgcolor="#FFFFFF">
122 <input type="text" name="release" value="<:date product release:>" size=11>
124 <td nowrap bgcolor="#FFFFFF"><:help product release:></td>
127 <th nowrap align="left" bgcolor="#FFFFFF">Expiry date:</th>
128 <td nowrap bgcolor="#FFFFFF">
129 <input type="text" name="expire" value="<:date product expire:>" size=11>
131 <td nowrap bgcolor="#FFFFFF"><:help product expire:></td>
134 <th nowrap align="left" bgcolor="#FFFFFF">Summary length:</th>
135 <td nowrap bgcolor="#FFFFFF">
136 <input type="text" name="summaryLength" size="10" maxlength="10" value="<:product summaryLength:>">
138 <td nowrap bgcolor="#FFFFFF"><:help product summary:></td>
141 <th nowrap align="left" bgcolor="#FFFFFF">Display threshold:</th>
142 <td nowrap bgcolor="#FFFFFF">
143 <input type="text" name="threshold" size=10 maxlength=10 value="<:product threshold:>">
145 <td nowrap bgcolor="#FFFFFF"><:help product threshold:></td>
148 <th align="left" bgcolor="#FFFFFF">Options:</th>
149 <td bgcolor="#FFFFFF">
150 <input type="text" name="options" value="<:product options:>" size=30>
151 (<:alloptions:>) </td>
152 <td bgcolor="#FFFFFF"><:help product options:></td>
155 <th nowrap bgcolor="#FFFFFF" align="left">Flags:</th>
156 <td bgcolor="#FFFFFF" width="100%"><:iterator begin flags:><:if FieldPerm flags:><input type=checkbox name=flags value="<:flag id:>" <:ifFlagSet [flag id]:>checked<:or:><:eif:>><:or FieldPerm:><:ifFlagSet [flag id]:>Yes<:or:>No<:eif:><:eif FieldPerm:><:flag desc:><:iterator end flags:></td>
157 <td bgcolor="#FFFFFF"><:help edit listed:></td>
159 <:include admin/product_custom.tmpl optional :>
161 <th nowrap align="left" bgcolor="#FFFFFF" valign="top">Thumbnail image:</th>
162 <td nowrap bgcolor="#FFFFFF">
163 <input type="file" name="thumbnail">
165 <td nowrap bgcolor="#FFFFFF" valign="top"><:help product thumb:></td>
168 <th nowrap align="left" bgcolor="#FFFFFF">Purchase subscribes to:</th>
169 <td nowrap bgcolor="#FFFFFF">
170 <select name="subscription_id">
171 <option value="-1">(nothing)</option>
172 <:iterator begin subscriptions:>
173 <option value="<:subscription subscription_id:>"><:subscription title:></option>
174 <:iterator end subscriptions:>
175 </select> for <input type="text" name="subscription_period" value="<:old subscription_period" /><:error_img subscription_period:> months.
177 <td nowrap bgcolor="#FFFFFF"><:help product subscription_id:></td>
183 <p><font size="-1">*These fields cannot be modified once you save this form.</font></p>
184 <input type=submit name="save" value="Save product">
186 <p><font size="-1">BSE Release <:release:></font></p>