Mister Denial Posted August 30, 2014 Share Posted August 30, 2014 Hello, when customers use show all on my main categories, this causes 200+ products to load, creating very slow loading pages, sometimes with 60+ seconds timing, even though I am on a powerful VPS. As I know Google uses page speed to rank websites, and those slow "show all" pages really ruin my average page speed, I am considering removing the "show all" option. But how? Should I simply remove some lines from category.tpl ? What would the best way to do that be? Thanks for your help and advice! Dan Link to comment Share on other sites More sharing options...
BA1969 Posted September 11, 2014 Share Posted September 11, 2014 I'm having the same issue and found the solution. You need to open pagination.tpl Around line 65 you'll find this section: <button type="submit" class="btn btn-default button exclusive-medium"> <span>{l s='Show all'}</span> </button> Remove that and the show all button is gone. Now I only need to remove the option to view more then the set number of items on a page. 1 1 Link to comment Share on other sites More sharing options...
Mister Denial Posted September 11, 2014 Author Share Posted September 11, 2014 Hi there, thanks for the suggestion, I did the same thing and apparently it works - I just hope it does not adversely affect the bloacklayered module or anything else. I was not sure of that, hence the question on the forum. :-) Link to comment Share on other sites More sharing options...
Recommended Posts