Multi-column subcategories for 4.1.x
Multi-column subcategories for 4.1.x
Edit the skin1/customer/main/subcategories.tpl template and replace: PHP Code:
with the PHP Code:
|
Re: Multi-column subcategories for 4.1.x
Thanks works great, any way to display the number of items in the subcatergories under the name
sorry im a newbie |
Re: Multi-column subcategories for 4.1.x
Add this code:
PHP Code:
below this line: PHP Code:
|
Re: Multi-column subcategories for 4.1.x
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
|
Re: Multi-column subcategories for 4.1.x
Quote:
Replace this line PHP Code:
with the PHP Code:
|
Re: Multi-column subcategories for 4.1.x
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:
|
Re: Multi-column subcategories for 4.1.x
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. |
All times are GMT -8. The time now is 01:50 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.