diff --git a/frontend/views/basket/modal_items.php b/frontend/views/basket/modal_items.php index 4749bd0..a13cbd1 100755 --- a/frontend/views/basket/modal_items.php +++ b/frontend/views/basket/modal_items.php @@ -42,7 +42,7 @@ ?> -
getFullname(); ?>
+
name; ?>
diff --git a/frontend/views/catalog/_product_item.php b/frontend/views/catalog/_product_item.php index f8036da..87d122a 100755 --- a/frontend/views/catalog/_product_item.php +++ b/frontend/views/catalog/_product_item.php @@ -28,8 +28,8 @@ use yii\helpers\Url; ?> enabledVariants[ 0 ]->imageUrl, 'list', [ - 'alt' => $model->category->name . ' ' . $model->fullname, - 'title' => $model->category->name . ' ' . $model->fullname, + 'alt' => $model->category->name . ' ' . $model->name, + 'title' => $model->category->name . ' ' . $model->name, 'class' => 'selected' ]) ?> diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 2a7cac3..3f90d1b 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -14,9 +14,9 @@ use frontend\assets\FlipclockAsset; FlipclockAsset::register($this); $this->params[ 'seo' ][ 'key' ] = $category->name; - $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->fullname; - $this->params[ 'seo' ][ 'h1' ] = !empty( Seo::widget([ 'row' => 'h1' ]) ) ? Seo::widget([ 'row' => 'h1' ]) : $product->fullname; - $this->title = $product->fullname; + $this->params[ 'seo' ][ 'fields' ][ 'name' ] = $product->name; + $this->params[ 'seo' ][ 'h1' ] = !empty( Seo::widget([ 'row' => 'h1' ]) ) ? Seo::widget([ 'row' => 'h1' ]) : $product->name; + $this->title = $product->name; $this->params[ 'breadcrumbs' ][] = [ 'label' => $category->name, @@ -25,7 +25,7 @@ FlipclockAsset::register($this); 'category' => $category, ], ]; - $this->params[ 'breadcrumbs' ][] = $product->fullname . ' #' . $product->variant->sku; + $this->params[ 'breadcrumbs' ][] = $product->name . ' #' . $product->variant->sku; ?>
diff --git a/frontend/views/event/_product_item.php b/frontend/views/event/_product_item.php index 2d3c0d6..1949881 100755 --- a/frontend/views/event/_product_item.php +++ b/frontend/views/event/_product_item.php @@ -29,8 +29,8 @@ $category = $model->category; ?> variant->imageUrl, 'list', [ - 'alt' => $model->category->name . ' ' . $model->fullname, - 'title' => $model->category->name . ' ' . $model->fullname, + 'alt' => $model->category->name . ' ' . $model->name, + 'title' => $model->category->name . ' ' . $model->name, 'class' => 'selected' ]) ?> diff --git a/frontend/views/order/_order_form.php b/frontend/views/order/_order_form.php index 8c1904c..b9a1be1 100755 --- a/frontend/views/order/_order_form.php +++ b/frontend/views/order/_order_form.php @@ -62,7 +62,7 @@ use yii\widgets\ActiveForm; 'catalog/product', 'product' => $model->product->alias ]) ?>"> - getFullname() ?> + name ?> -- libgit2 0.21.4