Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

random product display on categories


natashome

Recommended Posts

Posted

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.

Posted

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...?

Posted

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

Posted

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...?

Posted

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

  • 3 months later...
Posted

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.

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...