From 4fe3f60009cac7d86b656288cf845e3c5e3c52aa Mon Sep 17 00:00:00 2001 From: wandji20 Date: Tue, 9 Jul 2024 19:48:23 +0100 Subject: [PATCH] Use public contact email at the bottom of order confirmation email [OFN-12509] --- app/views/spree/order_mailer/_signoff.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/order_mailer/_signoff.html.haml b/app/views/spree/order_mailer/_signoff.html.haml index 7a6af4c8f0..5dc30ff83f 100644 --- a/app/views/spree/order_mailer/_signoff.html.haml +++ b/app/views/spree/order_mailer/_signoff.html.haml @@ -10,7 +10,7 @@ = @order.distributor.phone || "" %br %a{:href => "mailto:#{@order.distributor.contact.email}", :target => "_blank"} - = @order.distributor.contact.email + = @order.distributor.email_address.presence || @order.distributor.contact.email %br = @order.distributor.website || "" %br