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,7 +373,10 @@ | ||
373 | $name = ''; | 373 | $name = ''; |
374 | if (!empty( $this->category->lang->category_synonym )) { | 374 | if (!empty( $this->category->lang->category_synonym )) { |
375 | $name = $name . $this->category->lang->category_synonym . ' '; | 375 | $name = $name . $this->category->lang->category_synonym . ' '; |
376 | + } else { | ||
377 | + $name = $name . $this->category->lang->title . ' '; | ||
376 | } | 378 | } |
379 | + | ||
377 | if (!empty( $this->brand )) { | 380 | if (!empty( $this->brand )) { |
378 | $name = $name . $this->brand->lang->title . ' '; | 381 | $name = $name . $this->brand->lang->title . ' '; |
379 | } | 382 | } |