Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Old March 11th, 2011, 11:06 AM
sylviathewitch sylviathewitch is offline
Join Date: Mar 2011
Posts: 155
Default Search in specific category

Is there a way to create a search widget that performs searches only in a certain category?
For Example, if you are in the category "sunglasses" and you search for "Gucci", I would only like to see results of Gucci in Sunglasses (and not those in clothing or accessories).

Old March 11th, 2011, 11:30 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902


This is doable by adding a hidden input to your search form. For example, here's how the simple search form would look:

HTML Code:
<div class="store_search_form">
	<?php if ($category->id) {?>
		<input name="c" type="hidden" value="[]" />
	<?php } ?>
	[search.word onfocus='wash(this);' onblur='checkWash(this);' value='Search store...']
	[search.submit title='Go']

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drip products to one specific category? onefairworld Tips, Tricks & Tutorials 6 February 19th, 2011 09:24 AM
Custom text box at top of specific category? lbuilta59 Questions 4 January 31st, 2011 06:10 PM
Show all sub-categories for a specific parent category ayorofrance Questions 17 January 27th, 2011 08:31 PM
Drip Specific Category k9marketing Tips, Tricks & Tutorials 1 January 23rd, 2011 12:25 PM

All times are GMT -5. The time now is 11:46 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.