Guest Posted November 11, 2005 Share Posted November 11, 2005 I'm trying to have multiple "specials" listed on my site (by default - listed in the right colum). So far, I've managed to get more than one to appear - but the problem now is, how to sort them. To have more than one appear, I simply duplicated: new infoBox($info_box_contents); In the includes/boxes/specials.php file So now, I've got the SAME product appearing twice in my specials box. How can I make two different products appear? I'm thinking I must sort them. But after experimenting for a few hours, I've seemed to have gotten nowhere... Any help on this subject would be greatly appreciated! Thanks in advance. Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2005 Share Posted November 11, 2005 Ok, after a few hours of research... I've answered my own question. So here it is to help everyone else out: If you are using the Specials box, and wish to have more than 1 special listed - here is a quick and easy way. Go to this page: http://www.oscommerce.com/community/contributions,2583 This is a contributed ad-on for a "Scrolling Specials Box". However, if you thoroughly READ the page, you'll find that there is quick and easy tweaks to help Center the box, and more. And even better, it is very easy to apply. Most importantly, you might NOT want your specials box to be scrolling. (like me) So please reference this page for easy code tweak: http://www.oscommerce.com/forums/index.php?showtopic=119602 That's it! Thanks to the user "PortalPlantet" for writing this script. And all the users who helped to make it easy to tweak! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.