Commit ffde80b8801fd376b313d78ed0160f99ef953da2
1 parent
150305c0
big commti
Showing
5 changed files
with
10 additions
and
10 deletions
Show diff stats
frontend/views/basket/modal_items.php
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | ?> |
43 | 43 | </td> |
44 | 44 | <td class="right"> |
45 | - <div class="title"><?php echo $model->getFullname(); ?></div> | |
45 | + <div class="title"><?php echo $model->name; ?></div> | |
46 | 46 | <div class="count_choise"> |
47 | 47 | <span class="minus"></span> |
48 | 48 | <input type="text" name="count" value="<?php echo $basket->getItem($model->product_variant_id)[ 'count' ]; ?>" class="prod_count"> | ... | ... |
frontend/views/catalog/_product_item.php
... | ... | @@ -28,8 +28,8 @@ use yii\helpers\Url; |
28 | 28 | |
29 | 29 | ?> |
30 | 30 | <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->enabledVariants[ 0 ]->imageUrl, 'list', [ |
31 | - 'alt' => $model->category->name . ' ' . $model->fullname, | |
32 | - 'title' => $model->category->name . ' ' . $model->fullname, | |
31 | + 'alt' => $model->category->name . ' ' . $model->name, | |
32 | + 'title' => $model->category->name . ' ' . $model->name, | |
33 | 33 | 'class' => 'selected' |
34 | 34 | ]) ?> |
35 | 35 | </a> | ... | ... |
frontend/views/catalog/product.php
... | ... | @@ -14,9 +14,9 @@ use frontend\assets\FlipclockAsset; |
14 | 14 | FlipclockAsset::register($this); |
15 | 15 | |
16 | 16 | $this->params[ 'seo' ][ 'key' ] = $category->name; |
17 | - $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->fullname; | |
18 | - $this->params[ 'seo' ][ 'h1' ] = !empty( Seo::widget([ 'row' => 'h1' ]) ) ? Seo::widget([ 'row' => 'h1' ]) : $product->fullname; | |
19 | - $this->title = $product->fullname; | |
17 | + $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->name; | |
18 | + $this->params[ 'seo' ][ 'h1' ] = !empty( Seo::widget([ 'row' => 'h1' ]) ) ? Seo::widget([ 'row' => 'h1' ]) : $product->name; | |
19 | + $this->title = $product->name; | |
20 | 20 | |
21 | 21 | $this->params[ 'breadcrumbs' ][] = [ |
22 | 22 | 'label' => $category->name, |
... | ... | @@ -25,7 +25,7 @@ FlipclockAsset::register($this); |
25 | 25 | 'category' => $category, |
26 | 26 | ], |
27 | 27 | ]; |
28 | - $this->params[ 'breadcrumbs' ][] = $product->fullname . ' #' . $product->variant->sku; | |
28 | + $this->params[ 'breadcrumbs' ][] = $product->name . ' #' . $product->variant->sku; | |
29 | 29 | ?> |
30 | 30 | |
31 | 31 | <div class="wrapper white item_container"> | ... | ... |
frontend/views/event/_product_item.php
... | ... | @@ -29,8 +29,8 @@ $category = $model->category; |
29 | 29 | |
30 | 30 | ?> |
31 | 31 | <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->variant->imageUrl, 'list', [ |
32 | - 'alt' => $model->category->name . ' ' . $model->fullname, | |
33 | - 'title' => $model->category->name . ' ' . $model->fullname, | |
32 | + 'alt' => $model->category->name . ' ' . $model->name, | |
33 | + 'title' => $model->category->name . ' ' . $model->name, | |
34 | 34 | 'class' => 'selected' |
35 | 35 | ]) ?> |
36 | 36 | </a> | ... | ... |
frontend/views/order/_order_form.php