| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Subcategory Icon | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All.
I am having a hard time figuring this out... I was able to show the Subcategory Icon with this thread... http://forum.x-cart.com/showthread.php?t=3848&page=22&highlight=subcategor ies+icons Subcategory Icon shows on the Category page with bunch of Subcategory icons, but when I click on the specific Subcategory to go to that Subcategory page, then icon dissapears. I added Code:
at the beginning of the subcategories.tpl , but no luck.. Any help much appreciated....
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
Try used this code for subcategories.tpl. Option: {assign var="count_per_row" value=3} (3 - count column) <img src="{$c.icon_url}" width=200> (200px - image width) PHP Code:
|
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Yurij, Thanks for your kind reply.
I actually was able to show subcategory icons with 3 columns in the main category page. What I want to do is to place a subcategory icon at the beginning of the page right before the subcategory description. I've been trying to do this for a while, but no luck at all..
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
With the flow around icons category or not? If you're comment out 3 lines, you will be displayed the description category under of the icon category. PHP Code:
Ups... I forgot one moment... ![]() Open file "include/categories.php" and find next line: PHP Code:
And to replace those lines with this code PHP Code:
|
|||||||||
#5
|
|||||||
|
|||||||
![]() Yurij,
I really appreciate your kind help. I was able to show the icons. Here is the pic of it. http://sauce-mania.com/00/p1.png Now, how can I do this? This is on the page after you clicking on "Soy Sauce"... http://sauce-mania.com/00/p2.png
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Open file "skin1/customer/main/subcategories.tpl", find next line:
PHP Code:
And to replace those lines with this code PHP Code:
|
|||||||||
#7
|
|||||||
|
|||||||
![]() Yurij,
YOU ARE DA MAN! Thank you very much! It all worked great!!!!!!!!!!!!!! Thank You!
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
#8
|
|||||||
|
|||||||
![]() That's amazing... I spent all night trying every solution on this board, gave up to try again tonight and the answer was posted while I slept.
I love you 4.1.9
__________________
X-Cart 4.1.9 (current version) |
|||||||
#9
|
|||||||
|
|||||||
![]() I have successfully modified tthe sub cat template to enable icons to appear but they blow out - is there a way to limit the icon size?
Thanks L
__________________
x-cart gold 4.1.9 x-cart gold 4.1.5 www.makeuwell.com.au www.amberbebe.com Sydney Australia |
|||||||
#10
|
|||||||
|
|||||||
![]() Hi
I just wanted to let people know that the code posted in #2 of this thread by yurij works fine in 4.3.1 . I added a style class to the table call to add a border and further styling and it was perfect! 3 columns of subcats displayed just how i like it ![]()
__________________
--- pia x-cart 4.3.1 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|