Jump to content

Modify ps_specials.php for random option

Hyrion Hyrius

Recommended Posts

Hello, i would to modify these page to get the products on the home page the products displayed randomly in the form, I found this line of code (around 280)


(int)Context::getContext()->language->id, 0, (int)Configuration::get('BLOCKSPECIALS_SPECIALS_NBR')


the problem is that I just add

$random = true, $random_number_products: = 4

the page goes wrong, where am i wrong?

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