| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to set 2 different column numbers? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to set 2 different column numbers?
How to let category a display 2 columns, and let category b display 3 columns, pls?
__________________
x-cart gold 4.7.12 http://www.prescriptionglasses123.com/ http://www.glassespeople.com http://www.loupesusa.com http://www.eyeglassesclub.com |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How to set 2 different column numbers?
This really depends on how you want to do this. I think I would handle it with CSS.
Just add in your products_t.tpl somewhere a class definition associated with categoryid. I'm assuming the categoryid is assigned to Smarty, and it is something like this {$cat} = 123 So in the container div you could do something like this: Code:
Then you can add CSS specific to that category.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: How to set 2 different column numbers?
i am planning to use 2 different categories templates for www.loupesusa.com , because i may add other text block or images at different places of different template.
__________________
x-cart gold 4.7.12, www.eyewearuk.com - Eyewear Uk http://www.eyewearcanada.com - Eyewear Canada http://www.australiaglasses.com - Australia Glasses Glasses - How to Buy Eyeglasses Online www.cheapglasses123.com Glassess USA |
|||||||
#4
|
|||||||||
|
|||||||||
Re: How to set 2 different column numbers?
If you want to use different category templates entirely, just add a checkbox on the category page in admin. I have tutorials that will guide you through that, just click the link in my signature.
Then in the templates, check if the checkbox is checked and switch category templates based on that.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|