- This topic has 3 replies, 2 voices, and was last updated 12 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore – Thumbnail size with search shortcode
Hi,
I added this shortcode: [wp_eStore_product_search_with_add_to_cart_button] in my sidebar. It works very well, however it add a thumbnail for each product. As I haven’t enough space in my sidebar, what I have to change if I want no thumbnail at all in the results? I’m unable to find the file where I can change it
Oh… and.. when i have for example 3 products found with search. As soon as I click the “add to cart button” for one of them, the product is added to the cart but all the results of my search disappear so I have to search again to add the second product…Is there a way to fix it?
You can change that thumbnail display by modifying the following function from the “shortcode_include.php” file:
print_eStore_add_to_cart_product_search_result
I have also made a little change to that plugin so after you perform a product search and add an item the search result will stay in the page so you can add more products to the cart. If you want this new option get a new build of the extra eStore shortcodes plugin from here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Hi,
Ok I’ve found that line: print_eStore_add_to_cart_product_search_result in Shortcod_include.php
BUT what I need to change if I don’t want the thumbnails in my search results?
Thanks for the change in the extra shortcode plugin.
This will need to be handled by custom coding modification. Please review the 3rd point on our forum rules and it will explain more:
https://support.tipsandtricks-hq.com/forums/topic/forum-rules