From 713742f0169b1d97f2d42889daa59037d342f22c Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Fri, 8 Nov 2013 17:16:45 +1100 Subject: [PATCH] Adding back in an important ID --- app/views/spree/shared/_products.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spree/shared/_products.html.haml b/app/views/spree/shared/_products.html.haml index 9b1e421009..bdb8b87600 100644 --- a/app/views/spree/shared/_products.html.haml +++ b/app/views/spree/shared/_products.html.haml @@ -7,7 +7,7 @@ %h6.search-results-title= t(:search_results, :keywords => h(params[:keywords])) - if products.any? - %ul.inline.product-listing{"data-hook" => ""} + %ul#products.inline.product-listing{"data-hook" => ""} - reset_cycle('default') - products.each do |product| - if Spree::Config[:show_zero_stock_products] || product.has_stock?