Merchant Random Image
I am trying to make a similar feature to featured.php but for any merchants for whom I have added in a logo, to link directly to the merchants product list.
I want it to behave in the same way that the featured product does and have the flexibility to add more in (provided images are available) by simply changing the 'number' e.g.
ORDER BY RAND() LIMIT 3";
I would want this to work on the index page and site wide so it would have to be an include function. Can any one help me on this?