Guest ace5p1d0r Posted April 21, 2006 Share Posted April 21, 2006 Hi, I was wondering if It was possible to make the popular products box random just like the featured box? I'd be grateful for any help on this. Thanks AcE Quote Link to comment Share on other sites More sharing options...
roban Posted April 21, 2006 Share Posted April 21, 2006 Yes there is. Go to cubecart.org under version 3 free mods and look for 'change Latest Products to Featured Products' Quote Link to comment Share on other sites More sharing options...
Guest ace5p1d0r Posted April 22, 2006 Share Posted April 22, 2006 Thanks for your reply roban. Unfortunately I cant find it. Also I think you may have misunderstood me. I dont want to change the latest products to featured products. I want to change the popular products to featured products. Can you offer me any more help? Quote Link to comment Share on other sites More sharing options...
roban Posted April 22, 2006 Share Posted April 22, 2006 Sorry M8. I thought you wanted to make the Featured Products random. If you do then this is what you have to do. Make the following change: includes/content/index.inc.php (line 49) $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']); Quote Link to comment Share on other sites More sharing options...
Guest ace5p1d0r Posted April 22, 2006 Share Posted April 22, 2006 I thought you wanted to make the Featured Products random. If you do then this is what you have to do. Thanks. But that isnt what I want to do. I want o make Popular Products Random, so that its just like featured. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest ace5p1d0r Posted April 23, 2006 Share Posted April 23, 2006 Can anybody help me with this? Quote Link to comment Share on other sites More sharing options...
Guest ace5p1d0r Posted April 30, 2006 Share Posted April 30, 2006 Anybody...? Surely it cant be that hard. Quote Link to comment Share on other sites More sharing options...
Robsta Posted April 30, 2006 Share Posted April 30, 2006 There is a mod on CubeCart.org which does this... I'll PM you the link. Quote Link to comment Share on other sites More sharing options...
Guest ace5p1d0r Posted April 30, 2006 Share Posted April 30, 2006 Thanks Robsta!! Quote Link to comment Share on other sites More sharing options...
Robsta Posted April 30, 2006 Share Posted April 30, 2006 Thanks Robsta!!A pleasure :wacko: 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.