diff --git a/server/methods/core/orders.js b/server/methods/core/orders.js index 02179fc3..b1a2eb76 100644 --- a/server/methods/core/orders.js +++ b/server/methods/core/orders.js @@ -101,18 +101,31 @@ Meteor.methods({ if (result === 1) { if (packed) { // send notification that item has been packed and would be delivered shortly - // Email notification const options = { to: order.email, from: "isildurandela@gmail.com", subject: "Packed Order", - html: `
Hello,
-Your order of ${order.items.length} item(s) of id ${order._id} has been packed and would be delivered to you shortly.
- -Thanks for shopping with us!
-Isildur Reaction Commerce
- + html: ` + + +Hi,
+Your order of ${order.items.length} item(s) of id: ${order._id} has been packed and would be delivered to you shortly.
+Thank You for shopping with us.
+ + + +© 2017 Reaction Commerce. All rights reserved
+1119 Colorado Ave Ste. 7, Santa Monica, CA 90401
+Hello,
-Your order of ${order.items.length} item(s) of id ${order._id} has been delivered.
- -Thanks for shopping with us!
-Isildur Reaction Commerce
- + html: ` + + +Hi,
+Your order of ${order.items.length} item(s) of id: ${order._id} has been delivered.
+Thank You for shopping with us.
+ + + +© 2017 Reaction Commerce. All rights reserved
+1119 Colorado Ave Ste. 7, Santa Monica, CA 90401
+Hello,
-Your order was canceled. Please find the details below
- -Item Ordered: ${order.items[0].title}
-Reason: ${cancelComment.body}
-Thanks for shopping with us!
-Isildur Reaction Commerce
- + html: ` + + +Hi,
+Your order of + ${order.items.length} item(s) of id: ${order._id} was canceled. Please find the details below
+ +Item Ordered: ${order.items[0].title}
+Reason: ${cancelComment.body}
+Thank You for shopping with us.
+ + + +© 2017 Reaction Commerce. All rights reserved
+1119 Colorado Ave Ste. 7, Santa Monica, CA 90401
+