Hyrion Hyrius Posted May 4, 2020 Share Posted May 4, 2020 Hello everyone, I would like to modify the "on sale" form on the home page by sorting through id to random sorting, I think it is the ps_specials module, you give me a tip on the fly on the point where to change the code admitted that I have correctly identified the module hehe Link to comment Share on other sites More sharing options...
Hyrion Hyrius Posted May 6, 2020 Author Share Posted May 6, 2020 no module "special products" (on sale products) don't have these option Link to comment Share on other sites More sharing options...
Hyrion Hyrius Posted May 6, 2020 Author Share Posted May 6, 2020 yes i know, 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? 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