diff --git a/common/modules/product/views/manage/_form.php b/common/modules/product/views/manage/_form.php
index 8ba47c5..fe71e38 100644
--- a/common/modules/product/views/manage/_form.php
+++ b/common/modules/product/views/manage/_form.php
@@ -90,6 +90,7 @@ use unclead\widgets\MultipleInputColumn;
]);
?>
+
all() as $group) :?>
= $form->field($model, 'options')->checkboxList(
ArrayHelper::map($group->options, 'tax_option_id', 'ValueRenderFlash'),
@@ -99,6 +100,7 @@ use unclead\widgets\MultipleInputColumn;
]
)->label($group->name);?>
+
= Html::submitButton($model->isNewRecord ? Yii::t('product', 'Create') : Yii::t('product', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
diff --git a/frontend/controllers/CatalogController.php b/frontend/controllers/CatalogController.php
index 4d60cb5..46ee77e 100644
--- a/frontend/controllers/CatalogController.php
+++ b/frontend/controllers/CatalogController.php
@@ -70,7 +70,6 @@ class CatalogController extends \yii\web\Controller
$brands_count = $brandsQuery->count();
$optionsQuery = TaxOption::find()
-// ->select([TaxOption::tableName() .'.tax_option_id', TaxOption::tableName() .'.alias'])
->innerJoin(ProductOption::tableName(), ProductOption::tableName() .'.option_id='. TaxOption::tableName() .'.tax_option_id')
->innerJoin(ProductCategory::tableName(), ProductCategory::tableName() .'.product_id='. ProductOption::tableName() .'.product_id')
->where([
--
libgit2 0.21.4