re-work coupons to allow multiple coupon types
[bse.git] / site / templates / checkoutnew_base.tmpl
CommitLineData
41e7c841
TC
1<:wrap base.tmpl:>
2<script language="JavaScript">
3<!--
4function MM_findObj(n, d) { //v4.01
5 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
6 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
7 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
8 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
9 if(!x && d.getElementById) x=d.getElementById(n); return x;
10}
11
12function MM_validateForm() { //v4.0
13 var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
14 for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
15 if (val) { nm=val.name; if ((val=val.value)!="") {
16 if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
17 if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
18 } else if (test!='R') {
19 if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
20 if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
21 min=test.substring(8,p); max=test.substring(p+1);
22 if (val<min || max<val) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
23 } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
24 } if (errors) alert('The following error(s) occurred:\n'+errors);
25 document.MM_returnValue = (errors == '');
26}
27
28function BSE_validateForm {
29 var typeEl = MM_findObj('paymentType');
30 var type = typeEl.value;
31 if (type == 0) {
32 MM_validateForm('delivFirstName','','R','delivLastName','','R','delivStreet','','R','delivSuburb','','R','delivPostCode','','R','delivState','','R','delivCountry','','R','emailAddress','','RisEmail','cardHolder','','R','cardNumber','','R','cardExpiry','','R');
33 }
34 else {
35 MM_validateForm('delivFirstName','','R','delivLastName','','R','delivStreet','','R','delivSuburb','','R','delivPostCode','','R','delivState','','R','delivCountry','','R','emailAddress','','RisEmail');
36 }
37}
38
39//-->
40</script>
41<table width="100%" border="0" cellspacing="0" cellpadding="0">
42 <tr>
43 <td width="80%" height="24">&nbsp;&nbsp;<font face="Arial, Helvetica, sans-serif" size="4" color="#FF7F00"><b><:title:></b></font></td>
44 <td height="24">&nbsp;</td>
45 </tr>
46 <tr>
47 <td bgcolor="#999999" colspan="2" height="1"><img src="/images/trans_pixel.gif" width="24" height="1" border="0"></td>
48 </tr>
49 <tr>
50 <td colspan="2">
51 <table width="100%" border="0" cellspacing="0" cellpadding="0">
52 <tr>
53 <td width="100"><img src="/images/trans_pixel.gif" width="100" height="10" border="0"></td>
54 <td bgcolor="#999999" width="100%">&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2">/
55 <a href="<:ifAdmin:>/cgi-bin/admin/admin.pl?id=1<:or:>/<:eif:>"><font color="#FFFFFF">Home</font></a>
56 / <a href="/shop/index.html"><font color="#FFFFFF"><:article title:></font></a>
57 /</font></td>
58 </tr>
59 </table>
60 </td>
61 </tr>
62</table>
63<p> <b><font face="Verdana, Arial, Helvetica, sans-serif" size="3"> Thank you
64 for shopping at <:siteName:></font></b></p>
65<font class="article_body_text" face="Verdana, Arial, Helvetica, sans-serif" size="2">
66<p> The <:siteName:> store is run on a secure encrypted server, your details are
67 safe with us.<br>
68</p>
69</font>
2ace323a 70<form action="<:dyntarget shop:>" method="post">
41e7c841
TC
71<table width="100%" border="0" cellspacing="0" cellpadding="0">
72 <tr>
73 <td align="center" bgcolor="#CCCCCC" width="100%" height="18"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
74 <b>Shopping Cart Items</b></font></td>
75 </tr>
76</table>
77<table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#666666">
78 <tr valign="middle" align="center">
79 <td width="100%">
80 <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#EEEEEE">
81 <tr valign="middle" align="center" bgcolor="#666666">
023761bd
TC
82<:.set cart = request.cart -:>
83<:.if cart.coupon_valid and !cart.coupon_active -:>
84 <td></td>
85<:.end if -:>
41e7c841
TC
86 <td width="100%" align="left" height="18"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Item:</b></font>&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF">(All
87 prices in AUD &#150; includes GST and shipping costs where applicable)</font></td>
88 <td nowrap height="18"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Qty:</b></font>&nbsp;</td>
89 <td height="18"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Price:</b></font>&nbsp;</td>
90 </tr>
023761bd
TC
91 <:-.set items = request.cart.items -:>
92 <:.if items.size -:>
93 <:.for item in items -:>
94 <:.set options = item.option_list -:>
95 <:.set session = item.session -:>
96 <tr valign="middle" align="center" bgcolor="#FFFFFF">
97<:.if cart.coupon_valid and !cart.coupon_active -:>
98 <td>
99<:= item.coupon_applies ? "Y" : "N" -:>
100 </td>
101<:.end if -:>
b55d4af1
TC
102 <td width="100%" align="left"> &nbsp;<span class="cartproducttitle"><a href="<:= item.link | html:>"><:= item.product.description | html :></a></span> <:.if options.size:>(<:.for option in options:><:= loop.index ? ", " : "" :><:= option.desc | html:>:
103 <:= option.display |html :><:.end for:>)<:.end if -:><:.if item.session_id:>(session at <:= session.location.description | html:> <:= bse.date("%H:%M %d/%m/%Y", session.when_at) -:>)<:.end if:>
104<:-.if cart.coupon_active and !cart.coupon_cart_wide and item.product_discount_units > 0 :>
105<br><span class="itemdiscount">
106 <:-.if item.product_discount_units < item.units -:>
107Saved $<:= bse.number("money", item.product_discount) :> on the first <:= item.product_discount_units :> units
108 <:-.else -:>
109Saved $<:= bse.number("money", item.product_discount) :> on each unit
110 <:-.end if -:>
111&nbsp;(total $<:= bse.number("money", item.product_discount * item.product_discount_units) :>)
112</span>
113<:-.end if -:>
114</td>
023761bd
TC
115 <td nowrap align="center">
116 <input type="text" name="quantity_<:= loop.index :>" size="2" value="<:= item.units :>">
117 </td>
118 <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<:= bse.number("money", item.price) | html :></b></font></td>
119 </tr>
120 <:.end for -:>
121 <:.else -:>
122 <tr valign="middle" align="center" bgcolor="#FFFFFF">
123 <td width="100%" height="20" align="center" colspan="4"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">You have no items in your shopping cart!</font></td>
124 </tr>
125 <:.end if -:>
c6369510 126 <:.if cart.shipping_cost:>
7710a464 127 <tr valign="middle" align="center" bgcolor="#FFFFFF">
c6369510
TC
128 <td colspan=2 width="100%" align="left">&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2">Shipping charges (for <:= cart.shipping_method:><:.if cart.delivery_in.defined:>, delivery in <:= cart.delivery_in:> days<:.end if:>)</font></td>
129 <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<:= bse.number("money", cart.shipping_cost) :></b></font></td>
7710a464 130 </tr>
c6369510
TC
131 <:.end if:>
132 <:.if cart.shipping_name eq "contact" :>
cb351412
TC
133 <tr valign="middle" align="center" bgcolor="#FFFFFF">
134 <td colspan=2 width="100%" align="left">&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2">Shipping charges to be determined later</font></td>
135 <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$X.XX</b></font></td>
136 </tr>
c6369510 137 <:.end if :>
41e7c841
TC
138 </table>
139 </td>
140 </tr>
141</table>
142<table width="100%" border="0" cellspacing="0" cellpadding="0">
023761bd
TC
143 <tr>
144 <td>Coupon code: <input type="text" name="coupon" value="<:= cart.coupon_code -:>">
145<:.if cart.coupon_active -:>
146Coupon active
147<:.elsif cart.coupon_valid -:>
b55d4af1 148<:= cart.coupon_inactive_message :>
023761bd
TC
149<:.elsif cart.coupon_code ne "" -:>
150Unknown coupon code
151<:.end if -:>
152</td>
153<:.if cart.coupon_active -:>
154 <td height="20">&nbsp;</td>
155 <td height="20" bgcolor="#666666">&nbsp;</td>
156 <td align="CENTER" height="20" bgcolor="#666666" NOWRAP><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">
157 <b>DISCOUNT</b></font></td>
158 <td height="20" bgcolor="#666666">&nbsp;</td>
159<:.else -:>
160 <td colspan="6"></td>
161<:.end if -:>
162 </tr>
163<:.if cart.coupon_active -:>
164 <tr>
165 <td colspan="2">&nbsp;</td>
166 <td height="20" style="border-left: 1px solid #666666">&nbsp;</td>
167 <td align="CENTER">$<:= bse.number("money", cart.product_cost_discount) -:></td>
168 <td height="20" style="border-right: 1px solid #666666">&nbsp;</td>
169 </tr>
170<:.end if -:>
41e7c841
TC
171 <tr>
172 <td>&nbsp;</td>
173 <td height="20">&nbsp;</td>
174 <td height="20" bgcolor="#666666">&nbsp;</td>
175 <td align="CENTER" height="20" bgcolor="#666666" NOWRAP><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">
176 <b>GRAND TOTAL</b></font></td>
177 <td height="20" bgcolor="#666666">&nbsp;</td>
178 </tr>
179 <tr>
180 <td width="50%" valign="MIDDLE"><a href="/shop/index.html"><img src="/images/store/browse_more.gif" width="133" height="21" border="0" alt="Browse More"></a></td>
181 <td NOWRAP width="50%">
182 <table border="0" cellspacing="0" cellpadding="0">
183 <tr></tr>
184 </table>
185 </td>
186 <td><img src="/images/store/left_bottom_corner_line.gif" width="26" height="31"></td>
187 <td align="center" bgcolor="#FFFFFF" height="100%" NOWRAP> <font size="3" face="Verdana, Arial, Helvetica, sans-serif">
188 <b>$<:money total:></b></font></td>
189 <td><img src="/images/store/right_bottom_corner_line.gif" width="26" height="31"></td>
190 </tr>
191 <tr>
192 <td width="50%"></td>
193 <td width="50%"></td>
194 <td></td>
195 <td bgcolor="#666666"><img src="/images/trans_pixel.gif" width="1" height="1"></td>
196 <td></td>
197 </tr>
198</table>
199<:if User:>
200<p>&nbsp;</p>
201<:or User:>
202 <br>
203 <table bgcolor="#EEEEEE" border="0" cellspacing="0" cellpadding="10" width="100%">
204 <tr>
205 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">If you wish to track the status of your order you must either <a href="/cgi-bin/user.pl?show_register=1&r=/cgi-bin/shop.pl?checkout=1"><b>Register</b></a> or <a href="/cgi-bin/user.pl?show_logon=1&r=/cgi-bin/shop.pl?checkout=1"><b>Logon</b></a> before you continue with this purchase.</font></td>
206 </tr>
207 </table>
208 <br>
209<:eif User:>
c4f18087 210 <font face="Verdana, Arial, Helvetica, sans-serif" size="3"> <b>Billing Details:</b></font>
41e7c841
TC
211 <hr noshade size="1">
212 <table border="0" cellspacing="0" cellpadding="0">
213 <:if Message:>
214 <tr>
215 <td colspan=2>
216 <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:message:></font></p>
217 </td>
218 </tr>
219 <:or Message:><:eif Message:>
220 <tr>
221 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> First
222 Name:</font></td>
223 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 224 <input type="Text" name="billFirstName" size=34 value="<:old billFirstName:>"><:error_img billFirstName:>
41e7c841
TC
225 *</font></td>
226 </tr>
227 <tr>
228 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Last Name:</font></td>
229 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 230 <input type="Text" name="billLastName" size=34 value="<:old billLastName:>"><:error_img billLastName:>
41e7c841
TC
231 *</font></td>
232 </tr>
37dd20ad
TC
233 <tr>
234 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Organization:</font></td>
235 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 236 <input type="Text" name="billOrganization" size=34 value="<:old billOrganization:>"><:error_img billOrganization:>
37dd20ad
TC
237 *</font></td>
238 </tr>
41e7c841
TC
239 <tr>
240 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Address:</font></td>
241 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 242 <input type="Text" name="billStreet" size=34 value="<:old billStreet:>"><:error_img billStreet:>
41e7c841
TC
243 *</font></td>
244 </tr>
37dd20ad
TC
245 <tr>
246 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> </font></td>
247 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 248 <input type="Text" name="billStreet2" size=34 value="<:old billStreet2:>"><:error_img billStreet2:>
37dd20ad
TC
249 </font></td>
250 </tr>
41e7c841
TC
251 <tr>
252 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> City:</font></td>
253 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 254 <input type="Text" name="billSuburb" size=34 value="<:old billSuburb:>"><:error_img billSuburb:>
41e7c841
TC
255 *</font></td>
256 </tr>
257 <tr>
258 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Postcode:</font></td>
259 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 260 <input type="Text" name="billPostCode" size=10 value="<:old billPostCode:>"><:error_img billPostCode:>
41e7c841
TC
261 *</font></td>
262 </tr>
263 <tr>
264 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> State:</font></td>
265 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 266 <input type="Text" name="billState" size=10 value="<:old billState:>"><:error_img billState:>
41e7c841
TC
267 *</font></td>
268 </tr>
269 <tr>
270 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Country:</font></td>
271 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 272 <input type="Text" name="billCountry" size=20 value="<:old billCountry:>"><:error_img billCountry:>
41e7c841
TC
273 *</font></td>
274 </tr>
275 <tr>
c4f18087 276 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Email:</font></td>
41e7c841 277 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 278 <input type="Text" name="billEmail" size=20 value="<:old billEmail:>"><:error_img billEmail:>
41e7c841
TC
279 *</font></td>
280 </tr>
281 <tr>
c4f18087 282 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Telephone:</font></td>
41e7c841 283 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087
TC
284 <input type="Text" name="billTelephone" size=20 value="<:old billTelephone:>"><:error_img billTelephone:>
285 *</font></td>
41e7c841
TC
286 </tr>
287 <tr>
c4f18087 288 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Mobile:</font></td>
41e7c841 289 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 290 <input type="Text" name="billMobile" size=20 value="<:old billMobile:>"><:error_img billMobile:>
41e7c841
TC
291 </font></td>
292 </tr>
293 <tr>
c4f18087 294 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Facsimile:</font></td>
41e7c841 295 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 296 <input type="Text" name="billFacsimile" size=20 value="<:old billFacsimile:>" /><:error_img billFacsimile:>
41e7c841
TC
297 *</font></td>
298 </tr>
299 <tr>
300 <td valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Special<br />Instructions:</font></td>
301 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
302 <textarea name="instructions" rows="5" cols="40" wrap="virtual"><:old instructions:></textarea></font><:error_img instructions:></td>
303 </tr>
b55d4af1 304<:.if cart.cfg_shipping and cart.any_physical_products:>
7710a464 305 <tr>
d8674b8b 306 <td valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Shipping<br /> method:</font></td>
cb351412
TC
307 <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:shipping_select:></font><:error_img shipping_name:> *
308</td>
7710a464 309 </tr>
c6369510 310<:.end if:>
74b21f6d
TC
311 <tr>
312 <td valign="top"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Purchase<br />Order:</font></td>
313 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
314 <input type="text" name="purchase_order" value="<:old purchase_order:>" /></font><:error_img purchase_order:></td>
315 </tr>
41e7c841
TC
316 <tr>
317 <td colspan="2"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
318 * Required information for order to be shipped</font></td>
319 </tr>
320 </table>
321 <p>&nbsp; </p>
be28d40c 322 <:if NeedDelivery:>
c4f18087 323 <font face="Verdana, Arial, Helvetica, sans-serif" size="3"><input type="checkbox" name="need_delivery" checked="checked" onClick="this.form.checkupdate.click()" /> <b>Shipping Details:</b></font>
41e7c841
TC
324
325 <hr size="1" noshade>
326 <table border="0" cellspacing="0" cellpadding="0">
327 <tr>
328 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> First
329 Name:</font></td>
330 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 331 <input type="Text" name="delivFirstName" size=34 value="<:old delivFirstName:>"><:error_img delivFirstName:>
41e7c841
TC
332 *</font></td>
333 </tr>
334 <tr>
335 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Last Name:</font></td>
336 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 337 <input type="Text" name="delivLastName" size=34 value="<:old delivLastName:>"><:error_img delivLastName:>
41e7c841
TC
338 *</font></td>
339 </tr>
37dd20ad
TC
340 <tr>
341 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Organization:</font></td>
342 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 343 <input type="Text" name="delivOrganization" size=34 value="<:old delivOrganization:>" /><:error_img delivOrganization:>
37dd20ad
TC
344 *</font></td>
345 </tr>
41e7c841
TC
346 <tr>
347 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Address:</font></td>
348 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 349 <input type="Text" name="delivStreet" size=34 value="<:old delivStreet:>" /><:error_img delivStreet:>
41e7c841
TC
350 *</font></td>
351 </tr>
37dd20ad
TC
352 <tr>
353 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> </font></td>
354 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 355 <input type="Text" name="delivStreet2" size=34 value="<:old delivStreet2:>" /><:error_img delivStreet2:>
37dd20ad
TC
356 </font></td>
357 </tr>
41e7c841
TC
358 <tr>
359 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> City:</font></td>
360 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 361 <input type="Text" name="delivSuburb" size=34 value="<:old delivSuburb:>" /><:error_img delivSuburb:>
41e7c841
TC
362 *</font></td>
363 </tr>
364 <tr>
365 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Postcode:</font></td>
366 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 367 <input type="Text" name="delivPostCode" size=10 value="<:old delivPostCode:>" /><:error_img delivPostCode:>
41e7c841
TC
368 *</font></td>
369 </tr>
370 <tr>
371 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> State:</font></td>
372 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 373 <input type="Text" name="delivState" size=10 value="<:old delivState:>" /><:error_img delivState:>
41e7c841
TC
374 *</font></td>
375 </tr>
376 <tr>
377 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Country:</font></td>
378 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 379 <input type="Text" name="delivCountry" size=20 value="<:old delivCountry:>" /><:error_img delivCountry:>
41e7c841
TC
380 *</font></td>
381 </tr>
382 <tr>
383 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Telephone:</font></td>
384 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
50b9a121 385 <input type="Text" name="telephone" size=20 value="<:old telephone:>" /><:error_img telephone:>
41e7c841
TC
386 *</font></td>
387 </tr>
388 <tr>
389 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Mobile:</font></td>
390 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c4f18087 391 <input type="Text" name="delivMobile" size=20 value="<:old delivMobile:>" /><:error_img delivMobile:>
41e7c841
TC
392 </font></td>
393 </tr>
394 <tr>
395 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> Facsimile:</font></td>
396 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
50b9a121 397 <input type="Text" name="facsimile" size=20 value="<:old facsimile:>" /><:error_img facsimile:>
c4f18087
TC
398 </font></td>
399 </tr>
400 <tr>
401 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> E-mail:</font></td>
402 <td> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
c6369510 403 <input type="Text" name="emailAddress" size=34 value="<:= old("emailAddress"):>"><:.call "error_img", "field":"emailAddress":>
41e7c841
TC
404 *</font></td>
405 </tr>
406 </table>
407 <p>&nbsp; </p>
be28d40c 408 <:or NeedDelivery:>
c4f18087 409 <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> <input type="checkbox" name="need_delivery" onClick="this.form.checkupdate.click()" /> Delivery details different to billing</font></p>
be28d40c 410 <:eif NeedDelivery:>
41e7c841
TC
411<:include custom/checkout.include optional:>
412 <p>
413 <input type="submit" value="Update" name="checkupdate" />
414 <input type="submit" value="Purchase Now" name="a_order">
415 <input type="reset" value="Reset Form" name="reset">
416 </p>
417 </form>