Browse Source

New order notifycation, add link to website

Vova Tkach 5 years ago
parent
commit
3f97c8ddcd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/module_shop_act_order.go

+ 2 - 2
modules/module_shop_act_order.go

@@ -150,8 +150,8 @@ func (this *Modules) RegisterAction_ShopOrder() *Action {
 			if (*wrap.Config).Shop.Orders.NotifyEmail != "" {
 				if err := wrap.SendEmail(
 					(*wrap.Config).Shop.Orders.NotifyEmail,
-					"❤️ New Order ("+wrap.CurrHost+")",
-					"You have new order in shop on host: "+wrap.CurrHost,
+					"❤️ New Order ("+wrap.Host+":"+wrap.Port+")",
+					"You have new order in shop on host: <a href=\"http://"+wrap.Host+":"+wrap.Port+"/\">http://"+wrap.Host+":"+wrap.Port+"/</a>",
 				); err != nil {
 					return err
 				}