title = $model->lang->title; $this->params[ 'breadcrumbs' ][] = [ 'label' => Yii::t('catalog', 'Products'), 'url' => [ '/product/index', ], ]; $this->params[ 'breadcrumbs' ][] = [ 'label' => $model->product->lang->title, 'url' => [ '/product/view', 'id' => $model->product_id, ], ]; $this->params[ 'breadcrumbs' ][] = [ 'label' => Yii::t('catalog', 'Variants'), 'url' => [ 'index', 'product_id' => $model->product_id, ], ]; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
Html::encode($this->title), ] ); ?>

$model->id, ], [ 'class' => 'btn btn-primary' ] ) ?> $model->id, ], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('catalog', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ] ) ?>

$model, 'attributes' => [ 'id', 'lang.title', 'sku', [ 'attribute' => 'lang.alias.value', 'label' => \Yii::t('catalog', 'Alias'), ], 'product.lang.title', 'price', 'price_old', 'stock', 'lang.description:html', 'sort', 'status:boolean', 'created_at:datetime', 'updated_at:datetime', ], ] ) ?>