v6.1.3 business
Hi
I have a client who sells a range of wines, some of which are 'organic' or 'environmentally friendly'. 'Environmentally friendly' is going to be one of the Custom Search parameters, but because some of the wines which fall within this category are not actually certified as organic, he needs a disclaimer to say something along the lines of "You have searched for environmentally friendly wines. The results of your search, listed here, are not necessarily organic wines. If you would like further information about a particular wine please contact us...etc"
So what I want ideally is a method of testing to see whether one of the custom search parameters was 'environmentally friendly', and if so perhaps a bit of client-side JS in the results template to show or hide some text containing the warning.
I have custom search in the primary templates on every page.
Does anyone have any ideas, particularly on how to pass the parameter from the search through to the results page?
Thanks in advance, Dan
Hi
I have a client who sells a range of wines, some of which are 'organic' or 'environmentally friendly'. 'Environmentally friendly' is going to be one of the Custom Search parameters, but because some of the wines which fall within this category are not actually certified as organic, he needs a disclaimer to say something along the lines of "You have searched for environmentally friendly wines. The results of your search, listed here, are not necessarily organic wines. If you would like further information about a particular wine please contact us...etc"
So what I want ideally is a method of testing to see whether one of the custom search parameters was 'environmentally friendly', and if so perhaps a bit of client-side JS in the results template to show or hide some text containing the warning.
I have custom search in the primary templates on every page.
Does anyone have any ideas, particularly on how to pass the parameter from the search through to the results page?
Thanks in advance, Dan
Comment