Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

stop repeating products on taxon pages

Fixes #12
  • Loading branch information...
commit b093173e8ffe7ad12ae1c42d80dffa4a640afa3c 1 parent ad0dbde
weston platter westonplatter authored radar committed
Showing with 1 addition and 4 deletions.
  1. +1 −4 app/overrides/spree/taxons/replace_taxon_children.rb
5 app/overrides/spree/taxons/replace_taxon_children.rb
View
@@ -1,6 +1,3 @@
Deface::Override.new(:virtual_path => %q{spree/taxons/show},
:name => %q{replace_taxon_children},
- :replace => %q{[data-hook='taxon_children']},
- :text => %q{<div data-hook="taxon_products">
- <%= render :partial => "spree/shared/products", :locals => {:products => @products, :taxon => @taxon } %>
- </div>})
+ :remove => %q{[data-hook='taxon_children']})
Please sign in to comment.
Something went wrong with that request. Please try again.