Commit 184e5226172586030c607d71503ec7afaba22f5b

Authored by Alexey Boroda
2 parents 14a26e72 53b71cf4

Merge remote-tracking branch 'origin/master'

Showing 1 changed file with 9 additions and 9 deletions   Show diff stats
frontend/views/catalog/product.php
... ... @@ -19,12 +19,12 @@
19 19 use frontend\assets\FlipclockAsset;
20 20 FlipclockAsset::register($this);
21 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 30 $this->params[ 'breadcrumbs' ][] = [
... ... @@ -39,7 +39,7 @@
39 39 'label' => $product->brand->name,
40 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 44 $this->params['remarketing']['type'] = 'offerdetail';
45 45 $this->params['remarketing']['id'] = $product->variant->product_variant_id;
... ... @@ -71,10 +71,10 @@
71 71 <?php endforeach ?>
72 72 </div>
73 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 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 78 'itemprop' => 'image'
79 79 ]) ?>
80 80 </a>
... ... @@ -285,7 +285,7 @@
285 285 </li>
286 286 <li>
287 287 <div class="title">Условия доставки
288   - <?= $product->name; ?>
  288 + <?= $product->fullname; ?>
289 289 : Киев и вся Украина
290 290 </div>
291 291 <div class="descr">
... ...