| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Use an image instead of text for category listing | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Use an image instead of text for category listing
IБ─≥m new to the X-Cart template thing, and IБ─≥ve also tried searching the form for an answer without luck.
When a customer visits the store, IБ─≥d like the category listing to use the image IБ─≥ve uploaded when I created the category. Quite frankly, IБ─≥m stumped on doing this, so if anybody knows how or can point me in the right direction, IБ─≥d greatly appreciate it. |
|||||||
#2
|
|||||||
|
|||||||
Try this in categories.tpl, right under the first section tag:
[img]{$xcart_web_dir}/icon.php?categoryid={$categories[cat_num].categoryid}[/img]
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Thanks! That seemed to do the trick with the categories. Can I do something similiar for the Manufacturers as well? I tried the following in
/modules/Manufacturers/menu_manufacturers.tpl without any luck: [img]{$xcart_web_dir}/icon.php?manufacturerid={$manufacturers_menu[mid].manufacturerid}[/img] |
|||||||
#4
|
|||||||
|
|||||||
Check the custom mods forum for that, I believe there is a mod in there for it.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|