Commit 8ae9fbf466971810c064b9ea88d400eca67c45eb
1 parent
eedd51ef
add variantSku
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
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 | } | ... | ... |