From b5a95e73dc45be263ad3d65f8b5a4b0cdb5cbf94 Mon Sep 17 00:00:00 2001 From: Rob H Date: Fri, 7 Dec 2012 12:29:44 +1100 Subject: [PATCH] Only show alternative distributors on 'address' page of checkout process --- .../spree/checkout/_other_available_distributors.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/spree/checkout/_other_available_distributors.html.erb b/app/views/spree/checkout/_other_available_distributors.html.erb index 51ed8bce0e..026b320b90 100644 --- a/app/views/spree/checkout/_other_available_distributors.html.erb +++ b/app/views/spree/checkout/_other_available_distributors.html.erb @@ -1,3 +1,4 @@ +<% unless @order.state != 'address' %>
<% other_available_distributors = @order.available_distributors @@ -13,4 +14,5 @@ <% else %> No alternative distributors available. <% end %> -
\ No newline at end of file + +<% end %> \ No newline at end of file