-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyshop_caddy.html
117 lines (104 loc) · 4.71 KB
/
myshop_caddy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<{$breadcrumb}>
<br />
<{if $mod_pref.advertisement != ''}><div id="myshop_publicite"><{$mod_pref.advertisement}></div><{/if}>
<br />
<h2><{$smarty.const._MI_MYSHOP_SMNAME1}></h2>
<{if $emptyCart}>
<i><{$smarty.const._MYSHOP_CART_IS_EMPTY}></i>
<{if $isCartExists}>
<br /><a href="<{$smarty.const.MYSHOP_URL}>caddy.php?op=reload"><{$smarty.const._MYSHOP_RELOAD_PERSISTENT}></a>
<{/if}>
<{else}>
<form method="post" name="frmUpdate" id="frmUpdate" action="<{$smarty.const.MYSHOP_URL}>caddy.php" style="margin:0; padding:0; border: 0px; display: inline;">
<table class="outer">
<tr>
<th align="center"><{$smarty.const._MYSHOP_ITEMS}></th>
<th align="center"><{$smarty.const._MYSHOP_UNIT_PRICE}></th>
<th align="center"><{$smarty.const._MYSHOP_UNIT_PRICE2}></th>
<th align="center"><{$smarty.const._MYSHOP_QUANTITY}></th>
<th align="center"><{$smarty.const._MYSHOP_CART1}></th>
<th align="center"><{$smarty.const._MYSHOP_CART2}></th>
<th align="center"><{$smarty.const._MYSHOP_CART3}></th>
<th align="center"><{$smarty.const._MYSHOP_SHIPPING_PRICE}></th>
<th align="center"><{$smarty.const._MYSHOP_PRICE}></th>
</tr>
<{foreach item=product from=$caddieProducts}>
<tr class="<{cycle values='odd,even'}>">
<td>
<a href="<{$product.product_url_rewrited}>" title="<{$product.product_href_title}>">
<{$product.product_title}>
<{if $product.reduction != ''}><sup style="color: #FF0000;"><{$product.number}></sup>
<{/if}>
</a>
</td>
<td align="right"><{$product.unitBasePriceFormated}></td>
<td align="right"><{if $product.reduction != ''}><{$product.discountedPriceFormated}><{else}>--<{/if}></td>
<td align="center">
<input type="text" name="qty_<{$product.number}>" id="qty_<{$product.number}>" value="<{$product.product_qty}>" size="3" />
</td>
<td align="right"><{$product.discountedPriceWithQuantityFormated}></td>
<td align="right"><{$product.vatRate}></td>
<td align="right"><{$product.vatAmountFormated}></td>
<td align="right"><{$product.discountedShippingFormated}></td>
<td align="right"><{$product.totalPriceFormated}></td>
<td>
<a href="<{$smarty.const.MYSHOP_URL}>caddy.php?op=delete&product_id=<{$product.number}>" <{$confirm_delete_item}> title="<{$smarty.const._MYSHOP_REMOVE_ITEM}>">
<img src="<{$smarty.const.MYSHOP_IMAGES_URL}>cartdelete.png" alt="<{$smarty.const._MYSHOP_REMOVE_ITEM}>" border="0" />
</td>
</tr>
<{/foreach}>
<tr>
<td colspan="4"><h3><{$smarty.const._MYSHOP_TOTAL}></h3></td>
<td align="right"><{$commandAmount}></td>
<td> </td>
<td align="right" valign="middle"><{$vatAmount}></td>
<td align="right" valign="middle"><{$shippingAmount}></td>
<td colspan="2" align="right" valign="middle" class="head"><{$commandAmountTTC}></td>
</tr>
<tr>
<td colspan="8">
<{$smarty.const._MYSHOP_QTE_MODIFIED}>
<input type="hidden" name="op" id="op" value="update" />
<input type="submit" name="btnUpdate" id="btnUpdate" value="<{$smarty.const._MYSHOP_UPDATE}>" />
</form>
<form method="post" name="frmEmpty" id="frmEmpty" action="<{$smarty.const.MYSHOP_URL}>caddy.php" <{$confEmpty}> style="margin:0; padding:0; border: 0px; display: inline;">
<input type="hidden" name="op" id="op" value="empty" />
<input type="submit" name="btnEmpty" id="btnEmpty" value="<{$smarty.const._MYSHOP_EMPTY_CART}>" />
</form>
<form method="post" name="frmGoOn" id="frmGoOn" action="<{$goOn}>" style="margin:0; padding:0; border: 0px; display: inline;">
<input type="submit" name="btnGoOn" id="btnGoOn" value="<{$smarty.const._MYSHOP_GO_ON}>" />
</form>
</td>
<td colspan="2" align="center">
<{if $showOrderButton}>
<form method="post" name="frmCheckout" id="frmCheckout" action="<{$smarty.const.MYSHOP_URL}>checkout.php" style="margin:0; padding:0; border: 0px; display: inline;">
<input type="submit" name="btnCheckout" id="btnCheckout" value="<{$smarty.const._MYSHOP_CHECKOUT}>" />
</form>
<{/if}>
</td>
</tr>
</table>
<{if $showRegistredOnly && trim($restrict_orders_text) != ''}>
<br />
<div class="myshop_alert">
<{$restrict_orders_text}>
</div>
<{/if}>
<{if $discountsCount > 0}>
<div class="myshop_discounts">
<h3><{$smarty.const._MYSHOP_CART4}></h3>
<ul>
<{foreach item=product from=$caddieProducts}>
<{if $product.reduction != ''}><li class="myshop_discount-description"><sup style="color: #FF0000;"><{$product.number}></sup> <{$product.reduction}></li><{/if}>
<{/foreach}>
</ul>
<{if count($discountsDescription) > 0}>
<ul>
<{foreach item=discount from=$discountsDescription}>
<li class="myshop_discount-description"><{$discount}></li>
<{/foreach}>
</ul>
<{/if}>
</div>
<{/if}>
<{/if}>