Browse Source

commerce order placed -> email to admin: better email content #1959

bach 1 year ago
parent
commit
8ff54a8d14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/sync/commerce_email.commerce_email.order.yml

+ 1 - 1
config/sync/commerce_email.commerce_email.order.yml

@@ -9,7 +9,7 @@ to: info@materio.com
 cc: dev@figureslibres.io
 bcc: ''
 subject: '[Order Placed] [commerce_order:uid:entity:mail]'
-body: "Order Placed\r\n\r\nfrom [commerce_order:uid:entity:mail]\r\n\r\n[commerce_order:order_items:0:entity]\r\n[commerce_order:adjustments:0]\r\n[commerce_order:payment_method:entity]\r\n\r\n[commerce_order:checkout_step:value]\r\n\r\n[commerce_order:state:value]"
+body: "[commerce_order:uid:entity:mail] Placed an order<br/>\r\n<br/>\r\nOrder n° [commerce_order:order_number:value] (<a href=\"[commerce_order:admin-url]\">view order</a>)<br/>\r\nTotal price : [commerce_order:total_price:number][commerce_order:total_price:currency_code]<br/>\r\nOrder Item : [commerce_order:order_items:0:entity]<br/>\r\nPayement method : [commerce_order:payment_gateway:target_id]<br/>\r\n<br/>\r\n<br/>\r\n[commerce_order:billing_profile]"
 conditions: {  }
 conditionOperator: AND
 event: order_placed