ukmatern Posted June 12, 2014 Share Posted June 12, 2014 Hi Everyone. Hope someone can help with this issue. My website sells over 3000 sex toys and lingerie and I want to dislpay my products randomly on all pages. I've seen modules available to buy but they all seem to offer randomising the display of products but only on the home page of featured products. I need this on all categories and subcategories. Does anyone have any idea how I can get all my products throughout my website to be displayed in random order? Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted June 13, 2014 Share Posted June 13, 2014 hello regarding to your demand, for category pages it's not good idea to display product in random order many of products will not appear then, a lot of them will appear several times Link to comment Share on other sites More sharing options...
NemoPS Posted June 13, 2014 Share Posted June 13, 2014 I second vekia. Apart from that, it's bad for seo, you should really have some definite categories with a clean list of products Link to comment Share on other sites More sharing options...
ukmatern Posted June 13, 2014 Author Share Posted June 13, 2014 Hi Thanks for your advice. Don't think i phrased my question right. I dont want my products displayed in random categories all over my website. I still want my products displayed withing their pre assigned categories and subcategories only. But is there a way to randomise the order they appear in, within those subcategories? I have a lot of products and the first page within a subcategory only displays 1 type of product as it displays them in the order they were added. Would randomising the order products are displayed within a subcategory really be bad for seo? Kind Regards Link to comment Share on other sites More sharing options...
NemoPS Posted June 14, 2014 Share Posted June 14, 2014 Considering those pages are index as well, I think so (I might be wrong, I am no seo [spam-filter]) Link to comment Share on other sites More sharing options...
LineTV Posted June 23, 2014 Share Posted June 23, 2014 This is a good thread, how come there is no specific answer to solving the issue - I need the same solution or did this get solved? Link to comment Share on other sites More sharing options...
vekia Posted June 24, 2014 Share Posted June 24, 2014 why you want to use feature that will be definitely bad for you shop? it is worth to think about it. Link to comment Share on other sites More sharing options...
LineTV Posted June 24, 2014 Share Posted June 24, 2014 @Vekia, I did think about it and agree that it will be bad to have random display of all products on homepage. However, I have several multishops in the same group as the default shop, and would like to have the products added onto these multishop also show up on the default shop - perhaps in the "New Arrivals". How can I make that happen? Thanks for your advice. Link to comment Share on other sites More sharing options...
midunmkumar Posted December 26, 2014 Share Posted December 26, 2014 I have new products and featured products on my home page. Now i would like to display products in random on home page. am using ps 1.5.6. Thanks in advance Link to comment Share on other sites More sharing options...
NemoPS Posted December 29, 2014 Share Posted December 29, 2014 You need to amend homefeatured.php This HomeFeatured::$cache_products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8), 'position'); To HomeFeatured::$cache_products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8), 'position', null, false, true, true); However, since they are cached, it might not work and you might as well need to get rid of its caching system (which is a bit tricky) 1 Link to comment Share on other sites More sharing options...
Recommended Posts