diff --git a/models/Product.php b/models/Product.php index 6fdcffe..5dc7248 100755 --- a/models/Product.php +++ b/models/Product.php @@ -373,7 +373,10 @@ $name = ''; if (!empty( $this->category->lang->category_synonym )) { $name = $name . $this->category->lang->category_synonym . ' '; + } else { + $name = $name . $this->category->lang->title . ' '; } + if (!empty( $this->brand )) { $name = $name . $this->brand->lang->title . ' '; } -- libgit2 0.21.4