Empty cart + Intl
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
{ifloop rel="cartloop"}
|
{ifloop rel="cartloop"}
|
||||||
|
<li class="dropdown pull-right cart-not-empty">
|
||||||
|
<a href="{url path="/cart"}" rel="nofollow" class="cart">
|
||||||
|
{intl l="Cart"} <span class="badge">{cart attr="count_item"}</span>
|
||||||
|
</a>
|
||||||
<div class="dropdown-menu cart-content">
|
<div class="dropdown-menu cart-content">
|
||||||
<form id="form-cart-mini" action="{url path="/order/delivery"}" method="post" role="form">
|
<form id="form-cart-mini" action="{url path="/order/delivery"}" method="post" role="form">
|
||||||
<table class="table table-cart-mini">
|
<table class="table table-cart-mini">
|
||||||
@@ -40,8 +44,8 @@
|
|||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="empty">
|
<td colspan="2" class="empty">
|
||||||
<a href="{url path="/cart"}" role="button" class="btn btn-default btn-sm"><span>View Cart</span></a>
|
<a href="{url path="/cart"}" role="button" class="btn btn-default btn-sm"><span>{intl l="View Cart"}</span></a>
|
||||||
<button type="submit" name="checkout" class="btn btn-warning btn-sm"><span>Checkout</span></button>
|
<button type="submit" name="checkout" class="btn btn-warning btn-sm"><span>{intl l="Checkout"}</span></button>
|
||||||
</td>
|
</td>
|
||||||
<td class="total">
|
<td class="total">
|
||||||
<div class="total-price">
|
<div class="total-price">
|
||||||
@@ -53,9 +57,15 @@
|
|||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
{/ifloop}
|
{/ifloop}
|
||||||
{elseloop rel="cartloop"}
|
{elseloop rel="cartloop"}
|
||||||
|
<li class="dropdown pull-right">
|
||||||
|
<a href="{url path="/cart"}" rel="nofollow" class="cart">
|
||||||
|
{intl l="Cart"} <span class="badge">0</span>
|
||||||
|
</a>
|
||||||
<div class="dropdown-menu cart-content">
|
<div class="dropdown-menu cart-content">
|
||||||
<p>You have no items in your shopping cart.</p>
|
<p>{intl l="You have no items in your shopping cart."}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
{/elseloop}
|
{/elseloop}
|
||||||
Reference in New Issue
Block a user