Commit 219b20e96278643e6a09527d44f38b9e6b80aa02
1 parent
ae213e20
big commti
Showing
1 changed file
with
7 additions
and
3 deletions
Show diff stats
frontend/views/catalog/product.php
... | ... | @@ -42,7 +42,9 @@ FlipclockAsset::register($this); |
42 | 42 | <div class="position"> |
43 | 43 | <div class="img_part_big"> |
44 | 44 | <?php if(!empty( $product->images )) : ?> |
45 | - <div class="fotorama" data-allowfullscreen="true" data-nav="thumbs"> | |
45 | + <div class="fotorama" data-allowfullscreen="true" data-nav="thumbs" | |
46 | + data-width="342" | |
47 | + data-height="350"> | |
46 | 48 | |
47 | 49 | <?php foreach($product->images as $image) : ?> |
48 | 50 | <a href="<?= $image->imageUrl ?>"> |
... | ... | @@ -51,7 +53,9 @@ FlipclockAsset::register($this); |
51 | 53 | <?php endforeach ?> |
52 | 54 | </div> |
53 | 55 | <?php else : ?> |
54 | - <div class="fotorama" data-allowfullscreen="true" data-nav="click"> | |
56 | + <div class="fotorama" data-allowfullscreen="true" data-nav="thumbs" | |
57 | + data-width="342" | |
58 | + data-height="350"> | |
55 | 59 | |
56 | 60 | <a href="<?= $product->imageUrl ?>"> |
57 | 61 | <?= ArtboxImageHelper::getImage($product->imageUrl, 'product_trumb') ?> |
... | ... | @@ -431,7 +435,7 @@ FlipclockAsset::register($this); |
431 | 435 | |
432 | 436 | <div class="clear properties tab_div"> |
433 | 437 | <h2 id="characteristics"> |
434 | - Характеристики <?= $product->name ?> | |
438 | + Характеристики: | |
435 | 439 | </h2> |
436 | 440 | |
437 | 441 | <!-- Nav tabs --> | ... | ... |