Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Search products in particular category
- This topic has 10 replies, 4 voices, and was last updated 14 years, 2 months ago by 
robhafley.
 
- 
		AuthorPosts
 - 
		
			
				
August 4, 2011 at 10:41 am #3980
Cai
MemberHi there
Is there a way I can create a search that only searches in a particular category that is chosen before. So I can have one search that searches “MP3s” and another that searches “Tickets for an Event”
many thanks
August 5, 2011 at 4:19 am #35165amin007
ParticipantWP eStore doesn’t have this option. The search option searches the entire products base.
August 9, 2011 at 4:56 pm #35166robhafley
MemberI would love that option as well. I would like to drop in the search shortcodes in each of my category main pages and have the search ONLY look in the specific category. Maybe in an upcoming update perhaps? I would be willing to pay for such and optional add-on.
August 10, 2011 at 3:22 am #35167amin007
ParticipantI can look into adding a shortcode for this.
August 10, 2011 at 4:19 am #35168robhafley
MemberI must say the support here is tremendous.
August 19, 2011 at 4:13 am #35169robhafley
MemberAnymore thoughts on this guys? I’m getting closer to launching my webstore and since I will end up having about 15 categories and a few hundred products I would love to have a search option that is category specific. If I could just specify the category # in the search shortcode that would work great for me. I would use it by placing a search option on each of my category main pages or on a page-specific widget. That way if my customer is browsing category “a” and searches for an item they won’t get results from the whole store.
August 20, 2011 at 3:34 am #35170admin
KeymasterHaven’t gotten around to doing this yet
August 20, 2011 at 3:40 am #35171robhafley
MemberI understand, I need about ten more hours in a day.
August 23, 2011 at 4:44 pm #35172robhafley
MemberCan an option such as this be custom coded for me if I’m willing to pay for it?
August 24, 2011 at 3:51 am #35173admin
KeymasterI put in some on the extra shortcodes plugin today and added this option. You can use the
category_idparameter in the search shortcode to restrict the search within a particular category. Here is an example:[wp_eStore_product_search category_id=1]Here, 1 is the particular category to search.
Please get another build of the extra shortcodes plugin from here to get the new option:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
August 24, 2011 at 4:22 am #35174robhafley
MemberThank you thank you thank you!
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.