Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Commit

Permalink
Use number_to_currency (required by Spree 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
schof authored and Trung Lê committed Mar 3, 2012
1 parent 487ec43 commit a7e2168
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 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.