core/skin/virtual-nt.ru/inc/mini_cart.html

47 lines
1.7 KiB
HTML
Raw Normal View History

2023-02-25 22:58:56 +05:00
{section name=customer loop=$list}
{if $list[customer].id}
<li class="list-menu-shop" id="mini_cart_{$list[customer].idt}">
<div class="shop-cart">
<div class="image-shop">
{* 55x75 *}
<a href="/tovar_show/{$list[customer].tovar_id}">
{if $list[customer].img}
<img src="/img/magazin/cats/{$list[customer].img}_210_270.jpg" alt="{$list[customer].naim}" style="width: 55px;height:75px;">
{else}
<img src="/api/img/gray/gif/gray.gif" alt="{$list[customer].naim}" style="width: 55px;height:75px;">
{/if}
</a>
</div>
<div class="next-shop">
<a href="#" class="del_from_cart" data-id="{$list[customer].idt}"><i class="fa fa-times-circle"></i></a>
</div>
<div class="list-names">
<a href="/tovar_show/{$list[customer].tovar_id}">{$list[customer].naim}</a>
</div>
<span class="price">
{if $list[customer].akccena}
<span class="amount">{$list[customer].akccena} р.</span>
<span class="amount-3">{$list[customer].cena2} р.</span>
{else}
<span class="amount">{$list[customer].cena} р.</span>
{/if}
</span>
<div class="list-qty">
<p>Количество: {$list[customer].col}</p>
</div>
</div>
</li>
{/if}
{/section}
{* ИТОГО
<li class="shop-input">
<div class="text-shop clearfix">
<p class="sub-total">ИТОГО:</p>
<p class="shop-price">$105.000</p>
</div>
<span class="list-view">
<a href="/cart/" class="view-cart">Открыть корзину</a>
</span>
</li>
*}
{$js_mod}