Работа с корзиной
This commit is contained in:
parent
7955a16aac
commit
d2b7e2c7ea
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
ini_set( 'display_errors', 0);
|
||||||
//проверяем кто мы
|
//проверяем кто мы
|
||||||
$access = 0;
|
$access = 0;
|
||||||
if ( $_SESSION['dostup'] =='a' ) $access=1;
|
if ( $_SESSION['dostup'] =='a' ) $access=1;
|
||||||
|
@ -32,27 +32,12 @@ switch(@$_POST['act']) {
|
||||||
if ( preg_match( '/[.](jpg)|(jpeg)|(JPG)|(JPEG)$/', $_FILES['file']['name'] ) ) {
|
if ( preg_match( '/[.](jpg)|(jpeg)|(JPG)|(JPEG)$/', $_FILES['file']['name'] ) ) {
|
||||||
$src = $_FILES['file']['tmp_name'];
|
$src = $_FILES['file']['tmp_name'];
|
||||||
$f1 = \core::genpassword(30);
|
$f1 = \core::genpassword(30);
|
||||||
$target = MYDIR . '/img/tovar/' . $f1 . '.jpg';
|
$target = 'img/' . $_SERVER['SERVER_NAME'] . ' /tovar/' . $f1 . '.jpg';
|
||||||
copy( $src, $target );
|
copy( $src, $target );
|
||||||
unset($a);
|
|
||||||
$a['fileName']=$f1;
|
|
||||||
$a['md5']=md5_file($target);
|
|
||||||
$a['page_id']=$_SESSION['page_id'];
|
|
||||||
$a['user_id']=$_SESSION['user_id'];
|
|
||||||
|
|
||||||
unset($b);
|
\DB::add("INSERT INTO `tovar_img` (`tovar_id`, `filename`) VALUES (?, ?)", array(
|
||||||
$b['md5']=$a['md5'];
|
$_SESSION['tovar_id'], $f1
|
||||||
$massiv=$db->get_massiv('img', $b, '', 1);
|
));
|
||||||
|
|
||||||
if($massiv['page_id']==$_SESSION['page_id'] && $massiv['public']==0){
|
|
||||||
// снова публикуем
|
|
||||||
|
|
||||||
//удаляем дубль файла
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$db->add('img', $a);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set( 'display_errors', 0 );
|
ini_set( 'display_errors', 0 );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\DB::set("ALTER TABLE `tovar_category` ADD `hide` int(1) NULL DEFAULT '0'");
|
||||||
//проверяем авторизацию
|
//проверяем авторизацию
|
||||||
if ( $_SESSION['dostup'] !== 'a' && $_SESSION['dostup'] !== 'e' ) header( 'Location: /403/' );
|
if ( $_SESSION['dostup'] !== 'a' && $_SESSION['dostup'] !== 'e' ) header( 'Location: /403/' );
|
||||||
|
|
||||||
|
@ -13,7 +17,7 @@ $smarty -> assign( 'userInfo', \core::getUserInfo( $_SESSION['user_id'] ) );
|
||||||
06.09.2022
|
06.09.2022
|
||||||
Сессия для загрузки картинок
|
Сессия для загрузки картинок
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
$_SESSION['page_id'] = $_GET['id'];
|
$_SESSION['tovar_id'] = $_GET['id'];
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
21.08.2022
|
21.08.2022
|
||||||
|
@ -35,6 +39,7 @@ if ( $_GET['id'] ) {
|
||||||
$smarty -> assign ( 'tovar', $tovar );
|
$smarty -> assign ( 'tovar', $tovar );
|
||||||
$imgs=\DB::getAll("SELECT * FROM `tovar_img` WHERE `tovar_id`=?", $_GET['id']);
|
$imgs=\DB::getAll("SELECT * FROM `tovar_img` WHERE `tovar_id`=?", $_GET['id']);
|
||||||
$smarty -> assign ( 'imgs', $imgs );
|
$smarty -> assign ( 'imgs', $imgs );
|
||||||
|
//print_r($imgs);
|
||||||
//$har=\DB::getAll("SELECT * FROM `tovar_img` WHERE `tovar_id`=?", $_GET['id']);
|
//$har=\DB::getAll("SELECT * FROM `tovar_img` WHERE `tovar_id`=?", $_GET['id']);
|
||||||
//$smarty -> assign ( 'har', $mod -> getHar( ID ) );
|
//$smarty -> assign ( 'har', $mod -> getHar( ID ) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
ini_set('display_errors', 1 );
|
||||||
//проверяем кто мы
|
//проверяем кто мы
|
||||||
$access = 0;
|
$access = 0;
|
||||||
if ( $_SESSION['dostup'] =='a' ) $access=1;
|
if ( $_SESSION['dostup'] =='a' ) $access=1;
|
||||||
|
|
|
@ -4,6 +4,19 @@ ini_set( 'display_errors', 0 );
|
||||||
|
|
||||||
switch(@$_POST['act']) {
|
switch(@$_POST['act']) {
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------------
|
||||||
|
05.03.2023
|
||||||
|
Удаляем из корзины
|
||||||
|
---------------------------------------------------------------------- */
|
||||||
|
case 'delFromCart':
|
||||||
|
\DB::set("DELETE FROM `cart` WHERE `id`=? AND `user_id`=?", array($_POST['id'], \core::checkMe()));
|
||||||
|
echo \core::getCart()['summ'];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
27.02.2023
|
27.02.2023
|
||||||
|
|
|
@ -1,70 +1,108 @@
|
||||||
{include file=$header title="{$page[0].title}" h1="{$page[0].title}" keywords="{$page[0].keywords}" description="{$page[0].description}"}
|
{include file=$header}
|
||||||
<nav aria-label="breadcrumb">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
|
||||||
{section name=customer loop=$breadcrumb}{if ($breadcrumb[customer].parent != 0)}
|
|
||||||
<li class="breadcrumb-item"><a href="/cat/{$breadcrumb[customer].id}">{$breadcrumb[customer].title}</a></li>
|
|
||||||
{/if}{/section}
|
|
||||||
<li class="breadcrumb-item active" aria-current="page">{$page[0].title}</li>
|
|
||||||
</ol>
|
|
||||||
</nav>
|
|
||||||
<!-- ********************* -->
|
|
||||||
<article class="container mt-2 mb-2">
|
|
||||||
{if $page[0].user_id==$smarty.session.user_id}
|
|
||||||
<input type="text" placeholder="Заголовок страницы" class="h1-edit hidden form-control" value="{$page[0].title}" style="margin: 0 auto;" title="Двойной клик - сохранит" required> {/if}
|
|
||||||
<h1>{$page[0].title}</h1>
|
|
||||||
{if $page[0].oblozhka_show=='1' && $page[0].oblozhka_big}
|
|
||||||
<img src="/api/img/gray/gif/gray.gif" data-original="/img/pages/{$page[0].oblozhka_big}.jpg" class="lazy" style="width: 100%;" title="{$page[0].title}" alt="{$page[0].title}"><br><br> {/if} {if ($global_settings.h1_page==1)}
|
|
||||||
<h1 class="text-center" style="margin-top: -20px;">{$page[0].title}</h1>
|
|
||||||
{/if} {$page[0].txt}
|
|
||||||
|
|
||||||
|
|
||||||
</article>
|
<section class="container">
|
||||||
<!-- ********************* -->
|
|
||||||
{include file='api/modules/page/page_info.html'}
|
<nav aria-label="breadcrumb" style="width: 100%; background-color: lightgray; border-radius: 0px 0px 10px 10px; padding-top: 15px; padding-bottom: 1px;">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="breadcrumb-item" aria-current="page"><a href="/">Главная</a></li>
|
||||||
|
<li class="breadcrumb-item active" aria-current="page">Корзина</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<h1>Корзина</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="table">
|
||||||
|
|
||||||
|
|
||||||
|
<tr><td></td><td><b>Наименование</b></td><td><b>Количество</b></td><td><b>Цена</b></td><td></td></tr>
|
||||||
|
|
||||||
|
{section name=customer loop=$cart} {if $cart[customer].id}
|
||||||
|
<tr class="global-cart-str-{$cart[customer].id}"><td>
|
||||||
|
<a href="/tovar_show/{$cart[customer].tovar_id}"><img src="/img/{$smarty.server.SERVER_NAME}/tovar/{$cart[customer].img}.jpg" width="130" alt=""></a>
|
||||||
|
|
||||||
|
|
||||||
|
</td><td>{$cart[customer].title}</td><td>
|
||||||
|
|
||||||
|
<input type="number" class="form-control rounded-0 change-kolvo" data-id="{$cart[customer].id}" value="{$cart[customer].kolvo}" min="1">
|
||||||
|
|
||||||
|
</td><td>{$cart[customer].cena}</td><td><a class="fa fa-times fa-delete global-cart-delete" data-id="{$cart[customer].id}"></a></td></tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{/if} {/section}
|
||||||
|
|
||||||
<!-- ********************* -->
|
|
||||||
{if $page[0].user_id==$smarty.session.user_id}
|
|
||||||
<div id="drop-area" class="container mt-2">
|
|
||||||
<form class="my-form">
|
|
||||||
<p>Загрузите дополнительные изображения</p>
|
|
||||||
<input type="file" id="fileElem" multiple accept="image/*" onchange="handleFiles(this.files)">
|
|
||||||
<label class="button" for="fileElem">Выбрать файлы</label>
|
|
||||||
</form>
|
|
||||||
<progress id="progress-bar" max=100 value=0></progress>
|
|
||||||
<div id="gallery"></div>
|
|
||||||
</div>
|
|
||||||
<!-- div class="note"><strong>Note: I've Removed the ability to actually upload files (it will error out silently since there is no error handler, so it'll still appear to work) because you guys were constantly filling up my Cloudinary account. Please <a href="https://cloudinary.com/invites/lpov9zyyucivvxsnalc5/j6iiupngdmwwwqspjtml">create your own account</a> and replace the "joezim007" and "ujpu6gyk" bits in the JavaScript with your own account's information.</strong></div -->
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<!-- ********************* -->
|
|
||||||
{* внешние ссылки *} {* Яндекс-диск *} {if ($page[0].link_yandex_disk)}
|
|
||||||
<table style="width: 100%;">
|
|
||||||
<tr>
|
|
||||||
<td style="width: 141px;">
|
|
||||||
<a href="{$page[0].link_yandex_disk}" title="{$page[0].link_yandex_disk_txt}" target="_blank" rel="nofollow"><img src="/api/img/oblaka/yadisk.jpg" width="141" height="141" title="{$page[0].link_yandex_disk_txt}" alt="{$page[0].link_yandex_disk_txt}" /></a>
|
|
||||||
</td>
|
|
||||||
<td style="vertical-align: middle;">
|
|
||||||
<b>
|
|
||||||
<a title="{$page[0].link_yandex_disk_txt}" href="{$page[0].link_yandex_disk}" target="_blank" rel="nofollow">{$page[0].link_yandex_disk_txt}</a>
|
|
||||||
</b>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
{/if} {* Свое облако *} {if ($page[0].link_my_disk)}
|
|
||||||
<table style="width: 100%;">
|
<h3 class="mb-0 global-cart-summ">{$cart_summ} р.</h3>
|
||||||
<tr>
|
|
||||||
<td style="width: 141px;">
|
|
||||||
<a href="{$page[0].link_my_disk}" title="{$page[0].link_my_disk_txt}" target="_blank" rel="nofollow"><img src="/api/img/oblaka/cloud141x141.png" width="141" height="141" title="{$page[0].link_my_disk_txt}" alt="{$page[0].link_my_disk_txt}" /></a>
|
<div class="d-lg-flex align-items-center gap-2">
|
||||||
</td>
|
<a href="/tovar_cat/1-0.html" class="btn btn-dark"><i class='bx bx-shopping-bag'></i> Продолжить покупки</a>
|
||||||
<td style="vertical-align: middle;">
|
<a href="javascript:;" class="btn btn-light ms-auto"><i class='bx bx-x-circle'></i> Очистить</a>
|
||||||
<b><a title="{$page[0].link_my_disk_txt}" href="{$page[0].link_my_disk}" target="_blank" rel="nofollow">{$page[0].link_my_disk_txt}</a></b>
|
<a href="javascript:;" class="btn btn-white"><i class='bx bx-refresh'></i> Обновить</a>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
{/if} {if $page[0].sbor_deneg==1}
|
|
||||||
<div class="container">
|
|
||||||
{$sbor_deneg} {$sbor_deneg_txt}
|
|
||||||
</div>
|
</div>
|
||||||
{/if} {* ---- Проверяем, нужны ли социальные кнопки 14.11.2020 ---- *} {if ($page[0].show_soc_btn==1)} {include file=$socbtn} {/if} {include file='api/modules/page/comments.html'} {include file=$footer plugins="
|
|
||||||
<script src='/api/modules/page/mod.js'></script>"}
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="shop-cart">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 col-xl-8">
|
||||||
|
<div class="shop-cart-list mb-3 p-3">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="my-4 border-top"></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}
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 0 );
|
ini_set('display_errors', 0 );
|
||||||
|
\DB::set("ALTER TABLE `tovar_category` ADD `hide` int(1) NULL DEFAULT '0'");
|
||||||
$smarty -> caching = false;
|
$smarty -> caching = false;
|
||||||
$smarty -> cache_lifetime = 2592000;// 86400 - сутки, 2592000 - месяц
|
$smarty -> cache_lifetime = 2592000;// 86400 - сутки, 2592000 - месяц
|
||||||
|
|
||||||
|
@ -18,10 +19,10 @@ $page = ( $pieces[1] ) ? $pieces[1] : 0; // текущая страница
|
||||||
$categoryInfo=\DB::getAll("SELECT * FROM `tovar_category` WHERE `id`=? LIMIT 1", $pieces[0]);
|
$categoryInfo=\DB::getAll("SELECT * FROM `tovar_category` WHERE `id`=? LIMIT 1", $pieces[0]);
|
||||||
$smarty->assign('page_info', $categoryInfo);//получаем инфо о категории
|
$smarty->assign('page_info', $categoryInfo);//получаем инфо о категории
|
||||||
|
|
||||||
$childrenCategory=\DB::getAll("SELECT `id`, `title` FROM `tovar_category` WHERE `status` = 1 AND `category` = ? ORDER BY `title`", $pieces[0] );
|
$childrenCategory=\DB::getAll("SELECT `id`, `title`, `hide` FROM `tovar_category` WHERE `status` = 1 AND `category` = ? ORDER BY `title`", $pieces[0] );
|
||||||
//Если нет дочерних категорий, берем текущие....
|
//Если нет дочерних категорий, берем текущие....
|
||||||
if (!$childrenCategory){
|
if (!$childrenCategory){
|
||||||
$childrenCategory=\DB::getAll("SELECT `id`, `title` FROM `tovar_category` WHERE `status` = 1 AND `category` = ? ORDER BY `title`", $categoryInfo[0]['category'] );
|
$childrenCategory=\DB::getAll("SELECT `id`, `title`, `hide` FROM `tovar_category` WHERE `status` = 1 AND `category` = ? ORDER BY `title`", $categoryInfo[0]['category'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
@ -55,11 +56,12 @@ $smarty->assign('list', $childrenCategory);//получаем дочерние
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
19.09.2022
|
19.09.2022
|
||||||
Узнаем обложку раздела
|
Узнаем обложку раздела - переделано в слайдер
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
|
|
||||||
$mainImg=\DB::getValue("SELECT `filename` FROM `tovar_category_img` WHERE `tovar_category_id`=?", $pieces[0]);
|
$mainImg=\DB::getAll("SELECT `filename`, `id` FROM `tovar_category_img` WHERE `tovar_category_id`=?", $pieces[0]);
|
||||||
$smarty->assign('oblozhka', $mainImg);
|
$smarty->assign('oblozhka', $mainImg);
|
||||||
|
//print_r($mainImg);
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
02.01.2023
|
02.01.2023
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<button class="btn btn-primary" type="submit" style="padding: 10px;">Добавить</button>
|
<button class="btn btn-primary" type="submit" style="padding: 10px;">Добавить</button>
|
||||||
<div class="alert alert-primary hidden" role="alert" id="comment-result">
|
<div class="alert alert-primary hidden" role="alert" id="comment-result">
|
||||||
Коментарий отправлен и будет опубликован после модерации
|
Коментарий отправлен и будет опубликован после модерации
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{$comments[customer].txt}</td>
|
<td>{$comments[customer].txt}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
|
||||||
{/if} {/section}
|
|
||||||
|
|
||||||
</div>
|
{/if} {/section}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,20 @@
|
||||||
ini_set( 'display_errors', 0 );
|
ini_set( 'display_errors', 0 );
|
||||||
@mkdir( 'img/' . $_SERVER['SERVER_NAME'] . '/cert', 0700 );
|
@mkdir( 'img/' . $_SERVER['SERVER_NAME'] . '/cert', 0700 );
|
||||||
@mkdir( 'img/' . $_SERVER['SERVER_NAME'] . '/tovar/square', 0700 );
|
@mkdir( 'img/' . $_SERVER['SERVER_NAME'] . '/tovar/square', 0700 );
|
||||||
$smarty -> caching = false;
|
if (!$_SESSION['user_id'])$smarty -> caching = false;
|
||||||
$smarty -> cache_lifetime = 86400;
|
$smarty -> cache_lifetime = 86400;
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------------
|
||||||
|
01.03.2023
|
||||||
|
Получаем историю просмотров
|
||||||
|
---------------------------------------------------------------------- */
|
||||||
|
$tovarHistory=\DB::getAll( "SELECT `id`, `title`, `akccena` FROM `tovar` WHERE `id` IN ( SELECT `tovar_id` FROM `tovar_history` WHERE `session_id`=? ORDER BY RAND()) AND `status`=1 LIMIT 20", \core::checkMe() );
|
||||||
|
for ( $i=0; $i < count( $tovarHistory ); $i++ ){
|
||||||
|
$tovarHistory[$i]['cena'] = \DB::getValue ( "SELECT `cena` FROM `tovar_price_history` WHERE `status`=1 AND `tovar_id`=? ORDER BY `t` DESC", $tovarHistory[$i]['id'] );
|
||||||
|
$tovarHistory[$i]['img'] = \DB::getValue ( "SELECT `filename` FROM `tovar_img` WHERE `tovar_id`=? LIMIT 1", $tovarHistory[$i]['id']);
|
||||||
|
}
|
||||||
|
|
||||||
|
$smarty -> assign( 'tovarHistory', $tovarHistory );
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
28.02.2023
|
28.02.2023
|
||||||
Получаем коментарии
|
Получаем коментарии
|
||||||
|
@ -23,6 +34,31 @@ $smarty -> assign( 'inc_comments', 'api/modules/tovar_show/comments.html' );
|
||||||
$page = \DB::getAll( "SELECT * FROM `tovar` WHERE `id`=? LIMIT 1", $_GET['id'] );
|
$page = \DB::getAll( "SELECT * FROM `tovar` WHERE `id`=? LIMIT 1", $_GET['id'] );
|
||||||
$page[0]['date'] = date( 'd.m.Y', @$page[0]['t'] );
|
$page[0]['date'] = date( 'd.m.Y', @$page[0]['t'] );
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------------
|
||||||
|
03.03.2023
|
||||||
|
Смотрим есть ли цена из таблицы товаров в регистре цен, если нет -
|
||||||
|
переносим данные туда и убираем из товара
|
||||||
|
---------------------------------------------------------------------- */
|
||||||
|
$tmpCena=\DB::getValue("SELECT `cena` FROM `tovar_price_history` WHERE `tovar_id`=? AND `status`=1 ORDER BY `t` DESC LIMIT 1", $_GET['id']);
|
||||||
|
if ($page[0]['cena']!=$tmpCena && $page[0]['cena']){
|
||||||
|
//Создаем документ
|
||||||
|
$jsonDoc[0]['tovar_id']=$_GET['id'];
|
||||||
|
$jsonDoc[0]['cena']=$page[0]['cena'];
|
||||||
|
|
||||||
|
|
||||||
|
$docID=\DB::add("INSERT INTO `docs` (`t`, `tip`, `json`, `status`, `comment`) VALUES(?, 'pereocenka', ?, 1, ?)", array( time(), \json::to_j($jsonDoc), 'Документ создан из публичной карточки товара' ));
|
||||||
|
|
||||||
|
\DB::add("INSERT INTO `tovar_price_history` (`status`, `tovar_id`, `cena`, `docs_id`, `t`) VALUES (1, ?, ?, ?, ?)", array( $_GET['id'], $page[0]['cena'], $docID, time() ));
|
||||||
|
|
||||||
|
\DB::set("UPDATE `tovar` SET `cena`=NULL WHERE `id`=?", $_GET['id']);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
03.01.2023
|
03.01.2023
|
||||||
Хлебные крошки
|
Хлебные крошки
|
||||||
|
@ -38,11 +74,6 @@ $smarty->assign('Breadcrumb', \core::getBreadcrumb( 'tovar_category', $page[0]['
|
||||||
$smarty->assign('catImg', \DB::getValue( "SELECT `filename` FROM `tovar_category_img` WHERE `tovar_category_id`=?", $page[0]['category'] ) );
|
$smarty->assign('catImg', \DB::getValue( "SELECT `filename` FROM `tovar_category_img` WHERE `tovar_category_id`=?", $page[0]['category'] ) );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//if ( strlen( $page[0]['txt'] ) <5 ) exec ( "php /home/cloud/core/parcer/getopis.php " . $page[0]['artikul'] );
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
17.12.2022
|
17.12.2022
|
||||||
Получаем данные о последней цене на товар
|
Получаем данные о последней цене на товар
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
185.138.129.226;1677649270;Firefox 10+;Windows;https://tk-ligat.ru/tovar_cat/162;
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
82.195.16.173;1677747902;Chrome 10+;Windows;https://tk-ligat.ru/tovar_cat/0-1.html;
|
||||||
|
82.195.16.173;1677747925;Chrome 10+;Windows;https://tk-ligat.ru/new_find/;
|
||||||
|
83.220.239.231;1677751096;Chrome 10+;Windows;https://tk-ligat.ru/;
|
||||||
|
83.220.239.231;1677751131;Chrome 10+;Windows;https://tk-ligat.ru/tovar_cat/67-1.html;
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
80.80.108.36;1677839772;Chrome 10+;Windows;http://webspros.ru/chat.php?invite=pc&member=tk-ligat.ru&pg=21&check=ok;
|
||||||
|
80.80.108.36;1677839831;Chrome 10+;Windows;http://webspros.ru/chat.php?invite=pc&member=tk-ligat.ru&pg=21&check=ok;
|
|
|
@ -0,0 +1 @@
|
||||||
|
94.140.136.191;1677903610;Chrome 10+;Windows;https://tk-ligat.ru/grekov-vagonka-kassa2.zip;
|
|
|
@ -0,0 +1 @@
|
||||||
|
185.149.41.41;1677987389;Firefox 10+;Windows;https://tk-ligat.ru/;
|
|
|
@ -23,3 +23,5 @@
|
||||||
46.165.16.184;1677600162;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
46.165.16.184;1677600162;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
||||||
46.165.16.184;1677600985;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
46.165.16.184;1677600985;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
||||||
46.165.16.184;1677601074;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
46.165.16.184;1677601074;Firefox 10+;Linux;https://tk-ligat.ru/tovar_show/32455;
|
||||||
|
46.165.16.184;1677603078;Chrome 10+;Linux;https://tk-ligat.ru/tovar_cat/0-1.html;
|
||||||
|
46.165.16.184;1677609837;Chrome 10+;Linux;https://tk-ligat.ru/tovar_cat/0-1.html;
|
||||||
|
|
|
|
@ -1 +1 @@
|
||||||
1677161271
|
1677839773
|
|
|
@ -27,6 +27,7 @@
|
||||||
1671051600;45;3;2;
|
1671051600;45;3;2;
|
||||||
1660597200;14;2;2;
|
1660597200;14;2;2;
|
||||||
1671915600;176;3;4;
|
1671915600;176;3;4;
|
||||||
|
1677445200;7;3;1;
|
||||||
1674680400;11;5;3;
|
1674680400;11;5;3;
|
||||||
1657314000;3;2;2;
|
1657314000;3;2;2;
|
||||||
1671742800;2;1;1;
|
1671742800;2;1;1;
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
1673902800;11;4;4;
|
1673902800;11;4;4;
|
||||||
1657746000;2;2;2;
|
1657746000;2;2;2;
|
||||||
1671829200;45;4;3;
|
1671829200;45;4;3;
|
||||||
|
1677704400;4;2;1;
|
||||||
1665954000;2;1;1;
|
1665954000;2;1;1;
|
||||||
1674248400;15;6;3;
|
1674248400;15;6;3;
|
||||||
1660510800;15;6;4;
|
1660510800;15;6;4;
|
||||||
|
@ -87,10 +89,12 @@
|
||||||
1661547600;2;2;2;
|
1661547600;2;2;2;
|
||||||
1656795600;56;1;1;
|
1656795600;56;1;1;
|
||||||
1659560400;1;1;1;
|
1659560400;1;1;1;
|
||||||
|
1677186000;8;1;1;
|
||||||
1672002000;120;2;5;
|
1672002000;120;2;5;
|
||||||
1665176400;6;1;1;
|
1665176400;6;1;1;
|
||||||
1662152400;2;2;2;
|
1662152400;2;2;2;
|
||||||
1671829200;9;4;3;
|
1671829200;9;4;3;
|
||||||
|
1677358800;7;1;2;
|
||||||
1674075600;46;5;3;
|
1674075600;46;5;3;
|
||||||
1661893200;1;1;1;
|
1661893200;1;1;1;
|
||||||
1663189200;2;2;2;
|
1663189200;2;2;2;
|
||||||
|
@ -132,6 +136,7 @@
|
||||||
1661461200;2;2;2;
|
1661461200;2;2;2;
|
||||||
1657054800;7;4;3;
|
1657054800;7;4;3;
|
||||||
1665262800;9;1;1;
|
1665262800;9;1;1;
|
||||||
|
1677531600;27;3;4;
|
||||||
1657573200;1;1;1;
|
1657573200;1;1;1;
|
||||||
1659906000;1;1;1;
|
1659906000;1;1;1;
|
||||||
1673038800;61;1;5;
|
1673038800;61;1;5;
|
||||||
|
@ -158,6 +163,7 @@
|
||||||
1675458000;246;7;7;
|
1675458000;246;7;7;
|
||||||
1661288400;5;3;2;
|
1661288400;5;3;2;
|
||||||
1674853200;4;1;1;
|
1674853200;4;1;1;
|
||||||
|
1677618000;1;1;1;
|
||||||
1661720400;2;1;1;
|
1661720400;2;1;1;
|
||||||
1675285200;58;3;4;
|
1675285200;58;3;4;
|
||||||
1659819600;3;3;2;
|
1659819600;3;3;2;
|
||||||
|
@ -172,7 +178,7 @@
|
||||||
1672779600;450;6;6;
|
1672779600;450;6;6;
|
||||||
1676581200;7;1;1;
|
1676581200;7;1;1;
|
||||||
1664053200;2;2;1;
|
1664053200;2;2;1;
|
||||||
1677099600;1;1;1;
|
1677099600;9;2;1;
|
||||||
1676754000;50;5;3;
|
1676754000;50;5;3;
|
||||||
1665090000;24;3;3;
|
1665090000;24;3;3;
|
||||||
1657659600;5;5;4;
|
1657659600;5;5;4;
|
||||||
|
@ -180,6 +186,7 @@
|
||||||
1662757200;1;1;1;
|
1662757200;1;1;1;
|
||||||
1665003600;1;1;1;
|
1665003600;1;1;1;
|
||||||
1660856400;6;6;3;
|
1660856400;6;6;3;
|
||||||
|
1677272400;3;1;1;
|
||||||
1675544400;132;5;3;
|
1675544400;132;5;3;
|
||||||
1658437200;5;4;1;
|
1658437200;5;4;1;
|
||||||
1656709200;21;3;3;
|
1656709200;21;3;3;
|
||||||
|
|
|
|
@ -38,7 +38,9 @@ if ( !@$_SESSION['user_id'] ) \core::loginCookies();
|
||||||
Берем данные корзины
|
Берем данные корзины
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
$cart = \core::getCart();
|
$cart = \core::getCart();
|
||||||
$smarty -> assign( 'cart', $cart );
|
//print_r($cart);
|
||||||
|
$smarty -> assign( 'cart', $cart['cart'] );
|
||||||
|
$smarty -> assign( 'cart_summ', $cart['summ'] );
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
25.22.2023
|
25.22.2023
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="/cart/" class="offcanvas-toggle" id="cart_icon">
|
<a href="/cart/" class="offcanvas-toggle" id="cart_icon">
|
||||||
<i class="icon-shopping-cart"></i>
|
<i class="icon-shopping-cart"></i>
|
||||||
<span class="wishlist-item-count pos-absolute">3</span>
|
<span class="wishlist-item-count pos-absolute">{$kolvo_tovar_in_cart}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -0,0 +1,104 @@
|
||||||
|
{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].id}">
|
||||||
|
<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}
|
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
|
@ -7,22 +7,22 @@
|
||||||
<div class="">
|
<div class="">
|
||||||
<div class=" collapsed-block ">
|
<div class=" collapsed-block ">
|
||||||
<div class="module clearfix">
|
<div class="module clearfix">
|
||||||
<h3 class="modtitle">Contact Us </h3>
|
<h3 class="modtitle">Мы тут</h3>
|
||||||
<div class="modcontent">
|
<div class="modcontent">
|
||||||
<ul class="contact-address">
|
<ul class="contact-address">
|
||||||
<li><p><span class="fa fa-map-marker"></span><span>Address : </span> My Company, 42 avenue des Champs Elysées</p></li>
|
<li><p><span class="fa fa-map-marker"></span><span>Адрес: </span>Свердловская область, <br>г. Нижний Тагил, пр.Мира 24</p></li>
|
||||||
<li><span class="fa fa-envelope-o"></span><span>Email : </span> <a href="#"> sales@yourcompany.com</a></li>
|
<li><span class="fa fa-envelope-o"></span><span>Мыло : </span> <a href="mailto:virtual@tagnet.ru"> virtual@tagnet.ru</a></li>
|
||||||
<li><p><span class="fa fa-phone"> </span><span>Phone :</span> 0123456789</p> </li>
|
<li><p><span class="fa fa-phone"> </span><span>Телефон :</span> +7 902 879 44 73</p> </li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="share-icon">
|
<!-- div class="share-icon">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="facebook"><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
|
<li class="facebook"><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
|
||||||
<li class="twitter"><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
|
<li class="twitter"><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
|
||||||
<li class="google"><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
|
<li class="google"><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
|
||||||
<li class="skype"><a href="#"><i class="fa fa-skype" aria-hidden="true"></i></a></li>
|
<li class="skype"><a href="#"><i class="fa fa-skype" aria-hidden="true"></i></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=" box-information">
|
<div class=" box-information">
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- /Footer Top Container -->
|
<!-- /Footer Top Container -->
|
||||||
<div class="footer-mid">
|
<!-- div class="footer-mid">
|
||||||
<div class=" help">
|
<div class=" help">
|
||||||
<div class=" container">
|
<div class=" container">
|
||||||
<div class=" row">
|
<div class=" row">
|
||||||
|
@ -93,8 +93,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div -->
|
||||||
<div class="footer-bottom-block ">
|
<!-- div class="footer-bottom-block ">
|
||||||
<div class=" container">
|
<div class=" container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="footer-bottom-header">
|
<div class="footer-bottom-header">
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
<div class="back-to-top"><i class="fa fa-angle-up"></i><span> Top </span></div>
|
<div class="back-to-top"><i class="fa fa-angle-up"></i><span> Top </span></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div -->
|
||||||
</footer>
|
</footer>
|
||||||
<!-- //end Footer Container -->
|
<!-- //end Footer Container -->
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
{$plugins}
|
{$plugins}
|
||||||
<script src="/api/jquery/plugins/lazyload/jquery.lazyload.min1.9.5.js"></script>
|
<script src="/api/jquery/plugins/lazyload/jquery.lazyload.min1.9.5.js"></script>
|
||||||
<script src="js/js.js"></script>
|
<script src="js/js.js"></script>
|
||||||
<script src="/api/modules/{$smarty.const.MOD}/mod.js"></script>
|
<script src="/api/modules/{$smarty.const.MOD}/mod.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,22 @@
|
||||||
<div class="tabBlock1" id="TabBlock-1">
|
<div class="tabBlock1" id="TabBlock-1">
|
||||||
<ul class="top-link list-inline">
|
<ul class="top-link list-inline">
|
||||||
<li class="wishlist hidden-xs"><a href="#" id="wishlist-total" class="top-link-wishlist" title="Welcome Customer!"><span>Добро пожаловать!</span></a></li>
|
<li class="wishlist hidden-xs"><a href="#" id="wishlist-total" class="top-link-wishlist" title="Welcome Customer!"><span>Добро пожаловать!</span></a></li>
|
||||||
<li class="signin"><a href="/login/" class="top-link-checkout" title="Sign In"><span>Войти</span></a></li>
|
|
||||||
|
|
||||||
|
{if ($smarty.session.dostup==a)}
|
||||||
|
<li class="signin"><a href="/admin/" class="top-link-checkout" title="Sign In"><span>Админка</span></a></li>
|
||||||
|
<li class="signin"><a href="/user/" class="top-link-checkout" title="Sign In"><span>Профиль</span></a></li>
|
||||||
|
<li class="signin"><a href="/exit/" class="top-link-checkout" title="Sign In"><span>Выход</span></a></li>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
|
{if ($smarty.session.dostup==u)}
|
||||||
|
<li class="signin"><a href="/user/" class="top-link-checkout" title="Sign In"><span>Профиль</span></a></li>
|
||||||
|
<li class="signin"><a href="/exit/" class="top-link-checkout" title="Sign In"><span>Выход</span></a></li>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{if (!$smarty.session.dostup)}
|
||||||
|
<li class="signin"><a href="/login/" class="top-link-checkout" title="Sign In"><span>Войти</span></a></li>
|
||||||
|
{/if}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -124,8 +138,8 @@
|
||||||
<div class="shopcart">
|
<div class="shopcart">
|
||||||
<span class="handle pull-left"></span>
|
<span class="handle pull-left"></span>
|
||||||
<span class="number-shopping-cart">{$kolvo_tovar_in_cart}</span>
|
<span class="number-shopping-cart">{$kolvo_tovar_in_cart}</span>
|
||||||
<span class="title">My Cart</span>
|
<span class="title">Корзина</span>
|
||||||
<p class="text-shopping-cart cart-total-full"> $0.00 </p>
|
<p class="text-shopping-cart cart-total-full global-cart-summ"> {$cart_summ} р. </p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -134,34 +148,27 @@
|
||||||
<li>
|
<li>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
|
{section name=customer loop=$cart}{if $cart[customer].id}
|
||||||
|
<tr class="global-cart-str-{$cart[customer].id}">
|
||||||
<td class="text-center" style="width:70px">
|
<td class="text-center" style="width:70px">
|
||||||
<a href="product.html"> <img src="img/demo/shop/product/35.jpg" style="width:70px" alt="Filet Mign" title="Filet Mign" class="preview"> </a>
|
<a href="/tovar_show/{$cart[customer].tovar_id}">
|
||||||
|
|
||||||
|
|
||||||
|
<img src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$cart[customer].img}.jpg" style="width:70px" alt="{$cart[customer].title}" title="{$cart[customer].title}" class="preview"> </a>
|
||||||
|
<!--img src="img/demo/shop/product/35.jpg" style="width:70px" alt="Filet Mign" title="Filet Mign" class="preview"> </a -->
|
||||||
</td>
|
</td>
|
||||||
<td class="text-left"> <a class="cart_product_name" href="product.html">Filet Mign</a> </td>
|
<td class="text-left"> <a class="cart_product_name" href="/tovar_show/{$cart[customer].tovar_id}">{$cart[customer].title|substr:15}</a> </td>
|
||||||
<td class="text-center"> x1 </td>
|
<td class="text-center"> x{$cart[customer].kolvo} </td>
|
||||||
<td class="text-center"> $1,202.00 </td>
|
<td class="text-center"> {$cart[customer].cena} р. </td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="product.html" class="fa fa-edit"></a>
|
<a href="/tovar_show/{$cart[customer].tovar_id}" class="fa fa-edit"></a>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a onclick="cart.remove('2');" class="fa fa-times fa-delete"></a>
|
<a class="fa fa-times fa-delete global-cart-delete" data-id="{$cart[customer].id}"></a>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="text-center" style="width:70px">
|
|
||||||
<a href="product.html"> <img src="img/demo/shop/product/141.jpg" style="width:70px" alt="Canon EOS 5D" title="Canon EOS 5D" class="preview"> </a>
|
|
||||||
</td>
|
|
||||||
<td class="text-left"> <a class="cart_product_name" href="product.html">Canon EOS 5D</a> </td>
|
|
||||||
<td class="text-center"> x1 </td>
|
|
||||||
<td class="text-center"> $60.00 </td>
|
|
||||||
<td class="text-right">
|
|
||||||
<a href="product.html" class="fa fa-edit"></a>
|
|
||||||
</td>
|
|
||||||
<td class="text-right">
|
|
||||||
<a onclick="cart.remove('1');" class="fa fa-times fa-delete"></a>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{/if}{/section}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</li>
|
</li>
|
||||||
|
@ -169,29 +176,15 @@
|
||||||
<div>
|
<div>
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="text-left"><strong>Sub-Total</strong>
|
<td class="text-left"><strong>Всего</strong>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">$1,060.00</td>
|
<td class="text-right global-cart-summ">{$cart_summ} р.</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="text-left"><strong>Eco Tax (-2.00)</strong>
|
|
||||||
</td>
|
|
||||||
<td class="text-right">$2.00</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="text-left"><strong>VAT (20%)</strong>
|
|
||||||
</td>
|
|
||||||
<td class="text-right">$200.00</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="text-left"><strong>Total</strong>
|
|
||||||
</td>
|
|
||||||
<td class="text-right">$1,262.00</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right"> <a class="btn view-cart" href="cart.html"><i class="fa fa-shopping-cart"></i>View Cart</a> <a class="btn btn-mega checkout-cart" href="checkout.html"><i class="fa fa-share"></i>Checkout</a> </p>
|
<p class="text-right"> <a class="btn view-cart" href="/cart/"><i class="fa fa-shopping-cart"></i>Оформить заказ</a> </p>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -229,7 +222,17 @@
|
||||||
<div class="megamenu-pattern">
|
<div class="megamenu-pattern">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<ul class="megamenu " data-transition="slide" data-animationtime="250">
|
<ul class="megamenu " data-transition="slide" data-animationtime="250">
|
||||||
<li class="home hover">
|
|
||||||
|
|
||||||
|
<li class="">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="/" class="clearfix menu1">
|
||||||
|
<strong>Старт</strong>
|
||||||
|
<span class="label"></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!-- li class="home hover">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="#" class="menu1">Home </a>
|
<a href="#" class="menu1">Home </a>
|
||||||
<div class="sub-menu" style="width: 100%; display: none;">
|
<div class="sub-menu" style="width: 100%; display: none;">
|
||||||
|
@ -345,8 +348,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li -->
|
||||||
<li class="with-sub-menu hover">
|
<!-- li class="with-sub-menu hover">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="#" class="clearfix menu1">
|
<a href="#" class="clearfix menu1">
|
||||||
<strong>Features</strong>
|
<strong>Features</strong>
|
||||||
|
@ -413,11 +416,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li -->
|
||||||
<li class="with-sub-menu hover">
|
<li class="with-sub-menu hover">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="#" class="clearfix menu1">
|
<a href="#" class="clearfix menu1">
|
||||||
<strong>Pages</strong>
|
<strong>Информация</strong>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
<div class="sub-menu" style="width: 40%; right: auto; display: none;">
|
<div class="sub-menu" style="width: 40%; right: auto; display: none;">
|
||||||
|
@ -447,7 +450,7 @@
|
||||||
<li class="with-sub-menu hover">
|
<li class="with-sub-menu hover">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="#" class="clearfix menu1">
|
<a href="#" class="clearfix menu1">
|
||||||
<strong>Categories</strong>
|
<strong>Каталог</strong>
|
||||||
<span class="label"></span>
|
<span class="label"></span>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
@ -457,13 +460,13 @@
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3 img img1">
|
<div class="col-md-3 img img1">
|
||||||
<a href="#"><img src="img/demo/cms/img1.jpg" alt="banner1"></a>
|
<a href="/tovar_cat/295-0.html"><img src="img/nout.jpg" alt="banner1"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 img img2">
|
<div class="col-md-3 img img2">
|
||||||
<a href="#"><img src="img/demo/cms/img2.jpg" alt="banner2"></a>
|
<a href="/tovar_cat/294-0.html"><img src="img/pcm.jpg" alt="banner2"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 img img3">
|
<div class="col-md-3 img img3">
|
||||||
<a href="#"><img src="img/demo/cms/img3.jpg" alt="banner3"></a>
|
<a href="#"><img src="img/1.jpg" alt="banner3"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 img img4">
|
<div class="col-md-3 img img4">
|
||||||
<a href="#"><img src="img/demo/cms/img4.jpg" alt="banner4"></a>
|
<a href="#"><img src="img/demo/cms/img4.jpg" alt="banner4"></a>
|
||||||
|
@ -473,44 +476,41 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<a href="#" class="title-submenu">Automotive</a>
|
<a href="/tovar_cat/295-0.html" class="title-submenu">Ноутбуки</a>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 hover-menu">
|
<div class="col-md-12 hover-menu">
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#" class="main-menu">Car Alarms and Security</a></li>
|
<li><a href="#" class="main-menu">Зарядники и акумуляторы</a></li>
|
||||||
<li><a href="#" class="main-menu">Car Audio & Speakers</a></li>
|
<li><a href="#" class="main-menu">Сумки</a></li>
|
||||||
<li><a href="#" class="main-menu">Gadgets & Auto Parts</a></li>
|
<!-- li><a href="#" class="main-menu">More Car Accessories</a></li-->
|
||||||
<li><a href="#" class="main-menu">More Car Accessories</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<a href="#" class="title-submenu">Electronics</a>
|
<a href="/tovar_cat/294-0.html" class="title-submenu">Компьютеры</a>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 hover-menu">
|
<div class="col-md-12 hover-menu">
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#" class="main-menu">Battereries & Chargers</a></li>
|
<li><a href="#" class="main-menu">Комплектуха</a></li>
|
||||||
<li><a href="#" class="main-menu">Headphones, Headsets</a></li>
|
<li><a href="#" class="main-menu">Перефирия</a></li>
|
||||||
<li><a href="#" class="main-menu">Home Audio</a></li>
|
<!-- li><a href="#" class="main-menu">Mp3 Players & Accessories</a></li-->
|
||||||
<li><a href="#" class="main-menu">Mp3 Players & Accessories</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<a href="#" class="title-submenu">Jewelry & Watches</a>
|
<a href="#" class="title-submenu">Принтеры</a>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 hover-menu">
|
<div class="col-md-12 hover-menu">
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#" class="main-menu">Earings</a></li>
|
<li><a href="#" class="main-menu">Тонер к ним</a></li>
|
||||||
<li><a href="#" class="main-menu">Wedding Rings</a></li>
|
<li><a href="#" class="main-menu">Картриджи</a></li>
|
||||||
<li><a href="#" class="main-menu">Men Watches</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -536,7 +536,7 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="with-sub-menu hover">
|
<!-- li class="with-sub-menu hover">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="#" class="clearfix menu1">
|
<a href="#" class="clearfix menu1">
|
||||||
<strong>Accessories</strong>
|
<strong>Accessories</strong>
|
||||||
|
@ -663,15 +663,30 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li -->
|
||||||
<li class="">
|
<li class="">
|
||||||
<p class="close-menu"></p>
|
<p class="close-menu"></p>
|
||||||
<a href="blog-page.html" class="clearfix menu1">
|
<a href="blog-page.html" class="clearfix menu1">
|
||||||
<strong>Blog</strong>
|
<strong>Живой журнал</strong>
|
||||||
<span class="label"></span>
|
<span class="label"></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="blog-page.html" class="clearfix menu1">
|
||||||
|
<strong>Есть работа</strong>
|
||||||
|
<span class="label"></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="blog-page.html" class="clearfix menu1">
|
||||||
|
<strong>Есть халтура</strong>
|
||||||
|
<span class="label"></span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -693,13 +708,20 @@
|
||||||
<!-- //end Navbar switcher -->
|
<!-- //end Navbar switcher -->
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- //Header Container -->
|
<!-- //Header Container -->
|
||||||
{if ($smarty.get.mod!='tovar_show' && $smarty.get.mod!='login' && $smarty.get.mod!='page') }
|
{* if ($smarty.get.mod!='tovar_show' && $smarty.get.mod!='login' && $smarty.get.mod!='page') }
|
||||||
<!-- Block Spotlight1 -->
|
<!-- Block Spotlight1 -->
|
||||||
<section class="so-spotlight1 ">
|
<section class="so-spotlight1 ">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row" style="border: 0px solid green;">
|
<div class="row" style="border: 0px solid green;">
|
||||||
<div class="sidebar-menu col-md-3 col-sm-12 hidden-xs " style="border: 0px solid green;">
|
<!-- div class="sidebar-menu col-md-3 col-sm-12 hidden-xs " style="border: 0px solid green;">
|
||||||
<div class="responsive so-megamenu ">
|
<div class="responsive so-megamenu ">
|
||||||
<div class="so-vertical-menu no-gutter compact-hidden">
|
<div class="so-vertical-menu no-gutter compact-hidden">
|
||||||
<nav class="navbar-default">
|
<nav class="navbar-default">
|
||||||
|
@ -748,7 +770,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -778,4 +800,4 @@
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if *}
|
|
@ -1,6 +1,121 @@
|
||||||
{include file=$header}
|
{include file=$header}
|
||||||
|
|
||||||
|
<section class="so-spotlight1 ">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row" style="border: 0px solid green;">
|
||||||
|
|
||||||
|
<div class="sidebar-menu col-md-3 col-sm-12 hidden-xs " style="border: 0px solid green;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="responsive so-megamenu ">
|
||||||
|
<div class="so-vertical-menu no-gutter compact-hidden">
|
||||||
|
<nav class="navbar-default">
|
||||||
|
<div class="container-megamenu vertical open">
|
||||||
|
<div id="menuHeading-1">
|
||||||
|
<div class="megamenuToogle-wrapper">
|
||||||
|
<div class="megamenuToogle-pattern">
|
||||||
|
<div class="container">
|
||||||
|
<div>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
Популярные разделы
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="navbar-header">
|
||||||
|
<button id="show-verticalmenu" data-toggle="collapse"
|
||||||
|
class="navbar-toggle fa fa-list-alt">
|
||||||
|
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="vertical-wrapper " style="display: block;">
|
||||||
|
<span id="remove-verticalmenu" class="fa fa-times"></span>
|
||||||
|
<div class="megamenu-pattern">
|
||||||
|
<div class="container">
|
||||||
|
<ul class="megamenu">
|
||||||
|
|
||||||
|
<li class="item-vertical">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="/tovar_cat/262-0.html"
|
||||||
|
class="clearfix">
|
||||||
|
|
||||||
|
<span>Все для сети</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="item-vertical">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="/tovar_cat/{$menu_internet_magazin[customer].id}-0.html"
|
||||||
|
class="clearfix">
|
||||||
|
|
||||||
|
<span
|
||||||
|
title="То что всего когда-нибудь пригодится, а как пригодится - не найдешь">Провода</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
<li class="item-vertical">
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="/tovar_cat/{$menu_internet_magazin[customer].id}-0.html"
|
||||||
|
class="clearfix">
|
||||||
|
|
||||||
|
<span>Всякие мелочи</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="yt_header_right" class="col-sm-12 col-md-9 col-lg-9 ">
|
||||||
|
|
||||||
|
<div class="slider-container ">
|
||||||
|
<div class="owl-carousel owl-slider-1 owl" data-dots="yes" data-nav="yes" data-loop="yes"
|
||||||
|
data-items_xs="1" data-items_sm="1" data-items_md="1" data-margin="0">
|
||||||
|
<div class="img-slider">
|
||||||
|
<a href="#"><img src="img/demo/slider/slider-1.jpg" alt=""></a>
|
||||||
|
</div>
|
||||||
|
<div class="img-slider">
|
||||||
|
<a href="#"><img src="img/demo/slider/slider-2.jpg" alt=""></a>
|
||||||
|
</div>
|
||||||
|
<div class="img-slider">
|
||||||
|
<a href="#"><img src="img/demo/slider/slider-3.jpg" alt=""></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,8 +126,8 @@
|
||||||
<div class="main-container container" style="border: 0px solid green;">
|
<div class="main-container container" style="border: 0px solid green;">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-3 col-sm-3"></div>
|
|
||||||
<div id="content" class="col-xs-9 col-sm-9">
|
<div id="content" class="col-xs-12 col-sm-12">
|
||||||
|
|
||||||
<div class="module tab-slider titleLine">
|
<div class="module tab-slider titleLine">
|
||||||
<h3 class="modtitle">Распродажа недели!</h3>
|
<h3 class="modtitle">Распродажа недели!</h3>
|
||||||
|
@ -238,8 +353,8 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="module col-sm-3 hidden-xs"></div>
|
|
||||||
<div class="module col-sm-9 hidden-xs">
|
<div class="module col-sm-12 hidden-xs">
|
||||||
<div class="modcontent clearfix">
|
<div class="modcontent clearfix">
|
||||||
<div class="banner-wraps ">
|
<div class="banner-wraps ">
|
||||||
<div class="m-banner ">
|
<div class="m-banner ">
|
||||||
|
@ -1767,7 +1882,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- //Block Spotlight3 -->
|
<!-- //Block Spotlight3 -->
|
||||||
<script type="text/javascript"><!-
|
<script type="text/javascript">< !-
|
||||||
// var $typeheader = 'header-home1';
|
// var $typeheader = 'header-home1';
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,54 +1,149 @@
|
||||||
{include file=$header title=$page_info[0].title description=$page_info[0].title keywords=$page_info[0].title}
|
{include file=$header title=$page_info[0].title description=$page_info[0].title keywords=$page_info[0].title}
|
||||||
|
<section class="container">
|
||||||
|
|
||||||
|
<nav aria-label="breadcrumb" style="width: 100%; background-color: lightgray; border-radius: 0px 0px 10px 10px; padding-top: 15px; padding-bottom: 1px;;">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||||||
|
<li class="breadcrumb-item"><a href="/tovar_cat/1-0.html">Каталог</a></li>
|
||||||
|
{section name=customer loop=$Breadcrumb}{if ($Breadcrumb[customer].id && $Breadcrumb[customer].id!=$smarty.get.id)}
|
||||||
|
<li class="breadcrumb-item"><a href="/tovar_cat/{$Breadcrumb[customer].id}-0.html">{$Breadcrumb[customer].title}</a></li>
|
||||||
|
{/if}{/section}
|
||||||
|
<li class="breadcrumb-item active" aria-current="page"><b>{$page_info[0].title|substr:70}</b></li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<h1>{$page_info[0].title}</h1>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="so-spotlight1 ">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row" style="border: 0px solid green;">
|
||||||
|
|
||||||
|
<div class="sidebar-menu col-md-3 col-sm-12 hidden-xs " style="border: 0px solid green;">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="responsive so-megamenu ">
|
||||||
|
<div class="so-vertical-menu no-gutter compact-hidden">
|
||||||
|
<nav class="navbar-default">
|
||||||
|
<div class="container-megamenu vertical open">
|
||||||
|
<div id="menuHeading-1">
|
||||||
|
<div class="megamenuToogle-wrapper">
|
||||||
|
<div class="megamenuToogle-pattern">
|
||||||
|
<div class="container">
|
||||||
|
<div>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</div>
|
||||||
|
Популярные разделы
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="navbar-header">
|
||||||
|
<button id="show-verticalmenu" data-toggle="collapse"
|
||||||
|
class="navbar-toggle fa fa-list-alt">
|
||||||
|
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="vertical-wrapper " style="display: block;">
|
||||||
|
<span id="remove-verticalmenu" class="fa fa-times"></span>
|
||||||
|
<div class="megamenu-pattern">
|
||||||
|
<div class="container">
|
||||||
|
<ul class="megamenu">
|
||||||
|
{section name=customer loop=$list}{if $list[customer].id}
|
||||||
|
<li class="item-vertical" {if ($list[customer].hide==1)}style="display: none;"{/if}>
|
||||||
|
<p class="close-menu"></p>
|
||||||
|
<a href="/tovar_cat/{$list[customer].id}-0.html" class="clearfix">
|
||||||
|
|
||||||
|
<span>{$list[customer].title}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{/if}{/section}
|
||||||
|
|
||||||
|
|
||||||
|
<li class="loadmore">
|
||||||
|
<i class="fa fa-plus-square-o"></i>
|
||||||
|
<span class="more-view">Еще товары</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="yt_header_right" class="col-sm-12 col-md-9 col-lg-9 ">
|
||||||
|
|
||||||
|
<div class="slider-container ">
|
||||||
|
<div class="owl-carousel owl-slider-1 owl" data-dots="yes" data-nav="yes" data-loop="yes"
|
||||||
|
data-items_xs="1" data-items_sm="1" data-items_md="1" data-margin="0">
|
||||||
|
|
||||||
|
{section name=customer loop=$oblozhka}{if $oblozhka[customer].id}
|
||||||
|
<div class="img-slider">
|
||||||
|
<a href="#"><img src="/img/{$smarty.server.SERVER_NAME}/tovar_cat/{$oblozhka[customer].filename}.jpg" alt=""></a>
|
||||||
|
</div>
|
||||||
|
{/if}{/section}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="main-container container" style="border: 0px solid green;">
|
<div class="main-container container" style="border: 0px solid green;">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-3 col-sm-3"></div>
|
|
||||||
<div id="content" class="col-xs-9 col-sm-9">
|
<div id="content" class="col-xs-12 col-sm-12">
|
||||||
<!-- nav aria-label="breadcrumb" style="width: 100%;">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="/" style="font-size: 10pt;">Главная</a></li>
|
|
||||||
{$breadcrumb}
|
|
||||||
<li class="breadcrumb-item active" aria-current="page" style="font-size: 10pt;">{$cat_name}</li>
|
|
||||||
</ol>
|
|
||||||
</nav -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{* Подкатегории _210_270 *}
|
{* Подкатегории _210_270 *}
|
||||||
|
|
||||||
|
|
||||||
<div class="products-category">
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h3>{$page_info[0].title}</h3>
|
|
||||||
</div>
|
|
||||||
<div class="category-derc form-group">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-4"><img src="/img/{$smarty.server.SERVER_NAME}/tovar_cat/{$page_info[0].img}.jpg"
|
|
||||||
alt="Apple Cinema 30""></div>
|
|
||||||
<div class="col-sm-8">
|
|
||||||
{$page_info[0].txt}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{*
|
||||||
<!-- товар-->
|
<!-- товар-->
|
||||||
<div class="products-list grid row" style="width: 100%;">
|
<div class="products-list grid row" style="width: 100%;">
|
||||||
{section name=customer loop=$list}{if $list[customer].id}
|
{section name=customer loop=$list}{if $list[customer].id}
|
||||||
<div class="product-layout col-sm-4" style="border: 0px solid green;">
|
<div class="product-layout col-sm-3" style="border: 0px solid green;">
|
||||||
<div class="product-item-container">
|
<div class="product-item-container">
|
||||||
<div class="left-block">
|
<div class="left-block">
|
||||||
<div class="product-image-container1" style="height: 282px;">
|
<div class="product-image-container1" style="height: 282px;">
|
||||||
<a class="product-img" href="/tovar_cat/{$list[customer].id}-0.html"><img
|
<a class="product-img" href="/tovar_cat/{$list[customer].id}-0.html"><img
|
||||||
class="lazy"
|
class="lazy"
|
||||||
data-original="/img/{$smarty.server.SERVER_NAME}/tovar_cat/{$list[customer].img}.jpg"
|
data-original="/img/{$smarty.server.SERVER_NAME}/tovar_cat/{$list[customer].img}.jpg"
|
||||||
src="https://tk-ligat.ru/skin/tk-ligat.ru/img/nofoto.jpg" alt="" style="width: 100%;"></a>
|
src="img/nofoto.jpg" alt="" style="width: 100%;"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right-block">
|
<div class="right-block">
|
||||||
|
@ -64,16 +159,16 @@
|
||||||
{/if}{/section}
|
{/if}{/section}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
*}
|
||||||
|
|
||||||
<!-- товар-->
|
<!-- товар-->
|
||||||
<h2>Товары:</h2>
|
<h2>Товары:</h2>
|
||||||
<div class="products-list grid row" style="width: 100%;">
|
<div class="products-list grid row" style="width: 100%;">
|
||||||
{section name=customer loop=$list2}{if $list2[customer].id}
|
{section name=customer loop=$list2}{if $list2[customer].id}
|
||||||
<div class="product-layout col-sm-4 mb-3" style="margin-bottom: 10px;">
|
<div class="product-layout col-sm-3 mb-3" style="margin-bottom: 10px;">
|
||||||
<div class="product-item-container">
|
<div class="product-item-container">
|
||||||
<div class="left-block">
|
<div class="left-block">
|
||||||
<div class="product-image-container1" style="height: 282px;">
|
<div class="product-image-container1">
|
||||||
<a class="product-img" href="/tovar_show/{$list2[customer].id}"><img class="lazy"
|
<a class="product-img" href="/tovar_show/{$list2[customer].id}"><img class="lazy"
|
||||||
data-original="/img/{$smarty.server.SERVER_NAME}/tovar/{$list2[customer].img}.jpg"
|
data-original="/img/{$smarty.server.SERVER_NAME}/tovar/{$list2[customer].img}.jpg"
|
||||||
src="https://tk-ligat.ru/skin/tk-ligat.ru/img/nofoto.jpg" alt=""></a>
|
src="https://tk-ligat.ru/skin/tk-ligat.ru/img/nofoto.jpg" alt=""></a>
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
{include file=$header title="{$page[0].title}" h1="{$page[0].title}" keywords="{$page[0].keywords}" description="{$page[0].description}"}
|
{include file=$header title="{$page[0].title}" h1="{$page[0].title}" keywords="{$page[0].keywords}"
|
||||||
|
description="{$page[0].description}"}
|
||||||
|
|
||||||
<div class="main-container container">
|
<div class="main-container container">
|
||||||
<ul class="header-main type-1">
|
<ul class="header-main type-1">
|
||||||
<li class="home"><a href="/">Главная<i class="fa fa-angle-right" aria-hidden="true"></i></a></li>
|
<li class="home"><a href="/">Главная<i class="fa fa-angle-right" aria-hidden="true"></i></a></li>
|
||||||
|
|
||||||
{section name=customer loop=$Breadcrumb}{if ($Breadcrumb[customer].id && $Breadcrumb[customer].id!=$smarty.get.id)}
|
{section name=customer loop=$Breadcrumb}{if ($Breadcrumb[customer].id &&
|
||||||
<li class="home"><a href="/tovar_cat/{$Breadcrumb[customer].id}-0.html">{$Breadcrumb[customer].title} <i class="fa fa-angle-right"
|
$Breadcrumb[customer].id!=$smarty.get.id)}
|
||||||
aria-hidden="true"></i></a></li>
|
<li class="home"><a href="/tovar_cat/{$Breadcrumb[customer].id}-0.html">{$Breadcrumb[customer].title} <i
|
||||||
{/if}{/section}
|
class="fa fa-angle-right" aria-hidden="true"></i></a></li>
|
||||||
<li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:170}</li>
|
{/if}{/section}
|
||||||
|
<li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:170}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -22,26 +24,27 @@
|
||||||
<div class="large-image ">
|
<div class="large-image ">
|
||||||
<img itemprop="image" class="product-image-zoom"
|
<img itemprop="image" class="product-image-zoom"
|
||||||
src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[0]['filename']}.jpg"
|
src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[0]['filename']}.jpg"
|
||||||
{* data-zoom-image="/img/{$smarty.server.SERVER_NAME}/tovar/{$imagesTovar[0]['filename']}.jpg" *}
|
{*
|
||||||
title="{$page[0].title}" alt="{$page[0].title}" style="width: 100%;">
|
data-zoom-image="/img/{$smarty.server.SERVER_NAME}/tovar/{$imagesTovar[0]['filename']}.jpg"
|
||||||
|
*} title="{$page[0].title}" alt="{$page[0].title}" style="width: 100%;">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="thumb-slider"
|
<div id="thumb-slider" class="owl-theme owl-loaded owl-drag full_slider owl-carousel "
|
||||||
class="owl-theme owl-loaded owl-drag full_slider owl-carousel " data-nav='yes'
|
data-nav='yes' data-loop="no" data-margin="10" data-items_xs="2" data-items_sm="3"
|
||||||
data-loop="no" data-margin="10" data-items_xs="2" data-items_sm="3"
|
|
||||||
data-items_md="3">
|
data-items_md="3">
|
||||||
|
|
||||||
{section name=customer loop=$imagesTovar} {if $imagesTovar[customer].id}
|
{section name=customer loop=$imagesTovar} {if $imagesTovar[customer].id}
|
||||||
<a data-index="{$customer}" class="img thumbnail "
|
<a data-index="{$customer}" class="img thumbnail "
|
||||||
data-image="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[customer]['filename']}.jpg" title="{$page[0].title}">
|
data-image="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[customer]['filename']}.jpg"
|
||||||
<img src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[customer]['filename']}.jpg" title="{$page[0].title}"
|
title="{$page[0].title}">
|
||||||
alt="{$page[0].title}" class="yurec-thumbnail">
|
<img src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$imagesTovar[customer]['filename']}.jpg"
|
||||||
|
title="{$page[0].title}" alt="{$page[0].title}" class="yurec-thumbnail">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
{/if} {/section}
|
{/if} {/section}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -73,9 +76,10 @@
|
||||||
</div -->
|
</div -->
|
||||||
<div class="product-label form-group">
|
<div class="product-label form-group">
|
||||||
<div class="stock">
|
<div class="stock">
|
||||||
<span>Доступность:</span> {if $page[0].ostatok>0}<span class="instock">В наличии ({$page[0].ostatok})</span>
|
<span>Доступность:</span> {if $page[0].ostatok>0}<span class="instock">В наличии
|
||||||
|
({$page[0].ostatok})</span>
|
||||||
|
|
||||||
|
|
||||||
{else}
|
{else}
|
||||||
<span class="instock">Можем попробовать привезти!</span>
|
<span class="instock">Можем попробовать привезти!</span>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -83,8 +87,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="product_page_price price" itemprop="offerDetails" itemscope=""
|
<div class="product_page_price price" itemprop="offerDetails" itemscope=""
|
||||||
itemtype="http://data-vocabulary.org/Offer">
|
itemtype="http://data-vocabulary.org/Offer">
|
||||||
<span class="price-new" itemprop="price">$114.00</span>
|
{if ($page[0].akccena)}
|
||||||
<span class="price-old">$122.00</span>
|
<span class="price-new" itemprop="price">{$page[0].akccena} руб.</span>
|
||||||
|
<span class="price-old">{$page[0].cena} руб.</span>
|
||||||
|
{else}
|
||||||
|
<span class="price-new" itemprop="price">{$page[0].cena} руб.</span>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -94,7 +102,8 @@
|
||||||
<div class="input-group quantity-control" unselectable="on"
|
<div class="input-group quantity-control" unselectable="on"
|
||||||
style="-webkit-user-select: none;">
|
style="-webkit-user-select: none;">
|
||||||
<label>Количество: </label>
|
<label>Количество: </label>
|
||||||
<input class="form-control" type="text" name="quantity" value="1" id="number">
|
<input class="form-control" type="text" name="quantity" value="1"
|
||||||
|
id="number">
|
||||||
<input type="hidden" name="product_id" value="50">
|
<input type="hidden" name="product_id" value="50">
|
||||||
<input type="hidden" id="pages_id" value="{$smarty.get.id}">
|
<input type="hidden" id="pages_id" value="{$smarty.get.id}">
|
||||||
<span class="input-group-addon product_quantity_down"><i
|
<span class="input-group-addon product_quantity_down"><i
|
||||||
|
@ -106,11 +115,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="info-product-right">
|
<div class="info-product-right">
|
||||||
<div class="cart">
|
<div class="cart">
|
||||||
<input type="button" data-toggle="tooltip" title=""
|
<input type="button" data-toggle="tooltip" title="" value="Купить"
|
||||||
value="Купить" data-loading-text="Loading..."
|
data-loading-text="Loading..." id="button-cart"
|
||||||
id="button-cart" class="btn btn-mega btn-lg btn-add-to-cart"
|
class="btn btn-mega btn-lg btn-add-to-cart"
|
||||||
onclick="cart.add('42', '1');"
|
onclick="cart.add('42', '1');" data-original-title="Купить">
|
||||||
data-original-title="Купить">
|
|
||||||
</div>
|
</div>
|
||||||
<!-- div class="add-to-links wish_comp">
|
<!-- div class="add-to-links wish_comp">
|
||||||
<ul class="blank list-inline">
|
<ul class="blank list-inline">
|
||||||
|
@ -160,42 +168,32 @@
|
||||||
<div class="producttab ">
|
<div class="producttab ">
|
||||||
<div class="tabsslider col-xs-12">
|
<div class="tabsslider col-xs-12">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a data-toggle="tab" href="#tab-1">Характеристики</a>
|
<li class="active"><a data-toggle="tab" href="#tab-1">Характеристики</a></li>
|
||||||
</li>
|
<li class="item_nonactive "><a data-toggle="tab" href="#tab-2">Отзывы</a></li>
|
||||||
<li class="item_nonactive "><a data-toggle="tab"
|
<li class="item_nonactive "><a data-toggle="tab" href="#tab-3">Вопросы по товару</a></li>
|
||||||
href="#tab-2">Отзывы</a></li>
|
|
||||||
|
|
||||||
<li class="item_nonactive "><a data-toggle="tab"
|
|
||||||
href="#tab-3">Вопросы по товару</a></li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content col-xs-12">
|
<div class="tab-content col-xs-12">
|
||||||
<div id="tab-1" class="tab-pane fade active in">
|
<div id="tab-1" class="tab-pane fade active in">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
{section name=customer loop=$har} {if $har[customer].id}
|
{section name=customer loop=$har} {if $har[customer].id}
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$har[customer].opt}</td>
|
<td>{$har[customer].opt}</td>
|
||||||
<td>{$har[customer].txt}</td>
|
<td>{$har[customer].txt}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{/if} {/section}
|
{/if} {/section}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="tab-2" class="tab-pane fade in">
|
<div id="tab-2" class="tab-pane fade in">
|
||||||
|
|
||||||
|
|
||||||
{include file=$inc_comments}
|
{include file=$inc_comments}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tab-3" class="tab-pane fade in">
|
<div id="tab-3" class="tab-pane fade in">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -206,7 +204,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- Related Products -->
|
<!-- Related Products -->
|
||||||
<div class="related-product ">
|
<div class="related-product ">
|
||||||
|
@ -215,19 +213,23 @@
|
||||||
<hr>
|
<hr>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="related-product-owl">
|
<div class="related-product-owl">
|
||||||
<div class=" owl-carousel related-owl " data-nav="yes" data-loop="yes" data-margin="30"
|
<div class=" owl-carousel related-owl " data-nav="yes" data-loop="no" data-margin="30"
|
||||||
data-items_xs="1" data-items_sm="4" data-items_md="5">
|
data-items_xs="1" data-items_sm="4" data-items_md="5">
|
||||||
|
|
||||||
|
|
||||||
|
{section name=customer loop=$tovarHistory} {if $tovarHistory[customer].id}
|
||||||
<div class="product-layout">
|
<div class="product-layout">
|
||||||
<div class="product-item-container">
|
<div class="product-item-container">
|
||||||
<div class="left-block">
|
<div class="left-block">
|
||||||
<div class="product-image-container second_img ">
|
<div class="product-image-container second_img ">
|
||||||
<a href="product.html" class="product-img"><img
|
<a href="/tovar_show/{$tovarHistory[customer].id}" class="product-img"><img
|
||||||
src="img/demo/shop/product/product-1.jpg" alt=""></a>
|
src="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$tovarHistory[customer].img}.jpg"
|
||||||
|
alt="{$tovarHistory[customer].title}" title="{$tovarHistory[customer].title}"></a>
|
||||||
<!--Sale Label-->
|
<!--Sale Label-->
|
||||||
|
|
||||||
<span class="sale">-25%</span>
|
<!-- span class="sale">-25%</span -->
|
||||||
<div class="hover">
|
<div class="hover">
|
||||||
<ul>
|
<!--ul>
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
<li class="icon-heart"><a class="wishlist" type="button"
|
||||||
data-toggle="tooltip" title=""
|
data-toggle="tooltip" title=""
|
||||||
onclick="wishlist.add('42');"
|
onclick="wishlist.add('42');"
|
||||||
|
@ -242,14 +244,16 @@
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
data-fancybox-type="iframe" href="quickview.html"> <i
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
class="fa fa-search" aria-hidden="true"></i></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right-block">
|
<div class="right-block">
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h4><a href="product.html">Dummy product #01</a></h4>
|
<h4><a
|
||||||
<div class="ratings">
|
href="/tovar_show/{$tovarHistory[customer].id}">{$tovarHistory[customer].title|substr:30}</a>
|
||||||
|
</h4>
|
||||||
|
<!-- div class="ratings">
|
||||||
<div class="rating-box">
|
<div class="rating-box">
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
|
@ -257,11 +261,15 @@
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
<span class="gray"><i class="fa fa-star "></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div -->
|
||||||
|
|
||||||
<div class="price">
|
<div class="price">
|
||||||
<span class="price-new">$43.00</span>
|
{if ($tovarHistory[customer].akccena)}
|
||||||
<span class="price-old">$75.00</span>
|
<span class="price-new">{$tovarHistory[customer].akccena}</span>
|
||||||
|
<span class="price-old">{$tovarHistory[customer].cena}</span>
|
||||||
|
{else}
|
||||||
|
<span class="price-new">{$tovarHistory[customer].cena}</span>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="description item-desc hidden">
|
<div class="description item-desc hidden">
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
||||||
|
@ -273,471 +281,18 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<button class="addToCart btn btn-default " type="button"
|
<button class="addToCart btn btn-default " type="button" data-toggle="tooltip"
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
title="" onclick="cart.add('42', '1');" data-original-title="Add to Cart">
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
<span class="">В корзину</span></button>
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div><!-- right block -->
|
</div><!-- right block -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/if} {/section}
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-3.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<span class="sale">-25%</span>
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #02</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$74.00</span>
|
|
||||||
<span class="price-old">$122.00</span>
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-2.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<span class="sale">-50%</span>
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #03</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$78.00</span>
|
|
||||||
<span class="price-old">$154.00</span>
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-5.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #04</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$78.00</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-4.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #05</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$85.00</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-7.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #06</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$68.00</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-6.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
<span class="new">New</span>
|
|
||||||
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #07</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$58.00</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="product-layout">
|
|
||||||
<div class="product-item-container">
|
|
||||||
<div class="left-block">
|
|
||||||
<div class="product-image-container second_img ">
|
|
||||||
<a href="product.html" class="product-img"><img
|
|
||||||
src="img/demo/shop/product/product-6.jpg" alt=""></a>
|
|
||||||
<!--Sale Label-->
|
|
||||||
|
|
||||||
<div class="hover">
|
|
||||||
<ul>
|
|
||||||
<li class="icon-heart"><a class="wishlist" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="wishlist.add('42');"
|
|
||||||
data-original-title="Add to Wish List"><i
|
|
||||||
class="fa fa-heart"></i></a></li>
|
|
||||||
<li class="icon-exchange"><a class="compare" type="button"
|
|
||||||
data-toggle="tooltip" title=""
|
|
||||||
onclick="compare.add('42');"
|
|
||||||
data-original-title="Compare this Product"><i
|
|
||||||
class="fa fa-exchange"></i></a></li>
|
|
||||||
<li class="icon-search"><a class="quickview iframe-link "
|
|
||||||
data-fancybox-type="iframe" href="quickview.html"> <i
|
|
||||||
class="fa fa-search" aria-hidden="true"></i></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="right-block">
|
|
||||||
<div class="caption">
|
|
||||||
<h4><a href="product.html">Dummy product #08</a></h4>
|
|
||||||
<div class="ratings">
|
|
||||||
<div class="rating-box">
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class=""><i class="fa fa-star "></i></span>
|
|
||||||
<span class="gray"><i class="fa fa-star "></i></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="price">
|
|
||||||
<span class="price-new">$74.00</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="description item-desc hidden">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
||||||
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
|
||||||
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
|
||||||
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
|
||||||
sanctus est . </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button-group">
|
|
||||||
<button class="addToCart btn btn-default " type="button"
|
|
||||||
data-toggle="tooltip" title="" onclick="cart.add('42', '1');"
|
|
||||||
data-original-title="Add to Cart"> <span class="">Add to
|
|
||||||
Cart</span></button>
|
|
||||||
</div>
|
|
||||||
</div><!-- right block -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -746,6 +301,95 @@
|
||||||
<!-- end Related Products-->
|
<!-- end Related Products-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="related-product ">
|
||||||
|
<h3 class="modtitle">Похожие товары </h3>
|
||||||
|
<hr>
|
||||||
|
<hr>
|
||||||
|
<hr>
|
||||||
|
<div class="related-product-owl">
|
||||||
|
<div class=" owl-carousel related-owl " data-nav="yes" data-loop="no" data-margin="30"
|
||||||
|
data-items_xs="1" data-items_sm="4" data-items_md="5">
|
||||||
|
|
||||||
|
|
||||||
|
{section name=customer loop=$rndTovar} {if $rndTovar[customer].id}
|
||||||
|
<div class="product-layout">
|
||||||
|
<div class="product-item-container">
|
||||||
|
<div class="left-block">
|
||||||
|
<div class="product-image-container second_img ">
|
||||||
|
<a href="/tovar_show/{$rndTovar[customer].id}" class="product-img"><img
|
||||||
|
src="img/nofoto.jpg"
|
||||||
|
data-original="/img/{$smarty.server.SERVER_NAME}/tovar/square/{$rndTovar[customer].img}.jpg"
|
||||||
|
alt="{$rndTovar[customer].title}" class="lazy" title="{$rndTovar[customer].title}"></a>
|
||||||
|
<!--Sale Label-->
|
||||||
|
|
||||||
|
<!-- span class="sale">-25%</span -->
|
||||||
|
<div class="hover">
|
||||||
|
<!--ul>
|
||||||
|
<li class="icon-heart"><a class="wishlist" type="button"
|
||||||
|
data-toggle="tooltip" title=""
|
||||||
|
onclick="wishlist.add('42');"
|
||||||
|
data-original-title="Add to Wish List"><i
|
||||||
|
class="fa fa-heart"></i></a></li>
|
||||||
|
<li class="icon-exchange"><a class="compare" type="button"
|
||||||
|
data-toggle="tooltip" title=""
|
||||||
|
onclick="compare.add('42');"
|
||||||
|
data-original-title="Compare this Product"><i
|
||||||
|
class="fa fa-exchange"></i></a></li>
|
||||||
|
<li class="icon-search"><a class="quickview iframe-link "
|
||||||
|
data-fancybox-type="iframe" href="quickview.html"> <i
|
||||||
|
class="fa fa-search" aria-hidden="true"></i></a>
|
||||||
|
</li>
|
||||||
|
</ul -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="right-block">
|
||||||
|
<div class="caption">
|
||||||
|
<h4><a
|
||||||
|
href="/tovar_show/{$rndTovar[customer].id}">{$rndTovar[customer].title|substr:30}</a>
|
||||||
|
</h4>
|
||||||
|
<!-- div class="ratings">
|
||||||
|
<div class="rating-box">
|
||||||
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
|
<span class=""><i class="fa fa-star "></i></span>
|
||||||
|
<span class="gray"><i class="fa fa-star "></i></span>
|
||||||
|
</div>
|
||||||
|
</div -->
|
||||||
|
|
||||||
|
<div class="price">
|
||||||
|
<span class="price-new">$43.00</span>
|
||||||
|
<span class="price-old">{$rndTovar[customer].cena}</span>
|
||||||
|
</div>
|
||||||
|
<div class="description item-desc hidden">
|
||||||
|
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
||||||
|
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
|
||||||
|
erat, sed diam voluptua. At vero eos et accusam et justo duo
|
||||||
|
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
|
||||||
|
sanctus est . </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="button-group">
|
||||||
|
<button class="addToCart btn btn-default " type="button" data-toggle="tooltip"
|
||||||
|
title="" onclick="cart.add('42', '1');" data-original-title="Add to Cart">
|
||||||
|
<span class="">В корзину</span></button>
|
||||||
|
</div>
|
||||||
|
</div><!-- right block -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/if} {/section}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,29 @@ $(".yurec-thumbnail").click(function(){
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------------
|
||||||
|
05.03.2023
|
||||||
|
Удаляем данные из корзины
|
||||||
|
---------------------------------------------------------------------- */
|
||||||
|
$(".global-cart-delete").click(function(event){
|
||||||
|
var id=$(this).data('id');
|
||||||
|
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
type:"POST",
|
||||||
|
url:'/act/ajax',
|
||||||
|
data:"id="+id +"&act=delFromCart",
|
||||||
|
success:function(data){
|
||||||
|
$(".global-cart-summ").text(data + ' р. ')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
$(".global-cart-str-" + id).hide('5000');
|
||||||
|
return false;
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$("a.ancLinks").click(function(){
|
$("a.ancLinks").click(function(){
|
||||||
|
|
Loading…
Reference in New Issue