leonard_margarit Posted July 5, 2015 Share Posted July 5, 2015 On the product category, there is the option of filtering called "Sort by". The drop down list contain, again, "Sort by". I need to delete and set default "Price: Lowest first". Any idea how to do it? Link to comment Share on other sites More sharing options...
PascalVG Posted July 5, 2015 Share Posted July 5, 2015 Not sure if it works for you, as you seem to have a custom theme, but normally you can set the default sort order in Preferences->Products. There you can set the default sort order and Ascending/Descending option in the Pagination preferences block. My 2 cents, pascal Link to comment Share on other sites More sharing options...
leonard_margarit Posted July 6, 2015 Author Share Posted July 6, 2015 Yes, indeed, i have a custom theme. I need to hide "Sort by", not from the result list but from the header (see enclosed). Any change in the code ideas? Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted July 6, 2015 Share Posted July 6, 2015 The code that you need to remove is in the theme file product-sort.tpl. Just search for {l s='Sort by'}. It is most probably surrounded with <label> tags, which should be also removed. 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