app/views/store/show.rhtml in spree-0.0.9 vs app/views/store/show.rhtml in spree-0.2.0

- old
+ new

@@ -16,12 +16,11 @@ <tr> <td class="product-description"><%= @product.description %></td> </tr> <tr> <td> - <span class="product-price">Price: </span> - <%= @product.price %> + <%="<span class='product-price'>Price: </span> #{product_price(@product)}" if product_price(@product) %> </td> </tr> <% form_for :product, :url => {:controller => :cart, :action => :add} do |f| %> <% if @product.variants? %> <tr> @@ -34,9 +33,12 @@ <% @product.variants.each do |v| %> <% next if v.option_values.empty? %> <li> <input type="radio" name="id" value="<%= v.id %>" <%= @product.variants.first == v ? 'checked' : '' %>/> <%= variant_options v%> + <% if variant_price_diff v %> + <span class="price-diff"><%= variant_price_diff v %></span> + <% end %> </li> <% end%> </ul> </div> </td>