Post by bthirsk » Wed Dec 17, 2008 11:08 am

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

Attachments

Last edited by Anonymous on Thu Dec 18, 2008 12:15 pm, edited 1 time in total.

Brent


User avatar
Active Member

Posts

Joined
Wed Sep 03, 2008 11:33 am
Location - Canada

Post by Qphoria » Wed Dec 17, 2008 11:40 am

Thanks bthirsk!

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

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bthirsk » Thu Dec 18, 2008 12:18 pm

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.

Attachments


Brent


User avatar
Active Member

Posts

Joined
Wed Sep 03, 2008 11:33 am
Location - Canada

Post by jty » Wed Jan 14, 2009 11:03 am

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.

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by Qphoria » Wed Jan 14, 2009 11:22 am

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 :)

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 3 guests