diff --git a/plugins/shopping_cart/views/shopping_cart_plugin/mailer/customer_notification.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin/mailer/customer_notification.html.erb
index e462f34..d7d2ace 100644
--- a/plugins/shopping_cart/views/shopping_cart_plugin/mailer/customer_notification.html.erb
+++ b/plugins/shopping_cart/views/shopping_cart_plugin/mailer/customer_notification.html.erb
@@ -15,9 +15,21 @@
- <%= _('Full name') %>: <%= @customer[:name] %>
- <%= _('Phone number') %>: <%= @customer[:contact_phone] %>
- - <%= _('Address') %>: <%= @customer[:address] %>
- <%= @customer[:city]+'-'+@customer[:state]+'-'+@customer[:country] %>
- <%= @customer[:zip_code] %>
+ <% if !@customer[:address].blank? || !@customer[:city].blank? || !@customer[:zip_code].blank? %>
+ - <%= _('Address') %>:
+ <% end %>
+ <% if !@customer[:address].blank? %>
+ <%= @customer[:address] %>
+ <% end %>
+ <% if !@customer[:city].blank? %>
+ <%= @customer[:city] %>
+ <% end %>
+ <% if !@customer[:zip_code].blank? %>
+ <%= @customer[:zip_code] %>
+ <% end %>
+ <% if !@customer[:address].blank? || !@customer[:city].blank? || !@customer[:zip_code].blank? %>
+
+ <% end %>
<%=_('Here are the products you bought:')%>
diff --git a/plugins/shopping_cart/views/shopping_cart_plugin/mailer/supplier_notification.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin/mailer/supplier_notification.html.erb
index 5464470..52ee61a 100644
--- a/plugins/shopping_cart/views/shopping_cart_plugin/mailer/supplier_notification.html.erb
+++ b/plugins/shopping_cart/views/shopping_cart_plugin/mailer/supplier_notification.html.erb
@@ -13,11 +13,22 @@
- <%= _('Full name') %>: <%= @customer[:name] %>
- - <%= _('Email') %>: <%= @customer[:email] %>
- <%= _('Phone number') %>: <%= @customer[:contact_phone] %>
- - <%= _('Address') %>: <%= @customer[:address] %>
- <%= @customer[:city]+'-'+@customer[:state]+'-'+@customer[:country] %>
- <%= @customer[:zip_code] %>
+ <% if !@customer[:address].blank? || !@customer[:city].blank? || !@customer[:zip_code].blank? %>
+ - <%= _('Address') %>:
+ <% end %>
+ <% if !@customer[:address].blank? %>
+ <%= @customer[:address] %>
+ <% end %>
+ <% if !@customer[:city].blank? %>
+ <%= @customer[:city] %>
+ <% end %>
+ <% if !@customer[:zip_code].blank? %>
+ <%= @customer[:zip_code] %>
+ <% end %>
+ <% if !@customer[:address].blank? || !@customer[:city].blank? || !@customer[:zip_code].blank? %>
+
+ <% end %>
<%=_('And here are the items bought by this customer:')%>
diff --git a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
index 7e2f146..d4f5448 100644
--- a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
+++ b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
@@ -10,7 +10,6 @@
--
libgit2 0.21.2