starter_app/vendor/plugins/railscart/app/views/cart/index.rhtml in railscart-0.0.3 vs starter_app/vendor/plugins/railscart/app/views/cart/index.rhtml in railscart-0.0.4
- old
+ new
@@ -15,10 +15,10 @@
<th>Total</th>
</tr>
<% for @item in @cart.cart_items %>
<tr class="<%= cycle('even', 'odd') %>">
<td width="100">
- <%=image_tag ('products/' + @item.product.filename, :size => '85x57')%>
+ <%= small_image(@item.product) %>
</td>
<td valign="top">
<%=link_to @item.product.name, :controller => 'store', :action => 'show', :id => @item.product-%>
<%= variation_options @item.variation if @item.variation %><br/>
<%=truncate(@item.product.description, length = 100, truncate_string = "...")-%>
\ No newline at end of file