Add a message if the cart is empty
This commit is contained in:
@@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
<h1 id="main-label" class="page-header">{intl l="Your Cart"}</h1>
|
<h1 id="main-label" class="page-header">{intl l="Your Cart"}</h1>
|
||||||
|
|
||||||
|
{nocache}
|
||||||
|
{ifloop rel="cartloop"}
|
||||||
<div class="btn-group checkout-progress">
|
<div class="btn-group checkout-progress">
|
||||||
<a href="#" role="button" class="btn btn-step active"><span class="step-nb">1</span> <span class="step-label">{intl l="Your Cart"}</span></a>
|
<a href="#" role="button" class="btn btn-step active"><span class="step-nb">1</span> <span class="step-label">{intl l="Your Cart"}</span></a>
|
||||||
<a href="#" role="button" class="btn btn-step disabled"><span class="step-nb">2</span> <span class="step-label">{intl l="Billing and delivery"}</span></a>
|
<a href="#" role="button" class="btn btn-step disabled"><span class="step-nb">2</span> <span class="step-label">{intl l="Billing and delivery"}</span></a>
|
||||||
@@ -53,10 +55,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
{nocache}
|
|
||||||
{loop type="cart" name="cartloop"}
|
{loop type="cart" name="cartloop"}
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="image">
|
<td class="image">
|
||||||
<a href="{$PRODUCT_URL}" class="thumbnail">
|
<a href="{$PRODUCT_URL}" class="thumbnail">
|
||||||
@@ -120,7 +119,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{/loop}
|
{/loop}
|
||||||
{/nocache}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr >
|
<tr >
|
||||||
@@ -138,6 +136,13 @@
|
|||||||
<a href="{navigate to="index"}" role="button" class="btn btn-continue-shopping"><span>{intl l="Continue Shopping"}</span></a>
|
<a href="{navigate to="index"}" role="button" class="btn btn-continue-shopping"><span>{intl l="Continue Shopping"}</span></a>
|
||||||
<a href="{url path="/order/delivery"}" class="btn btn-checkout">{intl l="Proceed checkout"}</a>
|
<a href="{url path="/order/delivery"}" class="btn btn-checkout">{intl l="Proceed checkout"}</a>
|
||||||
|
|
||||||
|
{/ifloop}
|
||||||
|
{elseloop rel="cartloop"}
|
||||||
|
<div class="cart-warning">
|
||||||
|
<strong>{intl l="Warning"}!</strong> {intl l="You have no items in your shopping cart."}
|
||||||
|
</div>
|
||||||
|
{/elseloop}
|
||||||
|
{/nocache}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{ifloop rel="product_upsell"}
|
{ifloop rel="product_upsell"}
|
||||||
|
|||||||
Reference in New Issue
Block a user