In this small tutorial, we show how to add a new filter option in the category section.

We need to modify the file product-sort.tpl and put this code into the select form:

And must like :

With this small code, you have a new filter option to order by newest products. Remember to force compile and clear cache.

Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".