natashome Posted December 17, 2009 Share Posted December 17, 2009 hi is there a way to display random products anytime a category is clicked? thanks Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted December 17, 2009 Share Posted December 17, 2009 The Featured Items contribution will do that, and let you control which items it will randomly select from as well. Have you searched the add-ons yet? I don't know of any but I wouldn't..... Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
natashome Posted December 17, 2009 Author Share Posted December 17, 2009 The Featured Items contribution will do that, and let you control which items it will randomly select from as well. Have you searched the add-ons yet? I don't know of any but I wouldn't..... i am referring to the products that are displayed when you click a category. they are listing in alphabetical right now. Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted December 17, 2009 Share Posted December 17, 2009 i am referring to the products that are displayed when you click a category. they are listing in alphabetical right now. Yeah, featured will do that. But if you are just looking to drop the sort order and let the sql pull them out of the db without sorting them it may be just a simple thing to remove the 'order by...' in the sql. Are you happy with what is being displayed, just want to randomize them? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
natashome Posted December 17, 2009 Author Share Posted December 17, 2009 Yeah, featured will do that. But if you are just looking to drop the sort order and let the sql pull them out of the db without sorting them it may be just a simple thing to remove the 'order by...' in the sql. Are you happy with what is being displayed, just want to randomize them? yes i would like them to display randomized without a specific order by anything..how can i achieve that? thanks Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted December 17, 2009 Share Posted December 17, 2009 I'm gonna let someone else advise you on this. The final list can be sorted by clicking on the column headings and that makes it a little more difficult finding the right place to change, and I have a modified file at that point. Someone else is better suited to assist. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
natashome Posted December 17, 2009 Author Share Posted December 17, 2009 I'm gonna let someone else advise you on this. The final list can be sorted by clicking on the column headings and that makes it a little more difficult finding the right place to change, and I have a modified file at that point. Someone else is better suited to assist. i see...i appreciate your help anyway.thanks Link to comment Share on other sites More sharing options...
forummaker Posted March 23, 2010 Share Posted March 23, 2010 Sorry to jump into this topic... but I'm looking for the same thing. I've used this change as suggested in the link for something else I was looking to do... which worked great. Link: http://www.oscommerce.com/forums/topic/349072-random-products/page__p__1458735__hl__random%20product__fromsearch__1entry1458735 But, how does one make products display random when a visitor clicks on a category link or a manufacturer link? Again, products are currently displayed in alphabetical order and I would prefer them to be randomized. Thanks for any help with this. That "Can" you're about to open... has worms! Don't say I didn't worn ya. n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity. Link to comment Share on other sites More sharing options...
forummaker Posted March 26, 2010 Share Posted March 26, 2010 Anyone have any suggestions on this? Thanks. That "Can" you're about to open... has worms! Don't say I didn't worn ya. n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.