2 Column Subcategory Display
Hi
Can someone tell me how to change the subcategories so they are listed in 2 columns without the product numbers?? Thanks Amanda Merry Christmas Everybody! |
Little late but here is the code for this in 3.5.x:
Code:
{* divide subcategories into 2 columns www.cart-lab.com written for 3.5.x *} |
This mod appears to drop the first subcat in the site. I've looked at the code for awhile can not figure it out.
|
It may be because of the start=1 in the section loop.
Code:
{section name=cat_num loop=$subcategories start=1} |
When I set start=0 it doesn't display the table correctly.
Link: http://www.shopgspot.com/shop/home.php?cat=248 FYI this is an adult site. Quote:
|
Code:
{* first coloumn *} Updated, works properly now, I just used two section loops and set the stpes at 2 and 1 so I could create columns and get rid of the is div by 2 that wasn't doing what I needed. hth. ;) |
THANKS BOOMER!
I don't know what us newbies would do without you pros! :) |
sorry i'm new to x-cart, on which page do i insert this code?
|
customer/main/subcategories.tpl :wink:
|
Hey Boomer - I tried it out - It does display the sub categories but when i click on one of them it just goes blank? Any ideas. 3.5.7... I restored the file and everything works fine? werid
|
Does anybody know if this will work in V4.0.13?
Thanks! |
Amanda,
Try this thread for the 4.0.x branch: http://forum.x-cart.com/viewtopic.php?t=5131 Also, please post your version number in your signature. Edit profile, enter version, enter password, save. Thanks! :) |
All times are GMT -8. The time now is 03:46 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.