Page 1 of 1

Random Product Selection in Latest/Featured/Specials Modules

Posted: Wed Dec 17, 2008 11:08 am
by bthirsk
This code will allow you to included as many items in Special and Featured Modules as you like,
but only display what you have set as the limit. Products are randomly chosen for display.
This allows you pages displays to constantly change each time a customer visits.
If you have modules included in category pages or product page, they change on each page refresh.

This is for version 7.8

Re: Random Product Selection in Latest/Featured/Specials Modules

Posted: Wed Dec 17, 2008 11:40 am
by Qphoria
Thanks bthirsk!

Just an FYI for others....
This is NOT 0.7.9 compatible

Re: Random Product Selection in Latest/Featured/Specials Modules

Posted: Thu Dec 18, 2008 12:18 pm
by bthirsk
This is the 7.9 5rc version. I have tested and works the same.
It is plug and play, just drop in the files as is and it works if you have no other modifications to Q's Code.
Otherwise, you have to make your own changes to reflect your mods.

Re: Random Product Selection in Latest/Featured/Specials Modules

Posted: Wed Jan 14, 2009 11:03 am
by jty
Thank-you. Works better than a bought oneĀ  :D

I have this with Qphoria's latest/Featured/specials contribution working on 0.7.9RC3. I had to change gethtml to 'get' for it to work on RC3 (as we know needs to be done)

I'll also need to make changes to accommodate the Homepage module. No big deal.

Love the random factor. It was what I was looking for.
Also love the way Qphoria has added the admin control for number of items to list. Much better than hard-coding the limit in the control file.

Thanks for sharing.

Re: Random Product Selection in Latest/Featured/Specials Modules

Posted: Wed Jan 14, 2009 11:22 am
by Qphoria
jty wrote: Also love the way Qphoria has added the admin control for number of items to list. Much better than hard-coding the limit in the control file.
Woo jty's back!
Glad you like that feature! but I didn't do it. That was already there.
Only thing i did was include clearer instructions on how to use it on the front end, update it to be 0.7.9 compatible, add the sql for automatic install, normalize the code, and made it just a bit cooler :)