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

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1 @@
$('#cart > a').slice(-2).remove();

View File

@@ -0,0 +1,42 @@
<div id="gift_amount">
{assign "exists" 0}
{ifloop rel="cartloop"}
{loop type="cart" name="cartloop"}
{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}
{if $real_price == 0 || $real_total_price == 0}
{assign "exists" 1}
{/if}
{/loop}
{assign var="totalAmount" value={cart attr='total_taxed_price'}}
{/ifloop}
{assign var="giftCategoryId" {config key="gifts_category"}}
{assign var="minPrice" {config key="gift_amount"}}
<!--
{$totalAmount} - {$minPrice}
-->
{if $exists == 0}
{if $totalAmount >= $minPrice}
<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/img/gift.png' source='GiftOffered'}" alt="{intl l='Gift' d='giftoffered.fo.default'}"></a>
</td>
</tr>
</table>
{/if}
{/if}
</div>