Jump to content
asterisco

Prestashop 1.7 - Search results sort criteria

Recommended Posts

Hello,

Do you know if there is a way to push the products that don't have stock to the bottom of the search results, as it's allowed in the faceted search?

If there is no way, do you know the part of the code that does the search, so I can overwrite it with my own algorithm?

Thanks

Share this post


Link to post
Share on other sites

Unfortunately not in 1.7.x.x which is a mystery to me. Maybe it will return in a future version. You can still select it in the BO but it has no impact. To achieve this you will have to modify the script or search for a module that does that.

Share this post


Link to post
Share on other sites

Hi

Thanks for your answer. It's very frustrating when you notice that Prestashop leaves some escential features out in order to force you to buy modules.

Anyway, do you wich part of the code does the search sort so I can overwrite it?

Thanks

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More