Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Product search function
Tagged: product search, search, search results, shortcodes
- This topic has 15 replies, 6 voices, and was last updated 7 years, 1 month ago by dnuttall.
-
AuthorPosts
-
April 10, 2013 at 8:30 am #8910moran1804Member
Hi Guys,
im using the [wp_eStore_product_search] function but this just displays a table of all the products that match the search but my digital products dont have there own page so this search shows all the products the search matches in a table with no option to buy or see the product.
is there a search function that does exactly the same thing but displays all the products that match the search in fancy 1 style?
many thanks
Mike M
April 10, 2013 at 11:01 pm #55017adminKeymasterHi Mike, Try the following shortcode:
[wp_eStore_product_search_with_add_to_cart_button]
This will show the search results with an add to cart button next to them.
We use a tabular display (rather than fancy ones) for the search result as it allows us to list a lot of products (the result) in a small space. It is a better way to display search result.
April 10, 2013 at 11:05 pm #55018wpCommerceModeratorAlso, each fancy display template is styled differently and therefore some products displayed in the search results may not be suitable for a particular type of fancy display.
April 11, 2013 at 2:30 pm #55019moran1804Memberthats absolutely great
just one question is it possible to have add to cart for non members and download for logged in members in the search function.
many thanks
Mike M
April 12, 2013 at 12:30 am #55020adminKeymasterWe don’t have that for search but this eStore addon could be handy for you:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-members-only-download-button-addon-1718
April 18, 2013 at 8:30 am #55021moran1804MemberI have that add-on and all my products show add to cart for non members and download for members. and i must say its amazing really really really good. but i would love the same functionality using this plugin with a search function? is it something that i can already do or something you can build into an update?
many thanks
Mike M
April 19, 2013 at 12:37 am #55022adminKeymasterHi Mike, if we get enough request for this feature then we can develop that feature:
March 23, 2014 at 11:18 pm #55023BeckyMemberIs there a way to do advanced searches of the products? I currently have this added to my page with the code [wp_eStore_product_search_with_add_to_cart_button] – [http://creativeheadwear.com/product-search/]. I can enter cap and get all caps or zebra and get all products made out of zebra material, but I don’t have a way to search for a cap in zebra material and get only zebra caps.
My version information:
Extra Shortcodes for WP eStore Version v4.6.6
WP eStore Version v7.0.7
WordPress 3.8.1
October 19, 2015 at 4:00 pm #55024videos2worshipSpectatorIs there a way to search a category and in the results to see product images only? Also, is there a way to have the latest products listed first in the search rezults?
Thanks
October 20, 2015 at 12:17 am #55025adminKeymasterYou want to search products from a category or just the category with the given keyword?
October 20, 2015 at 3:00 pm #55026videos2worshipSpectatorI want to search the category.
October 20, 2015 at 11:57 pm #55027adminKeymasterYou can do that by adding the search_category=”1″ parameter in the shortcode.
Here is an example shortcode usage:
[wp_eStore_product_search search_category=”1″]
November 10, 2015 at 4:28 pm #55028videos2worshipSpectatorThank you for your previous response.
Does the word “Search” need to appear two times (as posted above)? Also, Any way the search results can show thumbnails in a grid?
September 11, 2017 at 11:39 am #55029dnuttallMemberThe shortcode:
[wp_eStore_product_search search_category=”4″]
Shows results from ALL categories and only searches the product name.
Is that a bug or feature?
Thanks.
September 12, 2017 at 11:26 pm #55030adminKeymasterIt searches both the category name and category description. Do you have some text in the description field of your categories?
-
AuthorPosts
- You must be logged in to reply to this topic.