From 8ae9fbf466971810c064b9ea88d400eca67c45eb Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 28 Nov 2016 16:32:40 +0200 Subject: [PATCH] add variantSku --- models/Product.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) 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