app/views/plugins/ecommerce/admin/orders/index.html.erb in camaleon_ecommerce-1.1 vs app/views/plugins/ecommerce/admin/orders/index.html.erb in camaleon_ecommerce-1.2

- old
+ new

@@ -86,10 +86,16 @@ @orders.each do |order| order = order.decorate %> <tr> <td><%= order.slug %></td> - <td><%= order.user.fullname %></td> + <td> + <% if order.user %> + <%= order.user.fullname %> + <% else %> + <small>(No user)</small> + <% end %> + </td> <td><%= raw order.the_status %></td> <td><%= order.paid? ? 'Yes' : 'No' %></td> <td> <% order.product_items.each do |item| %> <%= item.qty %> x <%= item.cache_the_title %> (<%= item.cache_the_price %>) <br>