beyonceuk1 Posted November 20, 2013 Share Posted November 20, 2013 Trying to remove the "Sort by" menu on the category page showing the list of products available. Also trying to remove the "There are # products" section. Tried commenting the product-sort.tpl and pagination.tpl files, and also removing the form sections on those - nothing working. I'm amending the default theme Prestashop 1.5.6.1 Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 Trying to remove the "Sort by" menu on the category page showing the list of products available. Also trying to remove the "There are # products" section. Tried commenting the product-sort.tpl and pagination.tpl files, and also removing the form sections on those - nothing working. I'm amending the default theme Prestashop 1.5.6.1 if you changed .tpl files and you don't see changes in your front office - it mean that your store uses "cached" version of these files. try to clear shop cache and turn on force compilation (temporarily!) Link to comment Share on other sites More sharing options...
beyonceuk1 Posted November 21, 2013 Author Share Posted November 21, 2013 if you changed .tpl files and you don't see changes in your front office - it mean that your store uses "cached" version of these files. try to clear shop cache and turn on force compilation (temporarily!) Thanks! I'm now seeing my changes, but I still can't seem to hide those sections. The product sort section is now blank (no text) but the section bar is still there. The "There are # products" section just won't go away... Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 any url available? i will check it to see what's goin on there Link to comment Share on other sites More sharing options...
beyonceuk1 Posted November 21, 2013 Author Share Posted November 21, 2013 any url available? i will check it to see what's goin on there Just PM'd it to you. Thanks! Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 hello please check category.tpl file there is something like: there is code like: <div class="content_sortPagiBar"> {include file="$tpl_dir./pagination.tpl"} <div class="sortPagiBar clearfix"> {include file="./product-sort.tpl"} {include file="./product-compare.tpl"} {include file="./nbr-product-page.tpl"} </div> </div> this is what you're looking for 1 Link to comment Share on other sites More sharing options...
beyonceuk1 Posted November 22, 2013 Author Share Posted November 22, 2013 hello please check category.tpl file there is something like: there is code like: <div class="content_sortPagiBar"> {include file="$tpl_dir./pagination.tpl"} <div class="sortPagiBar clearfix"> {include file="./product-sort.tpl"} {include file="./product-compare.tpl"} {include file="./nbr-product-page.tpl"} </div> </div> this is what you're looking for It looks like it, but it's not working. I've removed the line {include file="./product-sort.tpl"} but nothing has changed on the page Link to comment Share on other sites More sharing options...
vekia Posted November 24, 2013 Share Posted November 24, 2013 have you removed all available instances of this code? im asking because this code appears there 2 times. and in addition, have you tried to clear smarty cache after that? what theme you use? Link to comment Share on other sites More sharing options...
beyonceuk1 Posted November 25, 2013 Author Share Posted November 25, 2013 Ah - I have it working now! Thanks! Only thing I need to work out now is why there's a large white section at the bottom of the page when I'm in a main category page (before I've selected a sub category). Any ideas there? Link to comment Share on other sites More sharing options...
beyonceuk1 Posted November 25, 2013 Author Share Posted November 25, 2013 Ignore that - seems to have gone now! Link to comment Share on other sites More sharing options...
vekia Posted November 25, 2013 Share Posted November 25, 2013 hello thank you so much for confirmation that it works now glad to hear that it's time to mark this topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now