PDA

View Full Version : Category search box


jlong
24-09-08, 11:53
Hi, im useing V2 of the shop window & im trying to create a search function thats limited to one category.

I have set a parent category in my constants allready useing

define('VERTICAL_CATEGORY_ID', X);

but i now want my search function to search a subcategory of X

I do not need the drop down menu option that is defult in search_box.tpl so i have modified it but im unsure how to get it to only search in my disired subcategory.

GeorgeGaz
24-09-08, 13:29
Hello,

Where X is the category ID this does not necessarily have to be a parent category ... ;)

Cheers