[{oxscript include="js/widgets/oxajax.js" priority=10 }]
[{oxscript include="js/widgets/oxcountdown.js" priority=10 }]
[{oxscript include="js/widgets/oxminibasket.js" priority=10 }]
[{oxscript include="js/widgets/oxmodalpopup.js" priority=10}]
[{oxscript add="$( '#miniBasket' ).oxMiniBasket();"}]
[{if $oxcmp_basket->getProductsCount() gte 8}]
[{oxscript include="js/libs/scrollpane/jscrollpane.min.js"}]
[{oxscript include="js/libs/scrollpane/mousewheel.js"}]
[{oxscript include="js/libs/scrollpane/mwheelIntent.js"}]
[{oxstyle include="css/libs/jscrollpane.css"}]
[{/if}]
[{block name="widget_minibasket"}]
<form class="js-oxWidgetReload-miniBasket" action="[{$oView->getWidgetLink()}]" method="get">
<div>
<input type="hidden" name="cl" value="[{$oView->getClassName()}]"/>
<input type="hidden" name="nocookie" value="0"/>
<input type="hidden" name="force_sid" value="[{$oView->getSidForWidget()}]"/>
</div>
</form>
[{if $_prefix != "modal"}]
<a onclick="$('#cart_drop').fadeToggle();" href="javascript:void(0);">cart <span>[{if $oxcmp_basket->getItemsCount() > 0}][{$oxcmp_basket->getItemsCount()}][{/if}]</span></a>
[{/if}]
<div style="display: none;" id="cart_drop">
<div class="cat_list">
[{assign var="products" value=$oxcmp_basket->getContents()}]
[{foreach from
=$products item
=product
key=basketindex
}]
<div class="item">
<img src="[{$product->getIconUrl()}]"/>
<p><span>[{$product->getTitle()}]</span>/
<form name="basket[{$basketindex}]" action="[{$oViewConf->getSelfActionLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="checkbox" name="aproducts[[{ $basketindex }]][remove]" value="1">
<input type="hidden" name="cl" value="start">
<input type="hidden" name="fnc" value="changebasket">
<input type="hidden" name="CustomError" value='basket'>
<button id="basketRemove" type="submit" name="removeBtn"><span>[{ oxmultilang ident="REMOVE" }]</button>
</form>
</p>
</div>
[{/foreach}]
</div>
<div class="total">
<p class="subtotal">subtotal:<span>
[{if $oxcmp_basket->isPriceViewModeNetto()}]
[{ $oxcmp_basket->getProductsNetPrice()}]
[{else}]
[{ $oxcmp_basket->getFProductsPrice()}]
[{/if}]
[{ $currency->sign}],-</span></p>
<p class="message">
close to <a href="javascript:void(0);">free Shipping</a>
above 500,-
</p>
</div>
</div>
[{/block}]
[{oxstyle widget=$oView->getClassName()}]