creditmemo_new.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <!--@subject {{trans "Credit memo for your %store_name order" store_name=$store.getFrontendName()}} @-->
  8. <!--@vars {
  9. "var formattedBillingAddress|raw":"Billing Address",
  10. "var comment":"Credit Memo Comment",
  11. "var creditmemo.increment_id":"Credit Memo Id",
  12. "layout handle=\"sales_email_order_creditmemo_items\" creditmemo=$creditmemo order=$order":"Credit Memo Items Grid",
  13. "var this.getUrl($store, 'customer/account/')":"Customer Account URL",
  14. "var order.getCustomerName()":"Customer Name",
  15. "var order.increment_id":"Order Id",
  16. "var payment_html|raw":"Payment Details",
  17. "var formattedShippingAddress|raw":"Shipping Address",
  18. "var order.getShippingDescription()":"Shipping Description",
  19. "var order.shipping_description":"Shipping Description"
  20. } @-->
  21. {{template config_path="design/email/header_template"}}
  22. <table>
  23. <tr class="email-intro">
  24. <td>
  25. <p class="greeting">{{trans "%name," name=$order.getCustomerName()}}</p>
  26. <p>
  27. {{trans "Thank you for your order from %store_name." store_name=$store.getFrontendName()}}
  28. {{trans 'You can check the status of your order by <a href="%account_url">logging into your account</a>.' account_url=$this.getUrl($store,'customer/account/',[_nosid:1]) |raw}}
  29. {{trans 'If you have questions about your order, you can email us at <a href="mailto:%store_email">%store_email</a>' store_email=$store_email |raw}}{{depend store_phone}} {{trans 'or call us at <a href="tel:%store_phone">%store_phone</a>' store_phone=$store_phone |raw}}{{/depend}}.
  30. {{depend store_hours}}
  31. {{trans 'Our hours are <span class="no-link">%store_hours</span>.' store_hours=$store_hours |raw}}
  32. {{/depend}}
  33. </p>
  34. </td>
  35. </tr>
  36. <tr class="email-summary">
  37. <td>
  38. <h1>{{trans "Your Credit Memo #%creditmemo_id for Order #%order_id" creditmemo_id=$creditmemo.increment_id order_id=$order.increment_id}}</h1>
  39. </td>
  40. </tr>
  41. <tr class="email-information">
  42. <td>
  43. {{depend comment}}
  44. <table class="message-info">
  45. <tr>
  46. <td>
  47. {{var comment|escape|nl2br}}
  48. </td>
  49. </tr>
  50. </table>
  51. {{/depend}}
  52. <table class="order-details">
  53. <tr>
  54. <td class="address-details">
  55. <h3>{{trans "Billing Info"}}</h3>
  56. <p>{{var formattedBillingAddress|raw}}</p>
  57. </td>
  58. {{depend order.getIsNotVirtual()}}
  59. <td class="address-details">
  60. <h3>{{trans "Shipping Info"}}</h3>
  61. <p>{{var formattedShippingAddress|raw}}</p>
  62. </td>
  63. {{/depend}}
  64. </tr>
  65. <tr>
  66. <td class="method-info">
  67. <h3>{{trans "Payment Method"}}</h3>
  68. {{var payment_html|raw}}
  69. </td>
  70. {{depend order.getIsNotVirtual()}}
  71. <td class="method-info">
  72. <h3>{{trans "Shipping Method"}}</h3>
  73. <p>{{var order.getShippingDescription()}}</p>
  74. </td>
  75. {{/depend}}
  76. </tr>
  77. </table>
  78. {{layout handle="sales_email_order_creditmemo_items" creditmemo=$creditmemo order=$order}}
  79. </td>
  80. </tr>
  81. </table>
  82. {{template config_path="design/email/footer_template"}}