Ad/Special between product listing
hey all,
Is there a mod or code I can use that can 'break' between the products listing? Anotherwords, 20 products (4 across/5 rows) on a page. I'd like to put something after 8 products continue with 8 more and so on if need be. I havent been working with my site for a while so this code stuff is rusty. But i'll manage if guided right. ex. + is product || = is divider/product/ad etc + + + + + + + + ===== + + + + + + + + ===== + + + + + + + + Any help would be appreciated! ;-) Ronnie |
Re: Ad/Special between product listing
Products are called in a loop - either "foreach" (http://www.smarty.net/docs/en/language.function.foreach.tpl) or "section" (http://www.smarty.net/docs/en/language.function.section.tpl). You can use iteration to show whatever you want after so many loops.
|
Re: Ad/Special between product listing
Thanks Steve,
You're probably good at this stuff but trying to figure it all out is a bit out of my league for what I'd like to do. I'll pass for now. again, Thanks for the reply. :D/ Actually I was thinking of getting one of those banner modules where I can highlight certain products that are onsale etc. If I could only get the code to call on those files that would be novel. As you say that section might be the area, but I cant figure where to put it after 8 products. This code is toward the bottom of the category template mod: (Im using Multiple Product Listing / Category Templates w/ a custom template) Code:
{if $cell_counter lt 4} |
All times are GMT -8. The time now is 06:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.