Sha256: 87b33baddef90a1eec41c8bde523326726ed39226e178dc8de8ec62d5d944b88

Contents?: true

Size: 1.3 KB

Versions: 19

Compression:

Stored size: 1.3 KB

Contents

<tr class="<%= cycle('', 'alt') %>">
  <td>
    <%- locals = {:item_form => item_form, :variant => variant, :line_item => line_item} %>
    <%= hook :cart_item_image, locals do %>
      <% if variant.images.length == 0 %>
        <%= small_image(variant.product) %>
      <% else %>
        <%=  image_tag variant.images.first.attachment.url(:small)   %>
      <% end %>
    <% end %>
  </td>
  <td>
    <%= hook :cart_item_description, locals do %>
      <h4><%= link_to variant.product.name,  product_path(variant.product) %></h4>
      <%= variant_options variant %>
      <%= truncate(variant.product.description, :length => 100, :omission => "...") %>
    <% end %>
  </td>
  <td>
    <%= hook :cart_item_price, locals do %>
      <%=  product_price(line_item) %>
    <% end %>
  </td>
  <td>
    <%= hook :cart_item_quantity, locals do %>
      <%= item_form.text_field :quantity, :size => 3, :class => "line_item_quantity" %>
    <% end %>
  </td>

  <td>
    <%= hook :cart_item_total, locals do %>
      <%= format_price(product_price(line_item, :format_as_currency => false) * line_item.quantity) unless line_item.quantity.nil? %>
    <% end %>
  </td>
  <td>
    <%= hook :cart_item_delete, locals do %>
      <%= link_to(image_tag('/images/admin/icons/delete.png'), '#', :class => 'delete') %>
    <% end %>
  </td>

</tr>

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/orders/_line_item.html.erb
My-Commerce_core-1.1.0 app/views/orders/_line_item.html.erb
My-Commerce_core-1.0.0 app/views/orders/_line_item.html.erb
MyCommerceapi-1.0.0 core/app/views/orders/_line_item.html.erb
MyCommerce-0.0.3 core/app/views/orders/_line_item.html.erb
rfcommerce_core-0.0.3 app/views/orders/_line_item.html.erb
spree_core-0.60.6 app/views/orders/_line_item.html.erb
spree_core-0.60.5 app/views/orders/_line_item.html.erb
spree_core-0.50.4 app/views/orders/_line_item.html.erb
spree_core-0.60.4 app/views/orders/_line_item.html.erb
spree_core-0.50.3 app/views/orders/_line_item.html.erb
spree_core-0.60.3 app/views/orders/_line_item.html.erb
spree_core-0.60.2 app/views/orders/_line_item.html.erb
spree_core-0.60.1 app/views/orders/_line_item.html.erb
spree_core-0.60.0 app/views/orders/_line_item.html.erb
spree_core-0.60.0.RC1 app/views/orders/_line_item.html.erb
spree_core-0.50.2 app/views/orders/_line_item.html.erb
spree_core-0.50.1 app/views/orders/_line_item.html.erb
spree_core-0.50.0 app/views/orders/_line_item.html.erb