Sha256: a257d438acf0b240bd425b1a13222a946c51b1e26fd434364bdcaca66fe5f50d

Contents?: true

Size: 736 Bytes

Versions: 6

Compression:

Stored size: 736 Bytes

Contents

<tr class="<%= cycle('', 'alt') %>">
  <td>
    <% if variant.images.length == 0 %>
      <%= small_image(variant.product) %>
    <% else %>
      <%=  image_tag variant.images.first.attachment.url(:small)   %>
    <% end %>
  </td>
  <td>              
    <h4><%= link_to variant.product.name,  product_path(variant.product) %></h4>
    <%= variant_options variant %>
    <%= truncate(variant.product.description, :length => 100, :omission => "...") %>
  </td>
  <td>
    <%= product_price(line_item) %>
  </td>
  <td>
    <%= item_form.text_field :quantity, :size => 3 %>
  </td>
  <td>
    <%= format_price(product_price(line_item, :format_as_currency => false) * line_item.quantity) unless line_item.quantity.nil? %>
  </td>
</tr>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/orders/_line_item.html.erb
spree-0.9.4 app/views/orders/_line_item.html.erb
spree-0.9.3 app/views/orders/_line_item.html.erb
spree-0.9.2 app/views/orders/_line_item.html.erb
spree-0.9.1 app/views/orders/_line_item.html.erb
spree-0.9.0 app/views/orders/_line_item.html.erb