Sha256: 48274ae09a3585d9c81132306aa29676b9134a9416de831e68e45565a9c14d99

Contents?: true

Size: 718 Bytes

Versions: 4

Compression:

Stored size: 718 Bytes

Contents

<% variant = line_item.variant %>
<tr class="<%= cycle('even', 'odd') %>">
  <td width="100">
    <%= small_image(line_item.variant.product) %>
  </td>
  <td valign="top">              
    <%= link_to variant.product.name,  product_path(variant.product) %>
    <%= variant_options variant %><br/>
    <%= truncate(variant.product.description, length = 100, truncate_string = "...") %>
  </td>
  <td valign="top" width="75">
		<%= product_price(variant) %>
	</td>
  <td valign="top" width="50">
		<%= f.text_field :quantity, :size => 3 %>
	</td>
  <td valign="top" width="75">
		<%= format_price(product_price(variant, :format_as_currency => false) * line_item.quantity) unless line_item.quantity.nil? %>
	</td>
</tr>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.0 app/views/orders/_line_item.html.erb
spree-0.4.1 app/views/orders/_line_item.html.erb
spree-0.5.0 app/views/orders/_line_item.html.erb
spree-0.5.1 app/views/orders/_line_item.html.erb