Permalink
Browse files

removing deprecated method

  • Loading branch information...
1 parent b0c5f81 commit e43601bd3c4d62fc4e45b6662b521a7fbd0342f0 @GeekOnCoffee GeekOnCoffee committed May 4, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −3 app/overrides/replace_cart_form.rb
  2. +0 −4 app/overrides/replace_product_show.rb
@@ -5,7 +5,6 @@
:text => %q{<div id="cart-form" data-hook="cart_form">
<%= form_for :order, :url => populate_orders_url do |f| %>
- <% if product_price(@product) %>
<%= hidden_field_tag (@product.has_variants? ? :quantity : "variants[#{@product.master.id}]"), 1, :class => "title", :size => 3 %>
<dl class="part-numbers clearfix">
@@ -32,8 +31,6 @@
</dl>
<hr />
- <% end %>
-
<hr />
@@ -24,7 +24,6 @@
<div id="cart-form" data-hook="cart_form">
<%= form_for :order, :url => populate_orders_url do |f| %>
<div data-hook="inside_product_cart_form" %>
- <% if product_price(@product) %>
<%= hidden_field_tag (@product.has_variants? ? :quantity : "variants[#{@product.master.id}]"), 1, :class => "title", :size => 3 %>
<dl class="part-numbers clearfix">
@@ -74,9 +73,6 @@
</div>
<% end%>
-
- <% end %>
-
<p><button type="submit">Add to cart</button></p>
<% end %>
</div>

0 comments on commit e43601b

Please sign in to comment.