Browse Source

Product ID in name

Vova Tkach 5 years ago
parent
commit
56c55a74c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/module_shop.go

+ 1 - 1
modules/module_shop.go

@@ -569,7 +569,7 @@ func (this *Modules) RegisterModule_Shop() *Module {
 							alias := html.EscapeString((*values)[2])
 							parent := ``
 							if (*values)[7] != "" {
-								parent = `<div class="parent">&uarr;<small><a href="/cp/` + wrap.CurrModule + `/modify/` + (*values)[7] + `/">` + html.EscapeString((*values)[8]) + `</a></small></div>`
+								parent = `<div class="parent">&uarr;<small><a href="/cp/` + wrap.CurrModule + `/modify/` + (*values)[7] + `/">` + html.EscapeString((*values)[8]) + ` ` + (*values)[7] + `</a></small></div>`
 							}
 							return `<div>` + name + `</div><div><small>/shop/` + alias + `/</small></div>` + parent
 						},