diff --git a/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface new file mode 100644 index 0000000000..f63276ec91 --- /dev/null +++ b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/local.html.haml.deface @@ -0,0 +1,3 @@ +/ replace_contents '#products-local' +%h5= "Products at #{current_distributor.name}" += render 'spree/shared/products', :products => @products_local, :taxon => @taxon diff --git a/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface new file mode 100644 index 0000000000..fa27ef4f1a --- /dev/null +++ b/lib/chili/local_organics_feature/app/overrides/spree/shared/_products_by_distributor/remote.html.haml.deface @@ -0,0 +1,3 @@ +/ replace_contents '#products-remote' +%h5 Products found elsewhere += render 'spree/shared/products', :products => @products_remote, :taxon => @taxon