Browse Source

Remove `copy` word from alias of duplicated product

Vova Tkach 5 years ago
parent
commit
1ebaee0349
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/module_shop_act_duplicate.go

+ 1 - 1
modules/module_shop_act_duplicate.go

@@ -53,7 +53,7 @@ func (this *Modules) RegisterAction_ShopDuplicate() *Action {
 					currency,
 					currency,
 					price,
 					price,
 					CONCAT(name, ' (Copy)'),
 					CONCAT(name, ' (Copy)'),
-					CONCAT(alias, '-', 'copy-`+utils.Int64ToStr(time.Now().Unix())+`'),
+					CONCAT(alias, '-', '`+utils.Int64ToStr(time.Now().Unix())+`'),
 					vendor,
 					vendor,
 					quantity,
 					quantity,
 					category,
 					category,