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

Commit

Permalink
removing deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekOnCoffee committed May 4, 2012
1 parent b0c5f81 commit e43601b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions app/overrides/replace_cart_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand All @@ -32,8 +31,6 @@
</dl>
<hr />
<% end %>
<hr />
Expand Down
4 changes: 0 additions & 4 deletions app/overrides/replace_product_show.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -74,9 +73,6 @@
</div>
<% end%>
<% end %>
<p><button type="submit">Add to cart</button></p>
<% end %>
</div>
Expand Down

0 comments on commit e43601b

Please sign in to comment.