X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Manufacturer images in a unordered list (https://forum.x-cart.com/showthread.php?t=62232)

DamianH 01-05-2012 04:48 AM

Manufacturer images in a unordered list
 
Hi,

Does anybody know how to loop out manufacturers company images into a unordered list? I want this on my homepage, I am using the latest version of X-Cart

Thanks

cflsystems 01-05-2012 05:43 AM

Re: Manufacturer images in a unordered list
 
You can use foreach to loop through manufacturers array - http://www.smarty.net/docs/en/language.function.foreach.tpl - if available on this page, if it's not first you need to create it in php and assign it to smarty so you can use it in a template

DamianH 01-05-2012 07:18 AM

Re: Manufacturer images in a unordered list
 
Thanks for the reply. I'm not very knowledgable with smarty or much with php. Do you know if its been attempted before on the forum, maybe I could tweak some existing code?

cflsystems 01-05-2012 07:20 AM

Re: Manufacturer images in a unordered list
 
Pretty sure it is, if you search the forum you will find code or similar

Toora Designs 01-11-2012 02:57 PM

Re: Manufacturer images in a unordered list
 
http://forum.x-cart.com/showthread.php?t=50752


All times are GMT -8. The time now is 08:42 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.