2018-08-13 14:13:55 +02:00
<% if $Items %>
2018-08-26 12:46:03 +02:00
<table class= "cart table table-striped table-bordered table-hover" summary= "<%t SilverShop\Cart\ShoppingCart.TableSummary " Current contents of your cart . " %>" >
2018-08-13 14:13:55 +02:00
<colgroup>
<col class= "image" />
<col class= "product title" />
<col class= "unitprice" />
<col class= "quantity" />
<col class= "total" />
<col class= "remove" />
</colgroup>
<thead>
<tr>
<th scope= "col" ></th>
<th scope= "col" ><%t SilverShop \ Page \ Product . SINGULARNAME "Product" %></th>
<th scope= "col" ><%t SilverShop \ Model \ Order . UnitPrice "Unit Price" %></th>
<th scope= "col" ><%t SilverShop \ Model \ Order . Quantity "Quantity" %></th>
<th scope= "col" ><%t SilverShop \ Model \ Order . TotalPriceWithCurrency "Total Price ({Currency})" Currency=$Currency %></th>
<% if $Editable %>
<th scope= "col" ><%t SilverShop \ Generic . Remove "Remove" %></th>
<% end_if %>
</tr>
</thead>
<tbody>
<% loop $Items %><% if $ShowInTable %>
<tr id= "$TableID" class= "$Classes $EvenOdd $FirstLast" >
<td>
<% if $Image %>
<div class= "image" >
<a href= "$Link" title= "<%t SilverShop\Generic.ReadMoreTitle " Click here to read more on " ;{Title}"" Title=$TableTitle %>">
2018-08-26 12:46:03 +02:00
$Image . Fill ( 100 , 100 )
2018-08-13 14:13:55 +02:00
</a>
</div>
<% end_if %>
</td>
<td id= "$TableTitleID" >
<h3>
<% if $Link %>
<a href= "$Link" title= "<%t SilverShop\Generic.ReadMoreTitle " Click here to read more on " ;{Title}"" Title=$TableTitle %>">$TableTitle</a>
<% else %>
$TableTitle
<% end_if %>
</h3>
<% if $SubTitle %><p class= "subtitle" >$SubTitle</p><% end_if %>
<% if $Product . Variations && $Up . Editable %>
<%t SilverShop \ Generic . Change "Change" %>: $VariationField
<% end_if %>
</td>
<td>$UnitPrice . Nice</td>
<td><% if $Up . Editable %>$QuantityField<% else %>$Quantity<% end_if %></td>
<td id= "$TableTotalID" >$Total . Nice</td>
<% if $Up . Editable %>
<td>
<% if $RemoveField %>
$RemoveField
<% else %>
<a href= "$removeallLink" title= "<%t SilverShop\Cart\ShoppingCart.RemoveAllTitle " Remove all of " ;{Title}" from your cart" Title=$TableTitle %>">
2018-08-26 12:46:03 +02:00
<i class= "fas fa-times" ></i>
2018-08-13 14:13:55 +02:00
</a>
<% end_if %>
</td>
<% end_if %>
</tr>
<% end_if %><% end_loop %>
</tbody>
<tfoot>
<tr class= "subtotal" >
<th colspan= "4" scope= "row" ><%t SilverShop \ Model \ Order . SubTotal "Sub-total" %></th>
<td id= "$TableSubTotalID" >$SubTotal . Nice</td>
<% if $Editable %><td>  ;</td><% end_if %>
</tr>
<% if $ShowSubtotals %>
<% if $Modifiers %>
<% loop $Modifiers %>
<% if $ShowInTable %>
<tr id= "$TableID" class= "$Classes" >
<th id= "$TableTitleID" colspan= "4" scope= "row" >
<% if $Link %>
<a href= "$Link" title= "<%t SilverShop\Generic.ReadMoreTitle " Click here to read more on " ;{Title}"" Title=$TableTitle %>">$TableTitle</a>
<% else %>
$TableTitle
<% end_if %>
</th>
<td id= "$TableTotalID" >$TableValue . Nice</td>
<% if $Up . Editable %>
<td>
<% if $CanRemove %>
<strong>
<a class= "ajaxQuantityLink" href= "$removeLink" title= "<%t SilverShop\Cart\ShoppingCart.RemoveTitle " Remove " ;{Title}" from your cart." Title=$TableTitle %>">
<img src= "$resourceURL('silvershop/core:client/dist/images/remove.gif')" alt= "x" />
</a>
</strong>
<% end_if %>
</td>
<% end_if %>
</tr>
<% if $Form %>
<tr>
<td colspan= "5" >$Form</td><td colspan= "10" ></td>
</tr>
<% end_if %>
<% end_if %>
<% end_loop %>
<% end_if %>
<tr class= "gap Total" >
<th colspan= "4" scope= "row" ><%t SilverShop \ Model \ Order . Total "Total" %></th>
<td id= "$TableTotalID" ><span class= "value" >$Total . Nice</span> <span class= "currency" >$Currency</span></td>
<% if $Editable %><td>  ;</td><% end_if %>
</tr>
<% end_if %>
</tfoot>
</table>
<% else %>
2018-08-26 12:46:03 +02:00
<div class= "alert alert-warning message warning" >
2018-08-13 14:13:55 +02:00
<%t SilverShop \ Cart \ ShoppingCart . NoItems "There are no items in your cart." %>
2018-08-26 12:46:03 +02:00
</div>
2018-08-13 14:13:55 +02:00
<% end_if %>