Sha256: 95d4da293d9abda46aa1a7ae4a5a8f098fd92df6b6f0b388b1c6bfaa963304f5
Contents?: true
Size: 1.16 KB
Versions: 37
Compression:
Stored size: 1.16 KB
Contents
<% if order.line_items.exists? %> <table class="line-items index" data-hook="line-items"> <thead> <th colspan="2"><%= Spree::LineItem.human_attribute_name(:name) %></th> <th><%= Spree::LineItem.human_attribute_name(:price) %></th> <th><%= Spree::LineItem.human_attribute_name(:quantity) %></th> <th><%= Spree::LineItem.human_attribute_name(:total_price) %></th> </thead> <tbody> <% order.line_items.each do |item| %> <tr class="line-item" id="line-item-<%= item.id %>"> <td class="line-item-image"> <%= mini_image(item.variant) %> </td> <td class="line-item-name"> <%= item.variant.product.name %><br><%= "(" + variant_options(item.variant) + ")" unless item.variant.option_values.empty? %> </td> <td class="line-item-price"> <%= item.single_money.to_html %> </td> <td class="line-item-qty-show"> <%= item.quantity %> </td> <td class="line-item-total"> <%= line_item_shipment_price(item, item.quantity) %> </td> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
37 entries across 37 versions & 2 rubygems