Commit 87f6f705972d21c8bb7e24a9e1027468e0456485
Merge remote-tracking branch 'origin/master'
Showing
5 changed files
with
12 additions
and
11 deletions
Show diff stats
common/modules/product/models/Brand.php
... | ... | @@ -27,12 +27,6 @@ class Brand extends \yii\db\ActiveRecord |
27 | 27 | public function behaviors() |
28 | 28 | { |
29 | 29 | return [ |
30 | - 'slug' => [ | |
31 | - 'class' => Slug::className(), | |
32 | - 'in_attribute' => 'name', | |
33 | - 'out_attribute' => 'alias', | |
34 | - 'translit' => true | |
35 | - ], | |
36 | 30 | 'artboxsynonym' => [ |
37 | 31 | 'class' => ArtboxSynonymBehavior::className(), |
38 | 32 | 'keyNameValue' => 'brand_name_id', |
... | ... | @@ -41,7 +35,13 @@ class Brand extends \yii\db\ActiveRecord |
41 | 35 | 'valueFields' => [ // postKey => DBFieldName |
42 | 36 | 'name' => 'value' |
43 | 37 | ] |
44 | - ] | |
38 | + ], | |
39 | + 'slug' => [ | |
40 | + 'class' => Slug::className(), | |
41 | + 'in_attribute' => 'name', | |
42 | + 'out_attribute' => 'alias', | |
43 | + 'translit' => true | |
44 | + ], | |
45 | 45 | ]; |
46 | 46 | } |
47 | 47 | ... | ... |
common/modules/product/models/ProductVariant.php
... | ... | @@ -34,7 +34,7 @@ class ProductVariant extends \yii\db\ActiveRecord |
34 | 34 | public function rules() |
35 | 35 | { |
36 | 36 | return [ |
37 | - [['product_id', 'name', 'sku', 'product_unit_id'], 'required'], | |
37 | + [['product_id', 'sku', 'product_unit_id'], 'required'], | |
38 | 38 | [['product_id', 'product_unit_id'], 'integer'], |
39 | 39 | [['price', 'price_old', 'stock'], 'number'], |
40 | 40 | [['name', 'sku'], 'string', 'max' => 255], | ... | ... |
common/modules/rubrication/models/TaxGroup.php
... | ... | @@ -15,7 +15,7 @@ use Yii; |
15 | 15 | * @property string $module |
16 | 16 | * @property boolean $hierarchical |
17 | 17 | * @property string $settings |
18 | - * @property boolean is_filter | |
18 | + * @property boolean $is_filter | |
19 | 19 | * |
20 | 20 | * @property TaxGroupToGroup[] $taxGroupToGroups |
21 | 21 | * @property TaxGroupToGroup[] $taxGroupToGroups0 |
... | ... | @@ -62,7 +62,7 @@ class TaxGroup extends \yii\db\ActiveRecord |
62 | 62 | return [ |
63 | 63 | [['name', 'module'], 'required'], |
64 | 64 | [['description', 'settings'], 'string'], |
65 | - [['hierarchical'], 'boolean'], | |
65 | + [['hierarchical', 'is_filter'], 'boolean'], | |
66 | 66 | [['alias', 'module'], 'string', 'max' => 50], |
67 | 67 | [['name'], 'string', 'max' => 255], |
68 | 68 | [['group_to_category'], 'safe'] | ... | ... |
frontend/web/css/concat_all.css
frontend/web/css/style.css
... | ... | @@ -549,7 +549,7 @@ padding-left:27px; |
549 | 549 | .novelty_cont .item .pic{ |
550 | 550 | margin-top:24px; |
551 | 551 | } |
552 | -.novelty_cont .title_item{padding:13px;padding-top:0px;color:#6aa033;margin-top:10px;font-size:15px;line-height: 1.2;} | |
552 | +.novelty_cont .title_item{padding:13px;padding-top:0px;color:#6aa033;margin-top:10px;font-size:15px;line-height: 1.2;height: 4em} | |
553 | 553 | .novelty_cont .title_item a{text-decoration:none;color:#6aa033;} |
554 | 554 | .novelty_cont .item .price{ |
555 | 555 | font-size:20px; | ... | ... |