<% if order.line_items.exists? %> <% order.line_items.each do |item| %> <% end %>
<%= Spree.t(:name) %> <%= Spree.t(:price) %> <%= Spree.t(:quantity) %> <%= Spree.t(:total_price) %>  
<%= mini_image(item.variant) %> <%= item.variant.product.name %>
<%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %>
<%= item.single_money.to_html %> <%= item.quantity %> <%= line_item_shipment_price(item, item.quantity) %> <% if can? :update, item %> <%= link_to '', '#', :class => 'save-line-item fa fa-check no-text with-tip', :data => { 'line-item-id' => item.id, :action => 'save'}, :title => Spree.t('actions.save'), :style => 'display: none' %> <%= link_to '', '#', :class => 'cancel-line-item fa fa-cancel no-text with-tip', :data => {:action => 'cancel'}, :title => Spree.t('actions.cancel'), :style => 'display: none' %> <%= link_to '', '#', :class => 'edit-line-item fa fa-edit no-text with-tip', :data => {:action => 'edit'}, :title => Spree.t('edit') %> <%= link_to '', '#', :class => 'delete-line-item fa fa-trash no-text with-tip', :data => { 'line-item-id' => item.id, :action => 'remove'}, :title => Spree.t('delete') %> <% end %>
<% end %>