Initial commit

This commit is contained in:
2020-01-27 08:56:08 +01:00
commit b7525048d6
27129 changed files with 3409855 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<dwsync>
<file name="main-navbar-secondary.html" server="51.254.220.106//web/" local="131351946600000000" remote="131351946600000000" />
<file name="mini-cart.html" server="51.254.220.106//web/" local="131351946600000000" remote="131351946600000000" />
</dwsync>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<dwsync>
<file name="styles.css" server="51.254.220.106//web/" local="131170680000000000" remote="131170680000000000" />
</dwsync>

View File

@@ -0,0 +1,3 @@
<ul class="nav navbar-nav navbar-cart navbar-right">
{hook name="mini-cart"}
</ul>

View File

@@ -0,0 +1,100 @@
{ifloop rel="cartloop"}
<li class="dropdown pull-right cart-not-empty cart-container">
<a href="{url path="/cart"}" rel="nofollow" class="cart">
{intl l="Cart" d="hookcart.fo.default"} <span class="badge">{cart attr="count_item"}</span>
</a>
<div class="dropdown-menu cart-content">
<form id="form-cart-mini" action="{url path="/order/delivery"}" method="post">
<table class="table table-cart-mini">
<colgroup>
<col width="70">
<col>
<col width="100">
</colgroup>
<tbody>
{assign "total_price" 0}
{assign "existe" 0}
{loop type="cart" name="cartloop"}
<tr>
<td class="image">
{loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="60"}
<img src="{$IMAGE_URL}" alt="{$TITLE}">
{/loop}
</td>
<td class="product">
<h3 class="name" style="margin:0">
{$TITLE}
</h3>
<a href="{token_url path="/cart/delete/$ITEM_ID"}" class="btn btn-remove" data-tip="tooltip" data-title="Delete" data-original-title=""><i class="fa fa-trash"></i> <span>{intl l="Remove" d="hookcart.fo.default"}</span></a>
</td>
<td class="unitprice text-center">
{if $IS_PROMO == 1}
{assign "real_price" $PROMO_TAXED_PRICE}
{assign "real_total_price" $TOTAL_PROMO_TAXED_PRICE}
{else}
{assign "real_price" $TAXED_PRICE}
{assign "real_total_price" $TOTAL_TAXED_PRICE}
{/if}
<span class="qty">{$QUANTITY}</span> X <span class="price" style="font-size:1em;">{format_money number=$real_price}</span>
{assign "total_price" $total_price + $real_total_price}
</td>
</tr>
{if $real_price == 0 || $real_total_price == 0}
{assign "existe" 1}
{/if}
{/loop}
</tbody>
<tfoot>
{assign var="minPrice" {config key="gift_amount"}}
{assign var="giftCategoryId" {config key="gifts_category"}}
{if $existe == 0}
{if $total_price >= $minPrice}
<tr>
<td colspan="3" class="empty">
<table width="100%">
<tr>
<td width="50%">
<h3 style="color:#CC0000;">{intl l="1 gift is offered to you for this order!" d = "giftoffered.fo.default"}</h3>
<p>
{loop name="gift-category" type="category" id="{$giftCategoryId}"}
<a href="{$SITE_URL}/?view=category&category_id={$giftCategoryId}">{intl l="Click here to choose want you want from our selection of gifts" d = "giftoffered.fo.default"}</a>
{/loop}
</p>
</td>
<td>
<a href="{$SITE_URL}/?view=category&category_id={$giftCategoryId}"><img src="{image file='assets/dist/img/gift.png'}" alt="{intl l='Gift' d='giftoffered.fo.default'}"></a>
</td>
</tr>
</table>
</td>
</tr>
{/if}
{/if}
<tr>
<td colspan="2" class="empty">
<a href="{url path="/cart"}" role="button" class="btn btn-default btn-sm"><i class="fa fa-eye"></i> {intl l="View Cart" d="hookcart.fo.default"}</a>
<a href="{url path="/order/delivery"}" role="button" class="btn btn-primary btn-sm"><i class="fa fa-chevron-right"></i> {intl l="Checkout" d="hookcart.fo.default"}</a>
{*<button type="submit" name="checkout" class="btn btn-primary btn-sm">{intl l="Checkout" d="hookcart.fo.default"}</button>*}
</td>
<td class="total">
<div class="total-price">
<span class="price">{format_money number=$total_price}</span>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
</li>
{/ifloop}
{elseloop rel="cartloop"}
<li class="dropdown pull-right cart-container">
<a href="{url path="/cart"}" rel="nofollow" class="cart">
{intl l="Cart" d="hookcart.fo.default"} <span class="badge">0</span>
</a>
<div class="dropdown-menu cart-content">
<p>{intl l="You have no items in your shopping cart." d="hookcart.fo.default"}</p>
</div>
</li>
{/elseloop}