Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › e-Store Shortcodes – Need Help With Product Search Function
Tagged: product search
- This topic has 4 replies, 2 voices, and was last updated 10 years, 5 months ago by wagtunes.
-
AuthorPosts
-
May 27, 2014 at 11:56 am #10910wagtunesMember
I’m going to try to make this as clear as I can. I honestly don’t expect there to be a solution to this problem but I figured if I don’t ask I’ll never know.
I currently have a royalty free music site which you can view below.
[http://wagsrfm.com/]
It will probably help to do so in order to my questions as this gets a little involved.
As you can see, I have a number of pages. Each one is a different category of music (acoustic, classical, dance, etc.)
Each page does a standard [wp_eStore_category_products:category_id:1:end] call in order to list all the products in that category. So far, so good. Works as it should.
The problem is, I am getting a lot of complaints from customers that there are too many products to go through in each category when they’re looking for a specific type of Latin music, say a samba. Or maybe they’re looking for Latin music that has the word “slow” in the description. Essentially, they asked for a product search.
Okay, so I went through the shortcodes and other plugins and found the extra shortcodes plugin with this command. [wp_eStore_product_search].
Here is the problem. If the customer goes to say the “Latin” category and types in the word “slow” to pull all Latin songs with “slow” in the description, the [wp_eStore_product_search] function pulls all songs from all categories with the word “slow” in the description. That’s problem number 1.
Problem number 2 is that it’s just a list of descriptions. It doesn’t actually filter these products from the category list generated by [wp_eStore_category_products:category_id:1:end]. It just lists them and then still lists all the products in that category anyway.
This is what I want and I don’t know if it’s possible. I will pay for the plugin if it exists. I just need to know where to look.
I want the customer to go to say the page “Dance”, go to a search box, type in the words “Very Fast” and then have the page reload and list using the [wp_eStore_category_products:category_id:1:end] function only the products that have the words “Very Fast” in the description. They still need to be able to view the entire description (not just the first line which is happening now) and listen to the song. In short, I am looking for a filter for each products page because I have some categories with over 300 products.
Is this possible or am I out of luck?
Going through the checklist below, I did search the forum and found no satisfactory answers to my question. Yes, I did try to search with add to cart feature but that still lists all categories and doesn’t allow them to listen to the song first.
As for forum rule number 3, no I am not asking you to customize this plugin, I am asking if there is another plugin in your products that will do what I want. I will even pay for it if it’s not free. But I need to have this search feature working the way I need it to because as it is right now, it’s of little use to me.
Thank you for any assistance you can give me in this matter.
May 28, 2014 at 5:14 am #63310adminKeymasterI think I understand what you are after. I will provide a few suggestions and see if any of this sounds good to you.
By default, the “product search” shortcode will search all products. You can specify an additional parameter in the shortcode to limit the search within a particular category.
For example, the following will search products (for the given keyword) within category 1:
[wp_eStore_product_search category_id="1"]
There is another product search shortcode that you can use to show the result with the add to cart button.
[wp_eStore_product_search_with_add_to_cart_button]
You can add that “category_id” parameter to limit the search within a particular category for this shortcode. Example usage below:
[wp_eStore_product_search_with_add_to_cart_button category_id="1"]
I think existing search shortcode is working nicely as to how a search functionality should work. You search for a keyword, it lists a bunch of result then you can click on a link to go to the details page of the item/product that the user is interested in. Remember, you can configure a landing/details page for each of your products and the search result will show that link.
With that said, I think what you are really after is a “Filter”. I think we can add a search option in the following addon that would work like a filter.
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-browse-products-by-category-addon-2056
What do you think of that?
May 28, 2014 at 10:23 am #63311wagtunesMemberYes, a filter is pretty much what I’m looking for and your suggestion would work perfectly. I would even be willing to pay for this customization. Thank you for your assistance.
** EDIT ** will I be notified here when the programming is completed?
May 29, 2014 at 6:12 am #63312adminKeymasterWe have added a search option in the browse products by category addon. Please re-download that addon now and give it a go.
May 29, 2014 at 11:36 am #63313wagtunesMemberThank you very much. This will do nicely. Appreciate the prompt response to this issue.
-
AuthorPosts
- You must be logged in to reply to this topic.