Sha256: 61d03f5c1239ffdce1bac221e0fcd422abd822b0e737f776a9f6be5407aba133

Contents?: true

Size: 736 Bytes

Versions: 4

Compression:

Stored size: 736 Bytes

Contents

<% ship_form.object.line_item_manifest.each do |item| %>
  <tr class="stock-item">
    <td class="item-image"><%= render 'spree/shared/image',
                      image: (item.variant.gallery.images.first || item.variant.product.gallery.images.first),
                      size: :mini %></td>
    <td class="item-name">
      <%= item.variant.name %>
      <%= render 'spree/orders/cart_description', variant: item.variant, line_item: item.line_item %>
    </td>
    <td class="item-qty">
      <% if item.line_item.product.assembly? %>
        <%= item.line_item.quantity %>
      <% else %>
        <%= item.quantity %>
      <% end %>
    </td>
    <td class="item-price"><%= item.line_item.single_money %></td>
  </tr>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_product_assembly-1.4.0 app/views/spree/checkout/_line_item_manifest.html.erb
solidus_product_assembly-1.3.0 app/views/spree/checkout/_line_item_manifest.html.erb
solidus_product_assembly-1.2.0 app/views/spree/checkout/_line_item_manifest.html.erb
solidus_product_assembly-1.1.0 app/views/spree/checkout/_line_item_manifest.html.erb