| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Multi-column subcategories for 4.1.x | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Multi-column subcategories for 4.1.x
Edit the skin1/customer/main/subcategories.tpl template and replace: PHP Code:
with the PHP Code:
__________________
Eugene Kaznacheev, Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009) ex-Head of X-Cart Tech Support Department ex- X-Cart Hosting Manager - X-Cart hosting ex-X-Cart Technical Support Engineer Note: For the official guaranteed tech support services please turn to the Customers HelpDesk. |
|||||||||
#2
|
|||||||
|
|||||||
![]() Thanks works great, any way to display the number of items in the subcatergories under the name
sorry im a newbie
__________________
X-Cart 4.4 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Add this code:
PHP Code:
below this line: PHP Code:
__________________
Eugene Kaznacheev, Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009) ex-Head of X-Cart Tech Support Department ex- X-Cart Hosting Manager - X-Cart hosting ex-X-Cart Technical Support Engineer Note: For the official guaranteed tech support services please turn to the Customers HelpDesk. |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() This code looks good and I like the 4-column presentation. What code would show the icon for the sub-category? It shows the default "no available image" icon even though there is an uploaded icon. X-Cart version 4.0.17
__________________
Was 4.0.17 Gold w/3rd party modules ![]() Now 4.5.5 Gold with core modules ![]() |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Replace this line PHP Code:
with the PHP Code:
__________________
Eugene Kaznacheev, Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009) ex-Head of X-Cart Tech Support Department ex- X-Cart Hosting Manager - X-Cart hosting ex-X-Cart Technical Support Engineer Note: For the official guaranteed tech support services please turn to the Customers HelpDesk. |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() I'd like to add that one could add a css line for image to remove or pretty up the defaulted border as the stylesheet may not account for this.
Add this line to the style.css: Quote:
__________________
Was 4.0.17 Gold w/3rd party modules ![]() Now 4.5.5 Gold with core modules ![]() |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Ene,
Bingo! That did the trick. I added a line to css to remove defaulted border. Beautiful. BTW: What is the function of the type=C, $tmp_ , [td]? I've seen other image/icon/logo forum questions where intended images show up in some templates and only "no image available" in others. I think I may be able to solve the riddle with a little thinking person's experimentation.
__________________
Was 4.0.17 Gold w/3rd party modules ![]() Now 4.5.5 Gold with core modules ![]() |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|