-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
iso_cart_full.html5
73 lines (70 loc) · 3.67 KB
/
iso_cart_full.html5
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
<div class="cart_full">
<?php if ($this->hasError): ?>
<p class="message error"><?php echo $this->minSubtotalError; ?></p>
<?php endif; ?>
<form action="<?php echo $this->action; ?>" id="<?php echo $this->formId; ?>" method="post">
<div class="formbody">
<input type="hidden" name="FORM_SUBMIT" value="<?php echo $this->formSubmit; ?>">
<input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
<table>
<tfoot>
<tr class="foot_0 foot_first subtotal">
<td class="col_first"> </td>
<td class="name" colspan="2"><?php echo $this->subTotalLabel; ?></td>
<td class="price"> </td>
<td class="price total"><?php echo $this->subTotalPrice; ?></td>
<td class="tax"> </td>
<td class="col_last remove"> </td>
</tr>
<?php foreach( $this->surcharges as $surcharge ): ?>
<tr class="<?php echo $surcharge['rowClass']; ?>">
<td class="col_first"> </td>
<td class="name" colspan="2"><?php echo $surcharge['label']; ?></td>
<td class="price"><?php echo $surcharge['price']; ?></td>
<td class="price total"><?php echo $surcharge['total_price']; ?></td>
<td class="tax"><?php echo $surcharge['tax_id']; ?></td>
<td class="col_last remove"> </td>
</tr>
<?php endforeach; ?>
<tr class="foot_<?php echo count($this->surcharges)+1; ?> foot_last grandtotal">
<td class="col_first"> </td>
<td class="name" colspan="2"><?php echo $this->grandTotalLabel; ?></td>
<td class="price total" colspan="2"><?php echo $this->grandTotalPrice; ?></td>
<td class="tax"> </td>
<td class="col_last remove"> </td>
</tr>
</tfoot>
<tbody>
<?php foreach($this->products as $product): ?>
<tr class="<?php echo $product['rowClass']; ?>">
<td class="col_0 col_first image"><a href="<?php echo $product['link']; ?>" title="<?php echo $product['name']; ?>"><img src="<?php echo $product['image']['gallery']; ?>" alt="<?php echo $product['image']['alt']; ?>" class="thumbnail" <?php echo $product['image']['gallery_size']; ?>></a></td>
<td class="col_1 name">
<a href="<?php echo $product['link']; ?>" title="<?php echo $product['name']; ?>"><?php echo $product['name']; ?></a>
<?php if($product['product_options']): ?>
<div class="optionswrapper">
<ul class="productOptions">
<?php foreach($product['product_options'] as $option): ?>
<li><strong><?php echo $option['label']; ?>:</strong> <?php echo $option['value']; ?></li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
</td>
<td class="col_2 quantity"><input name="quantity[<?php echo $product['cart_item_id']; ?>]" type="text" class="text" value="<?php echo $product['quantity']; ?>" maxlength="10"></td>
<td class="col_3 price"><?php echo $product['price']; ?></td>
<td class="col_4 price total"><?php echo $product['total_price']; ?></td>
<td class="col_5 tax"><?php echo $product['tax_id']; ?></td>
<td class="col_6 col_last remove"><a href="<?php echo $product['remove_link']; ?>" title="<?php echo $product['remove_link_title']; ?>" class="remove"><?php echo $product['remove_link_text']; ?></a></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div class="submit_container">
<input type="submit" class="submit update" name="update_cart" id="ctrl_update_cart" value="<?php echo $GLOBALS['TL_LANG']['MSC']['updateCartBT']; ?>"><?php if ($this->checkoutJumpTo): ?>
<input type="submit" class="submit checkout" name="checkout" id="ctrl_checkout" value="<?php echo $this->checkoutJumpToLabel; ?>"><?php endif; ?>
<?php if ($this->continueJumpTo) : ?><a class="continue" href="<?php echo $this->continueJumpTo; ?>"><?php echo $this->continueLabel; ?></a><?php endif; ?>
</div>
</form>
<?php if(count($this->forms)) echo implode("\n", $this->forms); ?>
</div>