Guest Posted February 3, 2006 Share Posted February 3, 2006 Rather than latest/featured products appearing on the homepage, is there anyway to get random latest/featured products to appear. So if you have say 20 selected products, it would then select say six of those at random so the hoempage always looks fresh ? Is this possible ? Cheers Tim Quote Link to comment Share on other sites More sharing options...
Guest Posted February 3, 2006 Share Posted February 3, 2006 Rather than latest/featured products appearing on the homepage, is there anyway to get random latest/featured products to appear. So if you have say 20 selected products, it would then select say six of those at random so the hoempage always looks fresh ? Is this possible ? Cheers Tim The featured product box does display randomly from the products in the store. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 3, 2006 Share Posted February 3, 2006 Rather than latest/featured products appearing on the homepage, is there anyway to get random latest/featured products to appear. So if you have say 20 selected products, it would then select say six of those at random so the hoempage always looks fresh ? Is this possible ? Cheers Tim The featured product box does display randomly from the products in the store. Aye, i dont mean that one, i mean the 'latest' products one on the homepage. Quote Link to comment Share on other sites More sharing options...
markscarts Posted February 3, 2006 Share Posted February 3, 2006 At present, this is not possible. If you would like to request a mod for this, try doing so at the cubecart.org forum Quote Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2006 Share Posted February 4, 2006 Is that the forum, where the average number of post views per day is in single figures? Quote Link to comment Share on other sites More sharing options...
markscarts Posted February 5, 2006 Share Posted February 5, 2006 Don't look now, but your sarcasm is showing That forum is only a couple weeks old FYI, but it is the spot for requesting mods. Good luck on bashing the forum and getting answers ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2006 Share Posted February 6, 2006 You see i think this is problem with the modification site, everyone is in it for the money, when you are forced to request on a site like that. Anyway, thanks to gwizard for looking at it for me, a simple modification to the includes/content/index.inc.php (line 49) and it does exactly as i want, turns the latest products in random featured products on the homepage. $latestProducts = $db->select("SELECT productId, image, price, name, sale_price FROM ".$glob['dbprefix']."CubeCart_inventory WHERE `showFeatured` = 1 ORDER BY RAND() DESC LIMIT ".$config['noLatestProds']); :D Quote Link to comment Share on other sites More sharing options...
Guest lcools Posted February 21, 2006 Share Posted February 21, 2006 Very cool...changed the center section to random products...much better since I often upload 20+ variations on the same item, making for a boring 'latest products' page. Now wondering, if it's possible to change the side 'featured products' box to showcase the one latest product added? Quote Link to comment Share on other sites More sharing options...
Guest Louisiana Backpacker Posted August 1, 2006 Share Posted August 1, 2006 Thanks for posting this. I have been looking for a way of doing exactly this for the longest time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.