d09f430f
Administrator
big commti
|
1
|
<?php
|
0bfe5701
Administrator
big commti
|
2
3
|
/**
* @var $product Product
|
6c66c02e
Administrator
big commti
|
4
|
* @var $this View
|
0bfe5701
Administrator
big commti
|
5
|
*/
|
7f87d6f9
Yarik
Modals.
|
6
7
|
use common\components\artboximage\ArtboxImageHelper;
use common\models\Orders;
|
d51a2c71
Administrator
big commti
|
8
9
|
use common\modules\product\models\Product;
use frontend\assets\FotoramaAsset;
|
7f87d6f9
Yarik
Modals.
|
10
11
12
13
|
use frontend\widgets\Seo;
use common\modules\comment\widgets\CommentWidget;
use yii\bootstrap\ActiveForm;
use yii\bootstrap\Html;
|
d51a2c71
Administrator
big commti
|
14
15
16
17
18
|
use yii\helpers\Url;
use yii\web\View;
use yii\widgets\MaskedInput;
use frontend\assets\FlipclockAsset;
FlipclockAsset::register($this);
|
1da76554
Administrator
big commti
|
19
|
FotoramaAsset::register($this);
|
0bfe5701
Administrator
big commti
|
20
21
22
|
$this->title = $product->name;
|
6023a0e4
Administrator
big commti
|
23
|
$this->params[ 'seo' ][ Seo::TITLE ] = $product->name .' купить в Киеве, Украине недорого - Лінія Світла';
|
ffde80b8
Administrator
big commti
|
24
|
$this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->name;
|
0bfe5701
Administrator
big commti
|
25
26
|
$this->params[ 'seo' ][ 'h1' ] = $product->name;
|
5181a91a
Administrator
big commti
|
27
|
|
7f87d6f9
Yarik
Modals.
|
28
29
30
31
32
33
34
|
$this->params[ 'breadcrumbs' ][] = [
'label' => $category->name,
'url' => [
'catalog/category',
'category' => $category,
],
];
|
5181a91a
Administrator
big commti
|
35
36
37
38
39
|
$this->params[ 'breadcrumbs' ][] = [
'label' => $product->brand->name,
'url' => ['catalog/category', 'category' => $category, 'filters' => ['brands' => [$product->brand->alias]]],
];
|
ffde80b8
Administrator
big commti
|
40
|
$this->params[ 'breadcrumbs' ][] = $product->name . ' #' . $product->variant->sku;
|
d09f430f
Administrator
big commti
|
41
|
?>
|
7f87d6f9
Yarik
Modals.
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<div class="wrapper white item_container">
<div class="container">
<div class="product_detail">
<h1 itemprop="name"><?= Seo::widget([ 'row' => 'h1' ]) ?></h1>
<div class="product_code">Код:<?= $product->variant->sku ?></div>
<div class="clearfix"></div>
<!-- Image part -->
<div class="img_part">
<div class="position">
<div class="img_part_big">
<?php if(!empty( $product->images )) : ?>
|
219b20e9
Administrator
big commti
|
57
58
59
|
<div class="fotorama" data-allowfullscreen="true" data-nav="thumbs"
data-width="342"
data-height="350">
|
4a13b493
Administrator
big commti
|
60
|
|
7f87d6f9
Yarik
Modals.
|
61
62
|
<?php foreach($product->images as $image) : ?>
<a href="<?= $image->imageUrl ?>">
|
9114c0a4
Administrator
big commti
|
63
|
<?= ArtboxImageHelper::getImage($image->imageUrl, 'product_show') ?>
|
e337d04a
Administrator
liniya first commit
|
64
|
</a>
|
7f87d6f9
Yarik
Modals.
|
65
|
<?php endforeach ?>
|
e337d04a
Administrator
liniya first commit
|
66
|
</div>
|
7f87d6f9
Yarik
Modals.
|
67
|
<?php else : ?>
|
9114c0a4
Administrator
big commti
|
68
69
|
<a href="<?= $product->imageUrl ?>" data-lightbox="image-1" data-title="<?= $product->name;?>">
<?= ArtboxImageHelper::getImage($product->imageUrl, 'product_show',[
|
9392f75f
Administrator
big commti
|
70
71
|
'alt'=>$product->name." фото 1" ,
'title' => $product->name." фото 1"
|
9114c0a4
Administrator
big commti
|
72
73
|
]) ?>
</a>
|
4a13b493
Administrator
big commti
|
74
|
|
7f87d6f9
Yarik
Modals.
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
<?php endif ?>
</div>
<div class="clearfix"></div>
<ul class="detail_main_tabs">
<li class="properties" data-target="characteristics">
<a href="#characteristics">
<span class="text">Характеристики и описание</span>
</a>
<span class="icon"></span>
<span class="arr"></span>
</li>
<li class="product_collection" data-target="collection">
<a href="#collection">
<span class="text">Коллекция</span>
</a>
<span class="icon"></span>
<span class="arr"></span>
</li>
<li class="comments" data-target="reviews">
<a href="#reviews">
<span class="text">Написать отзыв</span>
</a>
<span class="icon"></span>
<span class="arr"></span>
</li>
</ul>
<div class="floating_helper_block_wrapper">
<div class="floating_helper_block" style="visibility: visible; opacity: 1;">
<table>
<tbody>
<tr>
<td>
|
37415bee
Administrator
big commti
|
113
114
115
116
|
<?php if( $product->variant->price_old ){?>
<strike><span><span id='old_cost'><?= $product->variant->price_old ?></span></span> грн.</strike>
<?php }?>
|
7f87d6f9
Yarik
Modals.
|
117
118
119
120
121
|
<span class="cost"><span itemprop="price"><span id='cost'><?= $product->variant->price ?></span></span> <span class="valute">грн.</span></span>
<meta itemprop="priceCurrency" content="UAH">
</td>
<td>
<!-- Купить -->
|
cc0ddab0
Administrator
big commti
|
122
123
|
<?php if($product->variant->status != 1)
{?>
|
90014ee3
Administrator
big commti
|
124
|
<a lang="5892" class="btn btnBuy buy_button btn-large1" data-id="<?php echo $product->variant->product_variant_id; ?>" data-toggle="modal" data-target="#buyForm">Купить</a>
|
cc0ddab0
Administrator
big commti
|
125
|
<?php } else {?>
|
fecf1dd4
Виталий
-
|
126
|
<a href="#" style="background-color:dimgrey; background-image:linear-gradient(to bottom, #9d9fa0, #abafb2);cursor:default !important;color:#fff!important;box-shadow: none !important;border-top: 1px solid #256caf !important;border-bottom: 1px solid #256caf !important;" class="btn btn-large btn-default " data-id="<?php echo $product->variant->product_variant_id; ?>" >снят с производства</a>
|
cc0ddab0
Administrator
big commti
|
127
|
<?php } ?>
|
90014ee3
Administrator
big commti
|
128
|
|
7f87d6f9
Yarik
Modals.
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
</td>
<td>
<?php
/* Compare and favorites buttons to be done
?>
<ul class="wishlike_block ul">
<li class="compare">
<a class="compare compare_href" name="5892" href="javascript:return false;">К сравнению</a>
<span class="icon"></span>
</li>
<div class="clearfix"></div>
<li class="like">
<a data-toggle="modal" data-target="#myWishlist" href="#">В избранное</a>
<span class="icon"></span>
</li>
</ul>
*/
?>
</td>
</tr>
</tbody>
</table>
<span class="arr"></span>
<div class="clearfix"></div>
|
e337d04a
Administrator
liniya first commit
|
154
|
</div>
|
7f87d6f9
Yarik
Modals.
|
155
156
157
158
159
|
</div>
</div>
</div><!-- EOF Image part -->
<!-- Info table -->
|
ec2fe6c9
Administrator
big commti
|
160
|
|
7f87d6f9
Yarik
Modals.
|
161
|
<div class="info" style="height: auto; opacity: 1;">
|
b905419d
Administrator
big commti
|
162
163
|
|
7f87d6f9
Yarik
Modals.
|
164
165
166
167
168
169
|
<table class="info_table">
<colgroup>
<col style="width: 280px;">
<col style="width: 35px;">
<col>
</colgroup>
|
b905419d
Administrator
big commti
|
170
|
|
7f87d6f9
Yarik
Modals.
|
171
172
|
<tbody>
<tr>
|
2e96ba93
Administrator
big commti
|
173
174
175
176
|
<?php foreach($product->events as $event):?>
<?php if(!empty($event->end_at) && $event->isActive()):?>
<div class="event_block">
|
1df4ee34
Administrator
big commti
|
177
|
<div class="event_title"> <?= Html::a('Акция!!! '.$event->name,Url::to(['event/show','alias'=>$event->alias]))?></div>
|
2e96ba93
Administrator
big commti
|
178
179
|
<div class="event_time">До конца осталось:</div>
<div class="clock_<?= $event->primaryKey ?> clock_product_first "></div>
|
6c66c02e
Administrator
big commti
|
180
181
|
<?php
$js = "
|
2e96ba93
Administrator
big commti
|
182
183
|
var clock;
|
d51a2c71
Administrator
big commti
|
184
|
clock = new FlipClock($('.clock_$event->primaryKey'), {
|
2e96ba93
Administrator
big commti
|
185
186
187
188
189
190
191
192
193
194
195
196
197
198
|
clockFace: 'DailyCounter',
language: 'ru',
classes: {
active: 'flip-clock-active',
before: 'flip-clock-before',
divider: 'flip-clock-divider',
dot: 'flip-clock-dot',
label: 'flip-clock-label',
flip: 'flip',
play: 'play',
wrapper: 'flip-clock-wrapper'
},
});
|
0242920b
Administrator
big commti
|
199
|
clock.setTime( ".(strtotime($event->end_at) - strtotime(date('Y-m-d H:i:s'))).");
|
2e96ba93
Administrator
big commti
|
200
201
|
clock.setCountdown(true);
clock.start();
|
6c66c02e
Administrator
big commti
|
202
|
";
|
17fd0b92
Administrator
big commti
|
203
|
$this->registerJs($js,View::POS_LOAD)
|
6c66c02e
Administrator
big commti
|
204
|
?>
|
2e96ba93
Administrator
big commti
|
205
|
|
2e96ba93
Administrator
big commti
|
206
207
208
209
210
211
|
</div>
<?php endif; ?>
<?php endforeach; ?>
</tr>
<tr>
|
7f87d6f9
Yarik
Modals.
|
212
|
<td class="left_count available">
|
d00e5a55
Administrator
big commti
|
213
214
215
216
|
<?php if($product->variant->status == 1){?>
снят с производства
<?php } elseif($product->variant->stock > 0) {?>
в наличии
|
8e9033a5
Administrator
big commti
|
217
|
<?php } else {?>
|
f3f8709d
Administrator
big commti
|
218
|
под заказ
|
d00e5a55
Administrator
big commti
|
219
|
<?php } ?>
|
7f87d6f9
Yarik
Modals.
|
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
</td>
<td rowspan="2" class="spacer"> </td>
<td class="right_block" rowspan="2">
<table>
<tbody>
<tr>
<td class="warranty_block">
<div class="">
<ul class="ul">
<li class="delivery">
<div class="title">Быстрая доставка</div>
<div class="descr">
<p>В любой уголок
<span class="strong black">Украины:</span><br>
— Самовывоз Новая Почта - 55 грн.<br>
— Курьер Новая Почта - 88 грн.<br>
— Курьер «ИнТайм» - 60 грн.</p>
|
66285eca
Administrator
big commti
|
237
|
<?php if($product->variant->price >= 1000){?>
|
7f87d6f9
Yarik
Modals.
|
238
239
240
241
242
243
244
245
246
|
<p>
<span class="strong black">Киев</span>:<br>
— Курьер - <s>50 грн.</s>
<span class="bold black up">бесплатно!</span>
<span class="star_info">*</span><br>
— Самовывоз -
<span class="up bold black">бесплатно!</span><br>
— Пункт Новой Почты - <s>55 грн.</s>
<span class="bold black up">бесплатно!</span>
|
37415bee
Administrator
big commti
|
247
248
249
250
251
252
253
254
255
256
257
258
259
|
<span class="star_info">*</span>
</p>
<?php } else {?>
<p>
<span class="strong black">Киев</span>:<br>
— Курьер - 50 грн
<span class="star_info">*</span><br>
— Самовывоз -
<span class="up bold black">бесплатно!</span><br>
— Пункт Новой Почты - 55 грн.
<span class="star_info">*</span>
</p>
<?php }?>
|
7f87d6f9
Yarik
Modals.
|
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
|
<p>
<span class="star_info">* Стоимость расчитана для оформляемого заказа</span>
</p>
<span class="icon"></span>
</div>
</li>
<li class="product_back">
<div class="title">14 дней на обмен</div>
<div class="descr">без лишних вопросов. Почитайте
<span class="ajax_link" data-toggle="modal" data-target="#returnСonditions" onclick="">условия возврата</span>
</div>
<span class="icon"></span>
</li>
<li class="warranty">
<div class="title">12 месяцев гарантии</div>
<div class="descr">официальной от производителя</div>
<span class="icon"></span>
</li>
<li>
<div class="title">Условия доставки люстра
Elstead
: Киев и вся Украина
</div>
<div class="descr">
Лінія світла - электронный магазин, который обеспечит доставку товаров раздела - люстра Элстед жителям городов: Херсон, а так же др. города Украины.
</div>
</li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
|
1da76554
Administrator
big commti
|
295
|
<tr>
|
7f87d6f9
Yarik
Modals.
|
296
|
<td class="price_block">
|
ec2fe6c9
Administrator
big commti
|
297
298
299
300
|
<div class="event_info">
<div class="events">
<?php foreach($product->events as $event):?>
<?php if(!empty($event->banner) && $event->isActive()):?>
|
55ea55f2
Administrator
big commti
|
301
|
<?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?>
|
ec2fe6c9
Administrator
big commti
|
302
303
304
305
|
<?php endif; ?>
<?php endforeach; ?>
</div>
</div>
|
7f87d6f9
Yarik
Modals.
|
306
|
<div class="price_block_container">
|
37415bee
Administrator
big commti
|
307
308
|
|
7f87d6f9
Yarik
Modals.
|
309
|
<div class="price">
|
37415bee
Administrator
big commti
|
310
311
312
313
314
315
|
<?php if($product->variant->price_old){?>
<span class="main">
<span itemprop="price" class="price"><s><?= $product->variant->price_old ?></s></span>
<span class="currency"> грн.</span>
</span>
<?php }?>
|
d09f430f
Administrator
big commti
|
316
317
|
<span class="main">
<span itemprop="price" class="price"><?= $product->variant->price ?></span>
|
e337d04a
Administrator
liniya first commit
|
318
|
<span class="currency"> грн.</span>
|
d09f430f
Administrator
big commti
|
319
|
</span>
|
7f87d6f9
Yarik
Modals.
|
320
321
322
323
|
</div>
<div class="follow_price">
<?php /* Lower price notify
|
e337d04a
Administrator
liniya first commit
|
324
|
<a href="#" onclick="" data-toggle="modal" data-target="#price_drop">Узнать о снижении цены</a>
|
7f87d6f9
Yarik
Modals.
|
325
326
327
328
|
*/ ?>
</div>
<div class="buy_button">
|
aac54f27
Administrator
big commti
|
329
|
<?php if($product->variant->status != 1){?>
|
8e9033a5
Administrator
big commti
|
330
|
<a href="#" class="btn btn-large buy_button" data-toggle="modal" data-id="<?php echo $product->variant->product_variant_id; ?>" data-target="#buyForm" lang="5892">Купить</a>
|
cc0ddab0
Administrator
big commti
|
331
|
<?php }else { ?>
|
fecf1dd4
Виталий
-
|
332
|
<a href="#" style="background-color:dimgrey; background-image:linear-gradient(to bottom, #9d9fa0, #abafb2);cursor:default !important;color:#fff!important;box-shadow: none !important;border-top: 1px solid #256caf !important;border-bottom: 1px solid #256caf !important;" class="btn btn-large btn-default " data-id="<?php echo $product->variant->product_variant_id; ?>" >снят с производства</a>
|
aac54f27
Administrator
big commti
|
333
|
<?php } ?>
|
7f87d6f9
Yarik
Modals.
|
334
335
|
<div class="clearfix"></div>
</div>
|
d16d91c3
Administrator
big commti
|
336
|
|
37415bee
Administrator
big commti
|
337
338
339
340
341
342
343
344
345
|
<div>
<div class="payment_visa">
Оплатить
<a href="/text/oplata" target="_blank">
<span class="visa" ></span>
</a>
</div>
<div class="clearfix"></div>
</div>
|
aac54f27
Administrator
big commti
|
346
|
<?php if($product->variant->status != 1){?>
|
f3f8709d
Administrator
big commti
|
347
348
349
350
351
|
<div class="follow_price">
<a href="#" data-toggle="modal" data-target="#where_buy">где купить?</a>
</div>
<?php } ?>
|
7f87d6f9
Yarik
Modals.
|
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
|
<div class="follow_price">
<?php
/* Find cheaper form
?>
<a href="#" data-toggle="modal" data-target="#found_cheaper">нашли дешевле?</a>
*/
?>
</div>
</div>
<?php
/*
?>
<ul class="wishlike_block ul hidden">
<li class="compare">
<a class="compare compare_href" name="5892" href="javascript:return false;">К сравнению</a>
<span class="icon"></span>
</li>
<li class="like">
<a data-toggle="modal" data-target="#myWishlist" class="like" href="#">В избранное</a>
<span class="icon"></span>
</li>
</ul>
*/
?>
</td>
</tr>
<tr>
<td>
<?php
|
aac54f27
Administrator
big commti
|
384
|
if($product->variant->status != 1) {
|
7f87d6f9
Yarik
Modals.
|
385
|
?>
|
e337d04a
Administrator
liniya first commit
|
386
387
|
<div class="fast_order_form">
<div class="error_text"></div>
|
7f87d6f9
Yarik
Modals.
|
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
|
<?php
$quickbuy = new Orders([
'scenario' => Orders::SCENARIO_QUICK,
]);
$form = ActiveForm::begin([
'id' => 'quickbuy-form',
]);
echo Html::hiddenInput('product_variant_id', $product->variant->product_variant_id);
echo $form->field($quickbuy, 'phone')
->widget(MaskedInput::className(), [
'mask' => '+38(999)999-99-99',
'options' => [
'type' => 'tel',
'class' => 'input phone',
],
])
->label(false);
echo Html::submitInput('Заказать в 1 клик', [ 'class' => 'btn' ]);
$form::end();
?>
|
e337d04a
Administrator
liniya first commit
|
408
409
|
<div class="clearfix"></div>
</div>
|
7f87d6f9
Yarik
Modals.
|
410
411
412
413
414
415
416
417
418
419
420
|
<?php
}
?>
</td>
</tr>
<tr>
<td>
<?php
if(!empty( $product->averageRating )) {
?>
|
e337d04a
Administrator
liniya first commit
|
421
|
<div class="rating">
|
7f87d6f9
Yarik
Modals.
|
422
423
424
425
426
427
428
|
<div class="rateit" data-rateit-value="<?php echo $product->averageRating->value; ?>" data-rateit-ispreset="true" data-rateit-readonly="true"></div>
рейтинг: <span id="product_rate_avg"><?=$product->averageRating->value?></span>
голосов: <span id="product_vote_count">
<?php
echo count($product->comments);
?>
</span>
|
e337d04a
Administrator
liniya first commit
|
429
430
|
<span class="rating_description" id="rating_description"></span>
</div>
|
7f87d6f9
Yarik
Modals.
|
431
432
433
434
435
436
437
438
439
440
441
442
443
|
<?php
}
?>
</td>
<td></td>
</tr>
</tbody>
</table>
<div class="clearfix"></div>
<div class="detail_tabs_content">
|
b905419d
Administrator
big commti
|
444
|
|
7f87d6f9
Yarik
Modals.
|
445
446
|
<div class="clear properties tab_div">
<h2 id="characteristics">
|
219b20e9
Administrator
big commti
|
447
|
Характеристики:
|
7f87d6f9
Yarik
Modals.
|
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
|
</h2>
<!-- Nav tabs -->
<ul class="nav nav-tabs property_show_tabs" role="tablist">
<li role="presentation" class="active">
<a href="#tab1" aria-controls="home" role="tab" data-toggle="tab">
<span>Все характеристики</span>
</a>
</li>
<li role="presentation">
<a href="#tab2" aria-controls="profile" role="tab" data-toggle="tab">
<span style="color:#909090">Описание</span>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="tab1">
<table>
<tbody>
<tr class="full short gray">
<td class="name">ID</td>
<td class="value"><?= $product->variant->sku ?> </td>
</tr>
<tr class="full short">
<td class="name">Бренд</td>
|
5d65011e
Administrator
big commti
|
476
|
<td class="value"><?= !empty($product->brand) ? $product->brand->name : '' ?></td>
|
7f87d6f9
Yarik
Modals.
|
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
|
</tr>
<?php foreach($product->getActiveProperties($category->category_id) as $group): ?>
<tr class="full short gray">
<td class="name"><?= $group->name ?></td>
<td class="value"><?php foreach($group->_options as $option) : ?> <?= $option->ValueRenderHTML ?><?php endforeach ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div role="tabpanel" class="tab-pane" id="tab2">
<div class="block-100">
<?= $product->description ?>
</div>
</div>
</div>
|
e337d04a
Administrator
liniya first commit
|
497
|
<div class="clearfix"></div>
|
10b789ee
Administrator
big commti
|
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
|
<?php /*
<div class="collection">
<br/>
<h2 id="collection">
Коллекция светильников <!--ДЕКОРА-->
</h2>
<div class="catalog_product_list view_table">
<div class="catalog_item">
<div class="wrapper">
<div class="item_container">
<div class="title">
<a href="http://www.linija-svitla.ua/lyustra-elstead-fe-leila3-5893.htm">люстра FE/LEILA3</a>
</div>
<div class="img">
<a href="http://www.linija-svitla.ua/lyustra-elstead-fe-leila3-5893.htm">
<img src="http://www.linija-svitla.ua/gallery/prod/fe_leila3/5893_5.jpg" alt="люстра FE/LEILA3" class="selected">
</a>
<div class="info_icons">
<a href="#" class="btn btnBuy buy_button" data-id="<?php echo $product->variant->product_variant_id; ?>" data-toggle="modal" data-target="#buyForm" lang="5893">Купить светильник</a>
<ul class="ul wishlike_block">
<li class="compare">
<a onclick="add2compare(); return false;" class="compare compare_text_link_5893" lang="5893" href="#">К сравнению</a>
<span class="icon"></span>
</li>
<li class="like">
<a class="like like_text_link_5893" lang="5893" href="#">В избранное</a><span class="icon"></span>
</li>
</ul>
</div>
</div>
<div class="price">
<div class="dlexfduinxipi">
Цена:
<span class="main"> 25794.00 <span class="currency">грн</span>
</span>
</div>
</div>
<div class="additional_info params">
</div>
<div class="opacity_bg"></div>
</div>
</div>
</div>
<div class="catalog_item">
<div class="wrapper">
<div class="item_container">
<div class="title">
<a href="http://www.linija-svitla.ua/elstead-fe-leila1c-6991.htm"> FE/LEILA1C</a>
</div>
<div class="img">
<a href="http://www.linija-svitla.ua/elstead-fe-leila1c-6991.htm">
<img src="http://www.linija-svitla.ua/gallery/prod/fe_leila1c/6991_5.jpg" alt=" FE/LEILA1C" class="selected">
</a>
<div class="info_icons">
<a href="#" class="btn btnBuy buy_button" data-toggle="modal" data-id="<?php echo $product->variant->product_variant_id; ?>" data-target="#buyForm" lang="6991">Купить светильник</a>
<ul class="ul wishlike_block">
<li class="compare">
<a onclick="add2compare(); return false;" class="compare compare_text_link_6991" lang="6991" href="#">К сравнению</a>
<span class="icon"></span>
</li>
<li class="like">
<a class="like like_text_link_6991" lang="6991" href="#">В избранное</a><span class="icon"></span>
</li>
</ul>
</div>
</div>
<div class="price">
<div class="dlexfduinxipi">
Цена:
<span class="main"> 14330.40 <span class="currency">грн</span>
</span>
</div>
</div>
<div class="additional_info params">
</div>
<div class="opacity_bg"></div>
</div>
</div>
</div>
<div class="catalog_item">
<div class="wrapper">
<div class="item_container">
<div class="title">
<a href="http://www.linija-svitla.ua/nastennyy-svetilnik-elstead-fe-leila2-5894.htm">настенный светильник FE/LEILA2</a>
</div>
<div class="img">
<a href="http://www.linija-svitla.ua/nastennyy-svetilnik-elstead-fe-leila2-5894.htm">
<img src="http://www.linija-svitla.ua/gallery/prod/fe_leila2/5894_5.jpg" alt="настенный светильник FE/LEILA2" class="selected">
</a>
<div class="info_icons">
<a href="#" class="btn btnBuy buy_button" data-id="<?php echo $product->variant->product_variant_id; ?>" data-toggle="modal" data-target="#buyForm" lang="5894">Купить светильник</a>
<ul class="ul wishlike_block">
<li class="compare">
<a onclick="add2compare(); return false;" class="compare compare_text_link_5894" lang="5894" href="#">К сравнению</a>
<span class="icon"></span>
</li>
<li class="like">
<a class="like like_text_link_5894" lang="5894" href="#">В избранное</a><span class="icon"></span>
</li>
</ul>
</div>
</div>
<div class="price">
<div class="dlexfduinxipi">
Цена:
<span class="main"> 8598.00 <span class="currency">грн</span>
</span>
</div>
</div>
<div class="additional_info params">
</div>
<div class="opacity_bg"></div>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
*/?>
|
7f87d6f9
Yarik
Modals.
|
624
625
626
|
<div class="clearfix"></div>
<br/>
<h2 id="reviews">
|
10b789ee
Administrator
big commti
|
627
|
Отзывы
|
7f87d6f9
Yarik
Modals.
|
628
629
630
631
632
633
634
635
|
</h2>
<div class="comment-wrapper comments comments_block" style="padding-bottom:25px">
<?php
echo CommentWidget::widget([
'model' => $product,
]);
?>
<div class="both"></div>
|
e337d04a
Administrator
liniya first commit
|
636
|
</div>
|
e337d04a
Administrator
liniya first commit
|
637
|
</div>
|
e337d04a
Administrator
liniya first commit
|
638
|
</div>
|
e337d04a
Administrator
liniya first commit
|
639
|
</div>
|
7f87d6f9
Yarik
Modals.
|
640
|
<!-- EOF Info table -->
|
e337d04a
Administrator
liniya first commit
|
641
|
</div>
|
7f87d6f9
Yarik
Modals.
|
642
643
644
|
</div>
</div>
<div class="clearfix"></div>
|
d16d91c3
Administrator
big commti
|
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
|
<div class="modal fade" id="where_buy" tabindex="-1" role="dialog" aria-labelledby="myModalLabel44">
<div class="modal-dialog text-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
<span class="modal-title" id="myModalLabel4">Где купить?</span>
</div>
<div class="modal-body" style="text-transform:uppercase">
<p>Данный товар есть в наличии в наших розничных магазинах</p>
<br/>
<div class="shopsList">
<ul>
|
c8ee17e4
Administrator
big commti
|
660
661
662
663
|
<?php foreach($product->variant->variantStocks as $stock){
if($stock->quantity > 0 ){?>
<li><?= Html::a($stock->stock->siteName, Url::to (['text/main', 'translit' => 'magaziny', '#'=>$stock->stock->stock_id])) ?></li>
<?php } ?>
|
d16d91c3
Administrator
big commti
|
664
665
666
667
668
669
670
671
672
673
674
|
<?php } ?>
</ul>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
|