104 lines
4.4 KiB
HTML
Executable File
104 lines
4.4 KiB
HTML
Executable File
{include file=$header}
|
||
<div class="page-breadcrumb">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-12">
|
||
<ul class="page-breadcrumb__menu">
|
||
<li class="page-breadcrumb__nav"><a href="#">Старт</a></li>
|
||
<li class="page-breadcrumb__nav active">Корзина</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="shop-cart">
|
||
<div class="row">
|
||
<div class="col-12 col-xl-8">
|
||
<div class="shop-cart-list mb-3 p-3">
|
||
|
||
{section name=customer loop=$itogcart} {if $itogcart[customer].id}
|
||
<div class="row align-items-center g-3" id="div-{$itogcart[customer].title}">
|
||
<div class="col-12 col-lg-6">
|
||
<div class="d-lg-flex align-items-center gap-2">
|
||
<div class="cart-img text-center text-lg-start">
|
||
<a href="/tovar_show/{$itogcart[customer].tovar_id}"><img src="/img/{$smarty.server.SERVER_NAME}/tovar/{$itogcart[customer].img}.jpg" width="130" alt=""></a>
|
||
</div>
|
||
<div class="cart-detail text-center text-lg-start">
|
||
<h6 class="mb-2"><a href="/tovar_show/{$itogcart[customer].tovar_id}">{$itogcart[customer].title}</a></h6>
|
||
<h5 class="mb-0">{$itogcart[customer].cena} р.</h5>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-12 col-lg-3">
|
||
<div class="cart-action text-center">
|
||
<input type="number" class="form-control rounded-0 change-kolvo" data-id="{$itogcart[customer].id}" value="{$itogcart[customer].kolvo}" min="1">
|
||
</div>
|
||
</div>
|
||
<div class="col-12 col-lg-3">
|
||
<div class="text-center">
|
||
<div class="d-flex gap-2 justify-content-center justify-content-lg-end"> <a href="#" class="btn btn-dark rounded-0 btn-ecomm a-del-from-cart" data-id="{$itogcart[customer].id}"><i class='bx bx-x-circle'></i> Удалить</a>
|
||
<a href="javascript:;" class="btn btn-light rounded-0 btn-ecomm"><i class='bx bx-heart me-0'></i></a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="my-4 border-top"></div>
|
||
{/if} {/section}
|
||
|
||
|
||
|
||
<div class="my-4 border-top"></div>
|
||
<div class="d-lg-flex align-items-center gap-2"> <a href="javascript:;" class="btn btn-dark btn-ecomm"><i class='bx bx-shopping-bag'></i> Продолжить покупки</a>
|
||
<a href="javascript:;" class="btn btn-light btn-ecomm ms-auto"><i class='bx bx-x-circle'></i> Очистить</a>
|
||
<a href="javascript:;" class="btn btn-white btn-ecomm"><i class='bx bx-refresh'></i> Обновить</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-12 col-xl-4">
|
||
<div class="checkout-form p-3 bg-light">
|
||
|
||
<div class="card rounded-0 border bg-transparent shadow-none">
|
||
|
||
<div class="card-body">
|
||
<p class="fs-5">Вы не авторизованы, укажите ИНН вашей организаци</p>
|
||
<div class="my-3 border-top"></div>
|
||
<div class="mb-3">
|
||
<label class="form-label">ИНН:</label>
|
||
<input class="form-control" name="inn">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="card-body">
|
||
<p class="fs-5">{$orginfo}</p>
|
||
<div class="my-3 border-top"></div>
|
||
<div class="mb-3">
|
||
<label class="form-label">Адрес доставки</label>
|
||
<select class="form-select rounded-0">
|
||
<option selected>United States</option>
|
||
<option value="1">Australia</option>
|
||
<option value="2">India</option>
|
||
<option value="3">Canada</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="card rounded-0 border bg-transparent mb-0 shadow-none">
|
||
<div class="card-body">
|
||
<div class="my-3 border-top"></div>
|
||
<h5 class="mb-0">Итого: <span class="float-end" id="summ">{$summ}</span></h5>
|
||
<div class="my-4"></div>
|
||
<div class="d-grid"> <a href="javascript:;" class="btn btn-dark btn-ecomm">Оформить заказ</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!--end row-->
|
||
</div>
|
||
|
||
{include file=$footer} |