Commit 53b71cf437667559b9e4899e62dcbda36c10be2f
1 parent
01b711c8
Synonyms
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
frontend/views/catalog/product.php
@@ -19,12 +19,12 @@ | @@ -19,12 +19,12 @@ | ||
19 | use frontend\assets\FlipclockAsset; | 19 | use frontend\assets\FlipclockAsset; |
20 | FlipclockAsset::register($this); | 20 | FlipclockAsset::register($this); |
21 | FotoramaAsset::register($this); | 21 | FotoramaAsset::register($this); |
22 | - $this->title = $product->name; | 22 | + $this->title = $product->fullname; |
23 | 23 | ||
24 | 24 | ||
25 | - $this->params[ 'seo' ][ Seo::TITLE ] = $product->name .' купить в Киеве, Украине недорого - Лінія Світла'; | ||
26 | - $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->name; | ||
27 | - $this->params[ 'seo' ][ 'h1' ] = $product->name; | 25 | + $this->params[ 'seo' ][ Seo::TITLE ] = $product->fullname .' купить в Киеве, Украине недорого - Лінія Світла'; |
26 | + $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->fullname; | ||
27 | + $this->params[ 'seo' ][ 'h1' ] = $product->fullname; | ||
28 | 28 | ||
29 | 29 | ||
30 | $this->params[ 'breadcrumbs' ][] = [ | 30 | $this->params[ 'breadcrumbs' ][] = [ |
@@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
39 | 'label' => $product->brand->name, | 39 | 'label' => $product->brand->name, |
40 | 'url' => ['catalog/category', 'category' => $category, 'filters' => ['brands' => [$product->brand->alias]]], | 40 | 'url' => ['catalog/category', 'category' => $category, 'filters' => ['brands' => [$product->brand->alias]]], |
41 | ]; | 41 | ]; |
42 | - $this->params[ 'breadcrumbs' ][] = $product->name . ' #' . $product->variant->sku; | 42 | + $this->params[ 'breadcrumbs' ][] = $product->fullname . ' #' . $product->variant->sku; |
43 | 43 | ||
44 | $this->params['remarketing']['type'] = 'offerdetail'; | 44 | $this->params['remarketing']['type'] = 'offerdetail'; |
45 | $this->params['remarketing']['id'] = $product->variant->product_variant_id; | 45 | $this->params['remarketing']['id'] = $product->variant->product_variant_id; |
@@ -71,10 +71,10 @@ | @@ -71,10 +71,10 @@ | ||
71 | <?php endforeach ?> | 71 | <?php endforeach ?> |
72 | </div> | 72 | </div> |
73 | <?php else : ?> | 73 | <?php else : ?> |
74 | - <a href="<?= $product->imageUrl ?>" data-lightbox="image-1" data-title="<?= $product->name;?>"> | 74 | + <a href="<?= $product->imageUrl ?>" data-lightbox="image-1" data-title="<?= $product->fullname;?>"> |
75 | <?= ArtboxImageHelper::getImage($product->imageUrl, 'product_show',[ | 75 | <?= ArtboxImageHelper::getImage($product->imageUrl, 'product_show',[ |
76 | - 'alt'=>$product->name." фото 1" , | ||
77 | - 'title' => $product->name." фото 1", | 76 | + 'alt'=>$product->fullname." фото 1" , |
77 | + 'title' => $product->fullname." фото 1", | ||
78 | 'itemprop' => 'image' | 78 | 'itemprop' => 'image' |
79 | ]) ?> | 79 | ]) ?> |
80 | </a> | 80 | </a> |
@@ -285,7 +285,7 @@ | @@ -285,7 +285,7 @@ | ||
285 | </li> | 285 | </li> |
286 | <li> | 286 | <li> |
287 | <div class="title">Условия доставки | 287 | <div class="title">Условия доставки |
288 | - <?= $product->name; ?> | 288 | + <?= $product->fullname; ?> |
289 | : Киев и вся Украина | 289 | : Киев и вся Украина |
290 | </div> | 290 | </div> |
291 | <div class="descr"> | 291 | <div class="descr"> |