Jump to content

Recommended Posts

Hi,

Im trying to show the products on the categories pagination with a random order.

 

I found this interesting post:

But it has a module override as me.

It has a lot of queries and i dont find the place to change the "order by rand()"

The module its on the actionProductListOverride, and its blocklayered.php

I dont look so safe to attache a file, so i paste a git link if someone can help me to find where i can change to show my products with random order.

https://gist.github.com/anonymous/d09d8af50de07aee6acebbf83ef006ea

 

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