| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Buttons for Subcategories | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Buttons for Subcategories
I have added all my products to my site and have quite a few subcategories. These links are inside a main Cat. And all they are is a underlined hyperlink. How do i go about changing these to a graphic image. I can see my customer missing these links to products unless i glam them up a bit.
Thanks
__________________
X-cart ver 4.4.4 Gold "Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution but we're both using petrol. Bombs." Rick the people's poet. |
|||||||
#2
|
|||||||
|
|||||||
Re: Buttons for Subcategories
You'd need to edit the template to replace the text link with a button. Use Webmaster Mode to tell you exactly which template it is - probably customer/main/subcategories.tpl
Moving to Template Editing
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Buttons for Subcategories
Thanks will check it out. If i have any problems i will get back.
__________________
X-cart ver 4.4.4 Gold "Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution but we're both using petrol. Bombs." Rick the people's poet. |
|||||||
#4
|
|||||||
|
|||||||
Re: Buttons for Subcategories
{if $subcategories}
{include file="customer/main/subcategories_t.tpl"} {/if} {else} <img class="subcategory-image" src="{$current_category.icon_url|amp}" alt="{$current_category.category|escape}"{if $current_category.image_x} width="{$current_category.image_x}"{/if}{if $current_category.image_y} height="{$current_category.image_y}"{/if} /> {inc assign="standoff" value=$current_category.image_x|default:0 inc=15} found this body of code in the customer/main/categories.tpl file. Would i need to remove the {include file="customer/main/subcategories_t.tpl"} {/if} {else} section to get started? I'm green with SMARTY but am doing a IT degree atm. And learning JAVA currently. Some feed back on the similarities would be great. Is smarty OO?
__________________
X-cart ver 4.4.4 Gold "Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution but we're both using petrol. Bombs." Rick the people's poet. |
|||||||
|
|||
X-Cart forums © 2001-2020
|