<%= Spree.t(:item) %> | <%= Spree.t(:price) %> | <%= Spree.t(:qty) %> | <%= Spree.t(:total) %> | |
---|---|---|---|---|
<% if item.variant.images.length == 0 %> <%= link_to small_image(item.variant.product), item.variant.product %> <% else %> <%= link_to image_tag(main_app.url_for(item.variant.images.first.url(:small))), item.variant.product %> <% end %> |
<%= item.name %><%= truncate(item.description, length: 100) %> <%= "(" + item.variant.options_text + ")" unless item.variant.option_values.empty? %> |
<%= item.single_money.to_html %> | <%= item.quantity %> | <%= item.display_amount.to_html %> |
<%= Spree.t(:order_total) %>: | <%= order.display_total.to_html %> | |||
<%= Spree.t(:subtotal) %>: | <%= order.display_item_total.to_html %> | |||
<%= Spree.t(:promotion) %>: <%= label %> | <%= Spree::Money.new( adjustments.sum(&:amount), currency: order.currency ) %> | |||
<%= Spree.t(:shipping) %>: <%= name %> | <%= Spree::Money.new( shipments.sum(&:discounted_cost), currency: order.currency ).to_html %> | |||
<%= Spree.t(:tax) %>: <%= label %> | <%= Spree::Money.new( adjustments.sum(&:amount), currency: order.currency ) %> | |||
<%= adjustment.label %> | <%= adjustment.display_amount.to_html %> |