Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
SD-936 Modify thank you part in email and add some space on the bottom
Krzysztof Kalisz22720bf5ea84
diff --git a/core/app/views/layouts/spree/base_mailer.html.erb b/core/app/views/layouts/spree/base_mailer.html.erbindex 71c9222174..2c702b04fe 100644--- a/core/app/views/layouts/spree/base_mailer.html.erb+++ b/core/app/views/layouts/spree/base_mailer.html.erb@@ -39,6 +39,9 @@</table></td></tr>+ <tr>+ <td height="60px"> </td>+ </tr></table></body></html>diff --git a/core/app/views/spree/order_mailer/cancel_email.html.erb b/core/app/views/spree/order_mailer/cancel_email.html.erbindex f21709f9b4..c082496126 100644--- a/core/app/views/spree/order_mailer/cancel_email.html.erb+++ b/core/app/views/spree/order_mailer/cancel_email.html.erb@@ -1,5 +1,5 @@<h1>- <%= Spree.t('order_mailer.confirm_email.dear_customer', name: name_for(@order)) %>+ <%= Spree.t('order_mailer.cancel_email.dear_customer', name: name_for(@order)) %></h1><p><%= Spree.t('order_mailer.cancel_email.instructions') %>@@ -17,3 +17,8 @@</td></tr></table>+<p>+ <%= Spree.t('order_mailer.cancel_email.thanks') %>+ <br />+ <%= Spree.t('order_mailer.store_team', store_name: current_store.name) %>+</p>diff --git a/core/app/views/spree/order_mailer/cancel_email.text.erb b/core/app/views/spree/order_mailer/cancel_email.text.erbindex 3f0879c379..1fcee1b818 100755--- a/core/app/views/spree/order_mailer/cancel_email.text.erb+++ b/core/app/views/spree/order_mailer/cancel_email.text.erb@@ -34,3 +34,5 @@<% end %>============================================================<%= Spree.t('order_mailer.total') %> <%= @order.display_total %>+<%= Spree.t('order_mailer.cancel_email.thanks') %>+<%= Spree.t('order_mailer.store_team', store_name: current_store.name) %>diff --git a/core/app/views/spree/order_mailer/confirm_email.html.erb b/core/app/views/spree/order_mailer/confirm_email.html.erbindex acbf6227b8..6df7ad074f 100644--- a/core/app/views/spree/order_mailer/confirm_email.html.erb+++ b/core/app/views/spree/order_mailer/confirm_email.html.erb@@ -18,4 +18,6 @@</table><p><%= Spree.t('order_mailer.confirm_email.thanks') %>+ <br />+ <%= Spree.t('order_mailer.store_team', store_name: current_store.name) %></p>diff --git a/core/app/views/spree/order_mailer/confirm_email.text.erb b/core/app/views/spree/order_mailer/confirm_email.text.erbindex b95f893440..6cd6553b0b 100644--- a/core/app/views/spree/order_mailer/confirm_email.text.erb+++ b/core/app/views/spree/order_mailer/confirm_email.text.erb@@ -36,3 +36,4 @@<%= Spree.t('order_mailer.total') %> <%= @order.display_total %><%= Spree.t('order_mailer.confirm_email.thanks') %>+<%= Spree.t('order_mailer.store_team', store_name: current_store.name) %>diff --git a/core/app/views/spree/order_mailer/store_owner_notification_email.html.erb b/core/app/views/spree/order_mailer/store_owner_notification_email.html.erbindex cf7c985f78..dd34972b07 100644--- a/core/app/views/spree/order_mailer/store_owner_notification_email.html.erb+++ b/core/app/views/spree/order_mailer/store_owner_notification_email.html.erb@@ -16,3 +16,8 @@</td></tr></table>+<p>+ <%= Spree.t('order_mailer.store_owner_notification_email.thanks') %>+ <br />+ <%= Spree.t('order_mailer.store_team', store_name: current_store.name) %>+</p>diff --git a/core/app/views/spree/order_mailer/store_owner_notification_email.text.erb b/core/app/views/spree/order_mailer/store_owner_notification_email.text.erbindex ce69f330c0..7e06fd7cb7 100644--- a/core/app/views/spree/order_mailer/store_owner_notification_email.text.erb+++ b/core/app/views/spree/order_mailer/store_owner_notification_email.text.erb@@ -34,3 +34,5 @@<% end %>============================================================<%= Spree.t('order_mailer.total') %> <%= @order.display_total %>+<%= Spree.t('order_mailer.store_owner_notification_email.thanks') %>+<%= Spree.t('order_mailer.store_team', store_name: current_store.name) %>diff --git a/core/app/views/spree/reimbursement_mailer/reimbursement_email.html.erb b/core/app/views/spree/reimbursement_mailer/reimbursement_email.html.erbindex 49f064c394..d80774903f 100644--- a/core/app/views/spree/reimbursement_mailer/reimbursement_email.html.erb+++ b/core/app/views/spree/reimbursement_mailer/reimbursement_email.html.erb@@ -51,4 +51,6 @@<p><%= Spree.t('reimbursement_mailer.reimbursement_email.thanks') %>+ <br />+ <%= Spree.t('reimbursement_mailer.reimbursement_email.store_team', store_name: current_store.name) %></p>diff --git a/core/app/views/spree/reimbursement_mailer/reimbursement_email.text.erb b/core/app/views/spree/reimbursement_mailer/reimbursement_email.text.erbindex 19efd55b39..2e3508a28a 100644--- a/core/app/views/spree/reimbursement_mailer/reimbursement_email.text.erb+++ b/core/app/views/spree/reimbursement_mailer/reimbursement_email.text.erb@@ -20,3 +20,5 @@<%= Spree.t('reimbursement_mailer.reimbursement_email.days_to_send', days: Spree::Config[:expedited_exchanges_days_window]) %><% end %><% end %>+<%= Spree.t('reimbursement_mailer.reimbursement_email.thanks') %>+<%= Spree.t('reimbursement_mailer.reimbursement_email.store_team', store_name: current_store.name) %>diff --git a/core/app/views/spree/shipment_mailer/shipped_email.html.erb b/core/app/views/spree/shipment_mailer/shipped_email.html.erbindex 4b7398cb83..8ec1c53f58 100644--- a/core/app/views/spree/shipment_mailer/shipped_email.html.erb+++ b/core/app/views/spree/shipment_mailer/shipped_email.html.erb@@ -30,5 +30,7 @@</p><% end %><p>- <%= Spree.t('shipment_mailer.shipment_email.thanks') %>+ <%= Spree.t('shipment_mailer.shipped_email.thanks') %>+ <br />+ <%= Spree.t('shipment_mailer.shipped_email.store_team', store_name: current_store.name) %></p>diff --git a/core/app/views/spree/shipment_mailer/shipped_email.text.erb b/core/app/views/spree/shipment_mailer/shipped_email.text.erbindex a8480559ce..c3e765f8d8 100644--- a/core/app/views/spree/shipment_mailer/shipped_email.text.erb+++ b/core/app/views/spree/shipment_mailer/shipped_email.text.erb@@ -14,3 +14,4 @@<%= Spree.t('shipment_mailer.shipped_email.track_link', url: @shipment.tracking_url) if @shipment.tracking_url %><%= Spree.t('shipment_mailer.shipped_email.thanks') %>+<%= Spree.t('shipment_mailer.shipped_email.store_team', store_name: current_store.name) %>diff --git a/core/config/locales/en.yml b/core/config/locales/en.ymlindex 615a187acf..ce8ef81453 100644--- a/core/config/locales/en.yml+++ b/core/config/locales/en.yml@@ -1179,11 +1179,13 @@ en:order_mailer:subtotal: ! 'Subtotal:'total: ! 'Order Total:'+ store_team: '%{store_name} Team'cancel_email:dear_customer: Dear %{name},instructions: Your order has been CANCELED. Please retain this cancellation information for your records.order_summary_canceled: Order %{number} Summary [CANCELED]subject: Cancellation of Order+ thanks: Thank you for your business.confirm_email:dear_customer: Dear %{name},instructions: Please review and retain the following order information for your records.@@ -1195,6 +1197,7 @@ en:instructions: You have received a new order.order_summary: Order %{number} Summarysubject: '%{store_name} received a new order'+ thanks: Thank you for your business.order_not_found: We couldn't find your order. Please try that action again.order_number: Order %{number}order_processed_successfully: Your order has been processed successfully@@ -1456,6 +1459,7 @@ en:return_items_cannot_be_associated_with_multiple_orders: Return items cannot be associated with multiple orders.reimbursement_mailer:reimbursement_email:+ store_team: '%{store_name} Team'days_to_send: ! 'You have %{days} days to send back any items awaiting exchange.'dear_customer: Dear %{name},exchange_summary: Exchange Summary@@ -1518,6 +1522,7 @@ en:shipment_details: "From %{stock_location} via %{shipping_method}"shipment_mailer:shipped_email:+ store_team: '%{store_name} Team'dear_customer: Dear %{name},instructions: Your order %{number} has been shippedshipment_summary: Shipment Summary for order