"Category" from search?

Locked

Views: 925

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Nov 2010, 5:58 AM
#1
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

"Category" from search?

hoping this is possible... it would save many hours of work...

My Zen-Cart installation is for a health food wholesaler. I've got all products on the website, and I'm needing to link 292 of them into a new category showing all organic products.

Instead of spending time linking them all, I'm hoping it's possible, that when the "Organic Products" link is clicked in the Category box, instead of going to a category of products, it would show search results with everything that has the word "organic" in its title.

So pretty much, the URL in the category box would be changed, so instead of going to a category, it goes to the URL that is actually the result of a search for the word "organic".

Please tell me this is possible, and how this is done...?
:lookaroun

18 Nov 2010, 10:21 PM
#2
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: "Category" from search?

any help please... trying to avoid hard-coding this one if possible...

19 Nov 2010, 2:02 AM
#3
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: "Category" from search?

nevermind then... i've hard-coded it in tpl_categories.php

works perfectly tho.

19 Nov 2010, 3:28 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: "Category" from search?

I don't think there is any way of getting a specific link like that in the categories box without hard-coding it to some degree. I suppose you could code some Jquery function that would insert the link without touching tpl_categories.php, but it would still be hard-coded.