Browse Source

Attach product button/link

Vova Tkach 5 years ago
parent
commit
2f9822127e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/module_shop.go

+ 1 - 0
modules/module_shop.go

@@ -957,6 +957,7 @@ func (this *Modules) RegisterModule_Shop() *Module {
 								`<div class="col-md-9">` +
 								`<div class="list-wrapper">` +
 								this.shop_GetSubProducts(wrap, data.A_id) +
+								`<div><a href="javascript:fave.ShopAttachProduct(` + utils.IntToStr(data.A_id) + `);"><b>Attach product</b></a></div>` +
 								`</div>` +
 								`</div>` +
 								`</div>` +