Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product rotation on index.php


boostadaroosta

Recommended Posts

Posted

Are the images on the main (index.php) page supposed to rotate? If so, what triggers that rotation? It seems like mine only shows the last products that were added.

Posted

the products are random from the default what's new box. Also some contributions pickup random products and display. But of course you can make them rotate too.

Posted

have a look into this contribution

http://www.oscommerce.com/community/contributions,1164

file products_previous_next.php

 

you could modfy the code and port it for the featured products for instance. Setup a session counter so every time the visitor loads a page you increment the counter and use it for the next set of products to display. There is a counter already (number of requests at the bottom of each page) you could pick up the last few digits for this purpose.

Archived

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

×
×
  • Create New...