]>
Commit | Line | Data |
---|---|---|
025bd0d2 | 1 | <:wrap base.tmpl:> |
90e5205e | 2 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
27feb834 TC |
3 | <tr> |
4 | <td width="80%" height="24"> <font face="Arial, Helvetica, sans-serif" size="4" color="#FF7F00"><b><:title:></b></font></td> | |
025bd0d2 TC |
5 | <td height="24"> </td> |
6 | </tr> | |
7 | <tr> | |
8 | <td bgcolor="#999999" colspan="2" height="1"><img src="/images/trans_pixel.gif" width="24" height="1" border="0"></td> | |
9 | </tr> | |
10 | <tr> | |
11 | <td colspan="2"> | |
12 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |
90e5205e | 13 | <tr> |
025bd0d2 | 14 | <td width="100"><img src="/images/trans_pixel.gif" width="100" height="10" border="0"></td> |
27feb834 | 15 | <td bgcolor="#999999" width="100%"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2">/ |
025bd0d2 TC |
16 | <a href="<:ifAdmin:>/cgi-bin/admin/admin.pl?id=1<:or:>/<:eif:>"><font color="#FFFFFF">Home</font></a> |
17 | / <a href="/shop/index.html"><font color="#FFFFFF"><:article title:></font></a> | |
18 | /</font></td> | |
19 | </tr> | |
20 | </table> | |
90e5205e TC |
21 | </td> |
22 | </tr> | |
23 | </table> | |
caa7299c | 24 | <:ifMsg:><p><font face="Verdana, Arial, Helvetica, sans-serif"><b><:msg:></b> </font></p><:or:><:eif:> |
025bd0d2 | 25 | <p><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>Contains</b> |
abf5bbc6 | 26 | - <:count:> item<:if Eq [count] "1":><:or Eq:>s<:eif Eq:></font></p> |
796809d1 | 27 | <form name="form1" method="POST" action="<:dyntarget shop:>"> |
025bd0d2 TC |
28 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
29 | <tr> | |
27feb834 | 30 | <td align="center" bgcolor="#CCCCCC" width="100%" height="18"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"> |
025bd0d2 TC |
31 | <b>Shopping Cart Items</b></font></td> |
32 | </tr> | |
33 | </table> | |
27feb834 | 34 | <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#666666"> |
025bd0d2 | 35 | <tr valign="middle" align="center"> |
023761bd | 36 | <td width="100%"> |
abf5bbc6 | 37 | <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#EEEEEE"> |
27feb834 | 38 | <tr valign="middle" align="center" bgcolor="#666666"> |
023761bd TC |
39 | <:.set cart = request.cart -:> |
40 | <:.if cart.coupon_valid and !cart.coupon_active -:> | |
41 | <td></td> | |
42 | <:.end if -:> | |
025bd0d2 TC |
43 | <td width="100%" align="left" height="18"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Item:</b></font> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF">(All |
44 | prices in AUD – includes GST and shipping costs where applicable)</font></td> | |
45 | <td nowrap height="18"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Qty:</b></font> </td> | |
46 | <td height="18"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FFFFFF"><b>Price:</b></font> </td> | |
47 | <td height="18"> </td> | |
48 | </tr> | |
240fb6b6 | 49 | <:-.set items = request.cart.items -:> |
11af7272 TC |
50 | <:.if items.size -:> |
51 | <:.for item in items -:> | |
52 | <:.set options = item.option_list -:> | |
53 | <:.set session = item.session -:> | |
025bd0d2 | 54 | <tr valign="middle" align="center" bgcolor="#FFFFFF"> |
023761bd TC |
55 | <:.if cart.coupon_valid and !cart.coupon_active -:> |
56 | <td> | |
57 | <:= item.coupon_applies ? "Y" : "N" -:> | |
58 | </td> | |
59 | <:.end if -:> | |
b55d4af1 TC |
60 | <td width="100%" align="left"> <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:>: |
61 | <:= 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:> | |
62 | <:-.if cart.coupon_active and !cart.coupon_cart_wide and item.product_discount_units > 0 :> | |
63 | <br><span class="itemdiscount"> | |
64 | <:-.if item.product_discount_units < item.units -:> | |
65 | Saved $<:= bse.number("money", item.product_discount) :> on the first <:= item.product_discount_units :> units | |
66 | <:-.else -:> | |
67 | Saved $<:= bse.number("money", item.product_discount) :> on each unit | |
68 | <:-.end if -:> | |
69 | (total $<:= bse.number("money", item.product_discount * item.product_discount_units) :>) | |
70 | </span> | |
71 | <:-.end if -:> | |
72 | </td> | |
025bd0d2 | 73 | <td nowrap align="center"> |
11af7272 | 74 | <input type="text" name="quantity_<:= loop.index :>" size="2" value="<:= item.units :>"> |
025bd0d2 | 75 | </td> |
11af7272 | 76 | <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<:= bse.number("money", item.price) | html :></b></font></td> |
025bd0d2 | 77 | <td nowrap> |
11af7272 | 78 | <input type="submit" name="delete_<:= loop.index :>" value="Remove"> |
025bd0d2 TC |
79 | </td> |
80 | </tr> | |
11af7272 TC |
81 | <:.end for -:> |
82 | <:.else -:> | |
08123550 TC |
83 | <tr valign="middle" align="center" bgcolor="#FFFFFF"> |
84 | <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> | |
85 | </tr> | |
11af7272 | 86 | <:.end if -:> |
025bd0d2 TC |
87 | </table> |
88 | </td> | |
89 | </tr> | |
90 | </table> | |
91 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |
023761bd | 92 | <tr> |
2ace323a | 93 | <td colspan="2">Coupon code: <input type="text" name="coupon" value="<:= cart.coupon_code -:>"> |
023761bd TC |
94 | <:.if cart.coupon_active -:> |
95 | Coupon active | |
96 | <:.elsif cart.coupon_valid -:> | |
b55d4af1 | 97 | <:= cart.coupon_inactive_message :> |
023761bd TC |
98 | <:.elsif cart.coupon_code ne "" -:> |
99 | Unknown coupon code | |
100 | <:.end if -:> | |
101 | </td> | |
102 | <:.if cart.coupon_active -:> | |
023761bd TC |
103 | <td height="20" bgcolor="#666666"> </td> |
104 | <td align="CENTER" height="20" bgcolor="#666666" NOWRAP><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"> | |
105 | <b>DISCOUNT</b></font></td> | |
106 | <td height="20" bgcolor="#666666"> </td> | |
107 | <:.else -:> | |
2ace323a | 108 | <td colspan="5"></td> |
023761bd TC |
109 | <:.end if -:> |
110 | </tr> | |
111 | <:.if cart.coupon_active -:> | |
112 | <tr> | |
113 | <td colspan="2"> </td> | |
114 | <td height="20" style="border-left: 1px solid #666666"> </td> | |
115 | <td align="CENTER">$<:= bse.number("money", cart.product_cost_discount) -:></td> | |
116 | <td height="20" style="border-right: 1px solid #666666"> </td> | |
117 | </tr> | |
118 | <:.end if -:> | |
025bd0d2 TC |
119 | <tr> |
120 | <td> </td> | |
121 | <td height="20"> </td> | |
27feb834 TC |
122 | <td height="20" bgcolor="#666666"> </td> |
123 | <td align="CENTER" height="20" bgcolor="#666666" NOWRAP><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF"> | |
025bd0d2 | 124 | <b>GRAND TOTAL</b></font></td> |
27feb834 | 125 | <td height="20" bgcolor="#666666"> </td> |
025bd0d2 TC |
126 | </tr> |
127 | <tr> | |
128 | <td width="100%" 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> | |
129 | <td NOWRAP> | |
130 | <table border="0" cellspacing="0" cellpadding="0"> | |
131 | <tr> | |
132 | <td><img src="/images/store/left_end_cap_solid.gif" width="12" height="31"></td> | |
27feb834 | 133 | <td bgcolor="#EEEEEE" NOWRAP valign="MIDDLE"> |
2400e739 TC |
134 | <input type="submit" name="a_emptycart" value="Empty Cart"> |
135 | | |
025bd0d2 TC |
136 | <input type="submit" name="recalc" value="Recalculate"> |
137 | | |
138 | <input type="submit" name="checkout" value="Checkout"> | |
139 | </td> | |
140 | <td><img src="/images/store/right_end_cap_solid.gif" width="12" height="31"></td> | |
141 | </tr> | |
142 | </table> | |
143 | </td> | |
144 | <td><img src="/images/store/left_bottom_corner_line.gif" width="26" height="31"></td> | |
145 | <td align="center" bgcolor="#FFFFFF" height="100%" NOWRAP> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> | |
146 | <b>$<:money total:></b></font></td> | |
147 | <td><img src="/images/store/right_bottom_corner_line.gif" width="26" height="31"></td> | |
148 | </tr> | |
149 | <tr> | |
150 | <td width="100%"></td> | |
151 | <td></td> | |
152 | <td></td> | |
27feb834 | 153 | <td bgcolor="#666666"><img src="/images/trans_pixel.gif" width="1" height="1"></td> |
025bd0d2 TC |
154 | <td></td> |
155 | </tr> | |
156 | </table> | |
157 | </form> |