![]() |
Homepage show cat in welcome area
How do I add the main cat to the home page similar to lite commerce does:
http://www.litecommerce.com/demo/cart.php Thanks |
Re: Homepage show cat in welcome area
Put this in customer/man/welcome.tpl:
{include file="customer/main/subcategories.tpl" cat=$cat} |
Re: Homepage show cat in welcome area
That won't quite do it balinor. That just shows them in a single column. Try this:
Code:
{if $subcategories} Change {if $tmp is div by 4} to whatever number of columns you want. |
Re: Homepage show cat in welcome area
Sorry, forgot subcategories come in that crappy list by default...I have them in columns by default in my install package.
|
Re: Homepage show cat in welcome area
THANKS! This helps might site alot.
Anyway of autosizing to 100x100px of the icons via thumb.phplike the products? |
Re: Homepage show cat in welcome area
I'm still working on that. I just implimented the code yesterday.
One change I have made since posting though is to change {if $tmp is div by 4} to {if $tmp is div by $config.Appearance.products_per_row} I'll be adding the code for thumbnail sizing next. I'll let you know when I've got it working. |
All times are GMT -8. The time now is 04:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.