Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to Customize eStore Search Results
Tagged: search results
- This topic has 7 replies, 3 voices, and was last updated 11 years, 8 months ago by
wzp.
-
AuthorPosts
-
March 9, 2014 at 5:09 am #9708
plancer10
MemberHi, I am using [wp_eStore_product_search_with_add_to_cart_button] short-code but its search results displaying a very small thumbnail image with name and price. Please help me on how can I customize below items:
1. Increase the thumbnail image size on Search Results display.
2. How to remove Product,Name,and Price from the search results header.
3. How to center align the Search Results on the page.
March 9, 2014 at 5:21 am #61423wzp
ModeratorHave you tried the same solution as your other thread?
The approach is very similar, except that you will look for:
wp_eStore_product_search_with_add_to_cart_button_handler()
instead of:
wp_eStore_product_search_handler()
March 10, 2014 at 5:57 pm #61424plancer10
MemberHi, I want to say that when I used the short-code[wp_eStore_product_search_with_add_to_cart_button] and while using it on actual application and search using a search term it displays search results and I want to change those search results display. (It seems that you have called some function for displaying the products after search). So for that results I need to customize below items:
1. Increase the thumbnail image size on “Search Results” display.
2. How to remove Product,Name,and Price from the “search results” header.
3. How to “center align the Search Results” on the results page.
March 11, 2014 at 2:51 am #61425admin
KeymasterGo inside that function and customize it. That function is in the “shortcode_include.php” file and the name of the function is:
print_eStore_add_to_cart_product_search_result
March 11, 2014 at 3:16 am #61426plancer10
MemberHi,
I can’t find “print_eStore_add_to_cart_product_search_result” function in “eStore-extra-shortcodes.php” file. Where else it can be?
March 11, 2014 at 3:21 am #61427plancer10
MemberHi, I just find it inside “shortcode_include.php”.
March 11, 2014 at 4:46 am #61428plancer10
MemberHi, I have found the function “print_eStore_add_to_cart_product_search_result” but Can you please tell me where should I exactly change the code so that “Search Results” should NOT display Table Header “Product Name” and “Price”?
March 11, 2014 at 2:55 pm #61429wzp
ModeratorWhere it says:
$output .= ‘<th>’.ESTORE_PRODUCT_NAME.'</th>’; $output .= ‘<th>’.ESTORE_PRICE.'</th>’;
-
AuthorPosts
- You must be logged in to reply to this topic.