Permalink
Browse files

Use number_to_currency (required by Spree 1.0.0

  • Loading branch information...
1 parent 487ec43 commit a7e21685eaa8d7b81fa392de196c72eca536821d @schof schof committed with joneslee85 Dec 23, 2011
Showing with 7 additions and 7 deletions.
  1. +7 −7 app/overrides/tweak_product_list_item.rb
@@ -1,10 +1,10 @@
Deface::Override.new(:virtual_path => 'spree/shared/_products',
:name => 'tweak_product_list_item',
:replace => '[data-hook="products_list_item"]',
- :text => %q{<li id="product_<%= product.id %>" data-hook="products_list_item">
- <%= link_to(product, :class => 'info') do %>
- <%= product.name %>
- <span class="price selling"><%= product_price(product) %></span>
- <% end %>
- <%= link_to small_image(product), product %>
- </li>})
+ :text => %q{ <li id="product_<%= product.id %>" data-hook="products_list_item">
+ <%= link_to(product, :class => 'info') do %>
+ <%= product.name %>
+ <span class="price selling"><%= number_to_currency product.price %></span>
+ <% end %>
+ <%= link_to small_image(product), product %>
+ </li> })

0 comments on commit a7e2168

Please sign in to comment.