Commit b186d3bf8daa1710fa4a518a9fea98f958050947
Merge remote-tracking branch 'origin/master'
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
models/OrderPayment.php
... | ... | @@ -3,9 +3,7 @@ |
3 | 3 | namespace artweb\artbox\ecommerce\models; |
4 | 4 | |
5 | 5 | use artweb\artbox\language\behaviors\LanguageBehavior; |
6 | -use Yii; | |
7 | 6 | use yii\db\ActiveQuery; |
8 | -use yii\db\ActiveRecord; | |
9 | 7 | use yii\web\Request; |
10 | 8 | /** |
11 | 9 | * This is the model class for table "order_payment". | ... | ... |
models/Product.php
... | ... | @@ -373,7 +373,10 @@ |
373 | 373 | $name = ''; |
374 | 374 | if (!empty( $this->category->lang->category_synonym )) { |
375 | 375 | $name = $name . $this->category->lang->category_synonym . ' '; |
376 | + } else { | |
377 | + $name = $name . $this->category->lang->title . ' '; | |
376 | 378 | } |
379 | + | |
377 | 380 | if (!empty( $this->brand )) { |
378 | 381 | $name = $name . $this->brand->lang->title . ' '; |
379 | 382 | } | ... | ... |
models/ProductFrontendSearch.php