| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
refine filter on select pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() We have a lot of categories and sub cats
Client only wants refine filters showing on certain pages. can I say if(catid - "XX" ) then do this ? Or is this not possible with refine filters ? thanks DonnaNJ |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Donna, I don't have a copy of Refine Filters, but I see code for it in my templates. Look in /customer/left_bar.tpl in my template I see this on line 13:
{if $active_modules.Refine_Filters} Just add to the if statement: {if $active_modules.Refine_Filters and $catid ne 117} If you have many categories where you don;t want it to show, a much more elegant solution would be to check the category in PHP and see if it is in the do not show list, then assign a $showfilter variable that you can use in your if statement.
__________________
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
|
|||||||
|
|||||||
![]() I have Refine Filters. In any category, you can choose which (if any) show, and what order they appear in. So if a more logical order suits one category but not another, you can change it to suit your needs.
__________________
Version 4.1.6 to 4.1.11 |
|||||||
|
#4
|
|||||||
|
|||||||
![]() Thanks - what I really need to do is find out if the cat is the last sub cat before products
I don't want it showing until they drill down to the last cat ... so what I need to say is if cat has no child cats - then show filters I'll have to poke around some PHP/MySQL code. Unless there is already some function ? thanks DonnaNJ |
|||||||
#5
|
|||||||
|
|||||||
![]() oh I just saw the second answer from sparrowdog
- so I can turn it off for all but the last level cat ? let me look at that thanks |
|||||||
|
|||
X-Cart forums © 2001-2020
|