| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Category Display | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Category Display
Is there any mod out there that will allow a custom css file to load depending on the category chosen? I'm not looking for a whole different skin, just want to change some colors for just one category.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Category Display
There is no need of any module. In home.tpl in <head> section
{if $current_category.categoryid eq "xx"} load yyy.css {else} load zzz.css {/if} or just the first portion of the {if} if you are looking to just load css file on specific category and everything else stays the same.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Category Display
How about adding an "or current manufactuer eq "xx"?? so the products of those vendors use the same css.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#4
|
|||||||
|
|||||||
Re: Category Display
nevermind, i got it,
added or $product.manufacturerid eq "9"
__________________
4.7.x xcart store Business 5.4xx |
|||||||
|
|||
X-Cart forums © 2001-2020
|