added informations on prices on cart

This commit is contained in:
Julien Chanséaume
2014-07-31 16:54:44 +02:00
committed by Julien Chanseaume
parent 2f5c3ee5ea
commit d8873cdf2e

View File

@@ -36,7 +36,7 @@
<span class="visible-xs">{intl l="Name"}</span> <span class="visible-xs">{intl l="Name"}</span>
</th> </th>
<th class="unitprice"> <th class="unitprice">
<span class="hidden-xs">{intl l="Unit Price"}</span> <span class="hidden-xs">{intl l="Unit Price incl. taxes"}</span>
<span class="visible-xs">{intl l="Price"}</span> <span class="visible-xs">{intl l="Price"}</span>
</th> </th>
<th class="qty"> <th class="qty">
@@ -44,7 +44,7 @@
<span class="visible-xs">{intl l="Qty"}</span> <span class="visible-xs">{intl l="Qty"}</span>
</th> </th>
<th class="subprice"> <th class="subprice">
<span class="hidden-xs">{intl l="Total"}</span> <span class="hidden-xs">{intl l="Total incl. taxes"}</span>
<span class="visible-xs">{intl l="Total"}</span> <span class="visible-xs">{intl l="Total"}</span>
</th> </th>
</tr> </tr>
@@ -53,16 +53,14 @@
{loop type="cart" name="cartloop"} {loop type="cart" name="cartloop"}
<tr> <tr>
<td class="image"> <td class="image">
{ifloop rel='product-image'}
<a href="{$PRODUCT_URL}" class="thumbnail"> <a href="{$PRODUCT_URL}" class="thumbnail">
{assign "cart_count" $LOOP_COUNT} {assign "cart_count" $LOOP_COUNT}
{ifloop rel='product-image'} {loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
{loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} <img src="{$IMAGE_URL}" alt="Product #{$cart_count}">
<img src="{$IMAGE_URL}" alt="Product #{$cart_count}"></a> {/loop}
{/loop} </a>
{/ifloop} {/ifloop}
{elseloop rel="product-image"}
{images file='assets/img/product/1/118x85.png'}<img itemprop="image" src="{$asset_url}" alt="Product #{$cart_count}">{/images}
{/elseloop}
</td> </td>
<td class="product" > <td class="product" >
<h3 class="name"><a href="{$PRODUCT_URL}">{$TITLE}</a></h3> <h3 class="name"><a href="{$PRODUCT_URL}">{$TITLE}</a></h3>
@@ -162,7 +160,7 @@
<tfoot> <tfoot>
<tr> <tr>
<td colspan="3" class="empty">&nbsp;</td> <td colspan="3" class="empty">&nbsp;</td>
<th class="total">{intl l="Total"}</th> <th class="total">{intl l="Total incl. taxes"}</th>
<td class="total"> <td class="total">
<div class="total-price"> <div class="total-price">
{assign var="totalAmount" value={cart attr='total_taxed_price_without_discount'} + $postageAmount } {assign var="totalAmount" value={cart attr='total_taxed_price_without_discount'} + $postageAmount }