New Zenner
- Join Date:
- May 2006
- Posts:
- 23
- Plugin Contributions:
- 0
Adding "fake" product or category images to make up numbers
I have a Zen site which shows products/categories in three columns on the product/category listings pages.
Therefore, if I have (say) 10 products, I get one column with four products and two columns with three products.
What I want to do is insert randomly into that listing two new images so that I end up with three columns of four "products". Those new images might say something like "click any image to view product information" or "welcome to my shop, please buy something!" (you get the idea).
Ideally I could make these links to other pages or not depending on what I was trying to do. Eg the above wouldn't be links anywhere, but I might have a "Sale now on" image which linked to a sale category.
I haven't found anything along these lines so I'm ready to get my PHP hands dirty. Where would I start?
(I think I picked the right forum; my motive is certainly just to balance the page layout. Point me elsewhere if necessary!)