| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Sub-Category Thumbnails? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() The way my store is set up is that after a customer selects a main category in the left-hand menu, he is directed to a listing of sub-categories. I noticed that it is possible to assign icons to categories. I tried putitng images in there and they saved fine but are not showing up in the live store. What are these Icons? Are they NOT thumbnails? Is there a way to put thumbnails in the subcategory listings?
__________________
X-Cart 4.0.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() no one knows...
__________________
X-Cart 4.0.9 |
|||||||
#3
|
|||||||||
|
|||||||||
![]()
__________________
"The point is, to make so much money, that money isn't the point anymore." Pro Version 4.0.19 Gold Version 4.1.3 Linux |
|||||||||
#4
|
|||||||
|
|||||||
![]() I'm having the same problem MetalLaw did you ever figure out what the trouble was this link does not work?
http://forum.x-cart.com/viewtopic.php?t=19698
__________________
Christmas x-cart 4.1.6 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() search custom mods forum for mods to do this
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() All, Hope this helps. I got this from X-cart technical support. It works well for me and my version ... I would just like to know how to turn the thumbnail/icon into a hyperlink that matches the category title. If anyone knows how to do that please post a reply.
![]() X-Cart shows a category icon only if the category has subcategories only and no products in it. If you would like to show category icon near each category name in the customer's area, you should modify x-cart template skin1/customer/main/subcategories.tpl and replace in the file {if $subcategories} {if $tmp} [img]{if $current_category.icon_url}{$current_category.icon _url}{else}{$xcart_web_dir}/icon.php?categoryid={$cat}{/if}[/img] {/if} <TABLE border="0" cellspacing="5"> {foreach from=$subcategories item=subcat} <TR> <TD align="left" nowrap width="95%"><FONT class="ItemsList">{ $subcat.category|escape }</FONT> </TD> <TD align="right" nowrap><FONT class="Text">{if $config.Appearance.count_products eq "Y"} {if $subcat.product_count}{ $subcat.product_count } {$lng.lbl_products} {elseif $subcat.subcategory_count}{ $subcat.subcategory_count } {$lng.lbl_categories|lower} {/if} {/if}</FONT></TD> </TR> {/foreach} </TABLE> {/if} with {if $subcategories} <TABLE border="0" cellspacing="5"> {foreach from=$subcategories item=subcat} <TR> <TD align="left" nowrap width="95%">[img]{if $subcat.icon_url}{$subcat.icon_url}{else}{$xcart_w eb_dir}/icon.php?categoryid={$subcat.categoryid}{/if}[/img]<FONT class="ItemsList">{ $subcat.category|escape }</FONT> </TD> <TD align="right" nowrap><FONT class="Text">{if $config.Appearance.count_products eq "Y"} {if $subcat.product_count}{ $subcat.product_count } {$lng.lbl_products} {elseif $subcat.subcategory_count}{ $subcat.subcategory_count } {$lng.lbl_categories|lower} {/if} {/if}</FONT></TD> </TR> {/foreach} </TABLE> {/if}
__________________
Tango Dancer X-Cart Gold Version 4.0.14, X-Affiliate, AOM, X-RMA |
|||||||
#7
|
|||||||
|
|||||||
![]() This should link your thumbnail.
{if $subcategories[cat_num].category}{assign var="tmp" value="1"}{/if} {/section} {if $subcategories} <TABLE border="0" cellspacing="5"> {foreach from=$subcategories item=subcat} <TR> <TD align="left" nowrap width="95%"> [img]{if $subcat.icon_url}{$subcat.icon_url}{else}{$xcart_w eb_dir}/icon.php?categoryid={$subcat.categoryid}{/if}[/img] <FONT class="ItemsList">{ $subcat.category|escape }</FONT> </TD> <TD align="right" nowrap><FONT class="Text"> {if $config.Appearance.count_products eq "Y"} {if $subcat.product_count}{ $subcat.product_count } {$lng.lbl_products} {elseif $subcat.subcategory_count}{ $subcat.subcategory_count } {$lng.lbl_categories|lower} {/if} {/if}</FONT></TD> </TR> {/foreach} </TABLE> {/if}
__________________
Version 4.0.16 |
|||||||
#8
|
|||||||
|
|||||||
![]() I have the subcategories.tpl showing icon on top then categories under. this is the code I got but it's not showing icons if category has no subcategory/product. can anyone hlep please.
Code:
__________________
Xcart 4.0.17 GOLD |
|||||||
|
|||
X-Cart forums © 2001-2020
|