Rhobur Posted February 28, 2011 Share Posted February 28, 2011 I'd like to get rid of the sort dropdown box which appear on top of each category products listing, it cannot be used anyway since my primary products are on demand only. How can I do that ? Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 You need to change the theme file /themes/yoursitetheme/category.tpl file.You need to comment out one line. See belowBefore change {if $products} {include file=$tpl_dir./product-sort.tpl} {include file=$tpl_dir./product-list.tpl products=$products} {include file=$tpl_dir./pagination.tpl} After change {if $products} {*include file=$tpl_dir./product-sort.tpl*} {include file=$tpl_dir./product-list.tpl products=$products} {include file=$tpl_dir./pagination.tpl} Link to comment Share on other sites More sharing options...
Rhobur Posted February 28, 2011 Author Share Posted February 28, 2011 Thanks for replying, did that but dropdown is still there; anything I can do ? Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 I tried that on my site and it works fine. http://expresscheckout.dyndns.org:8080/shop1360/category.php?id_category=3then try to remove the line embraced with {* *}.Make sure you are changed the right file under the theme folder you are using. Link to comment Share on other sites More sharing options...
Rhobur Posted February 28, 2011 Author Share Posted February 28, 2011 I don't understand, deleted the line completely from theme/category.tpl, cleared the cache and still no luck; I see that at your site the solutionworked but at mine nothing, this is an example Caprice-Shop Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 it seems that you are using 3rd party customized theme, I am not sure how the code is changed and arranged.If you could send me the catergory.tpl file or upload it to this thread as attachment, I can take a look. Link to comment Share on other sites More sharing options...
Burhan BVK Posted February 28, 2011 Share Posted February 28, 2011 You probably have the smarty cache enabled. Turn it off, browse the category page and then you can turn it on again. Link to comment Share on other sites More sharing options...
Rhobur Posted March 1, 2011 Author Share Posted March 1, 2011 Thank you shokinro and whitelighter, you were right, the smarty cache was emptied but after I've deleted the content of smarty/compile the dropdown dissapeared; it seems that everyday i have something to learn from. Thanks again guys for your time and especially shokinro for the initial solution ! 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