Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Adding Search to Products in Store
Tagged: customize search, product search
- This topic has 11 replies, 3 voices, and was last updated 8 years, 9 months ago by admin.
-
AuthorPosts
-
February 17, 2012 at 11:53 pm #5572lvdesignerMember
Hi,
The standard search tool on my WP 3.3.1 site is not searching the products in the WP eStore. The site is a florist shop so when someone enters “Rose” we want all of the products with roses to show in the search results. I see from the forum that there is a search short code, but I can’t find instructions anywhere on how to use it. Ultimately, I would like to have a Search button in my widgit area that searches the pages, blog, and store and returns results from each in one list. Is this possible?
I am grateful in advance for your advice. http://beachcitiesblooms.com
lvdesigner
February 18, 2012 at 5:08 am #42086adminKeymasterWordPress’s default search only searches your WP Posts, pages, categories etc. It doesn’t know about the products database.
WP eStore has shortcodes that you can place on a page, post or sidebar to allow your users to search your products. Please check the shortcode list of the extra Shortcodes plugin:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
February 18, 2012 at 6:40 am #42087lvdesignerMemberThanks. I’ve downloaded and installed the plug-in and have pasted the short code onto a page and into the widget area (in text field). The code shows on the pages, not the search option. Is there documentation to tell me how to make it work?
lvdesigner
February 18, 2012 at 11:32 pm #42088adminKeymasterPlease post a link to the page where you are using it, what shortcode you are using and let me know what version of the plugin you are using.
February 19, 2012 at 3:24 am #42089lvdesignerMemberThanks!
WP eStore Plug-in version 4.8.5
Extra Short Codes Plug-in Version 2.9
Page with shortcode:
http://beachcitiesblooms.com/search published but not linked to a menu.
It is also in a Text widget in the right hand column of most pages.
[wp_eStore_product_search]
[wp_eStore_product_search_with_add_to_cart_button]
I appreciate your input. Thank you for your time.
February 19, 2012 at 6:46 am #42090adminKeymasterYou need to update the extra shortcodes plugin. You can download the latest build from here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
While you are at it also update the eStore plugin from here:
March 7, 2012 at 12:48 am #42091lvdesignerMemberOk,
I have updated the storefront and the short codes, and in fact I do now have search. If I type in Rose, I get a list of all of the arrangements that have roses, and the price. So this is progress.
BUT, what I was hoping for was for a link to each of the arrangements so the person looking for roses would see the inventory, just like when someone searches the rest of the site. How do I achieve this??
Grateful your your continued help!
pamela
March 7, 2012 at 3:47 am #42092adminKeymasterIf you specify a value in the “Product Page URL” field of the products in question then the search result will link the product name to the corresponding page where you have the full details of the product.
March 7, 2012 at 5:07 pm #42093lvdesignerMemberThanks. I just replaced 100 product pages with the shop.
I’ve used the “search with buy now button” short code and have implemented a work around. It’s better than nothing. Let me know what you think. Have a better implementation? (the search results are too wide to have in the widget area so I put them on their own page).
http://beachcitiesblooms.com/any-all-occasion-arrangements click the Product Search link in the widget area.
I truly am grateful for your time.
March 7, 2012 at 10:50 pm #42094adminKeymasterLooks very good to me.
January 29, 2016 at 7:13 pm #42095fofaMemberHi!
Am running wordpress 4.4.1 2012
WP eStore 7.2.7
I put this code into a text widget in the sidebar for search
[wp_eStore_product_search]
Moving along, is there any certain way the search function is geared? I have at least 20 listings of “blue beads”. Typing in “blue beads” brings back no search results. Typing in “blue”, they show up. Is there any way to fine tune search instead of inserting a blurb explaining to keep search terms as short as possible?
January 30, 2016 at 2:12 am #42096adminKeymasterThe full name of the product search should show that product also. There is nothing that says the search keyword can only be one word long.
Do you have the keyword “blue beads” in your product name?
-
AuthorPosts
- You must be logged in to reply to this topic.