Woodmart search bar not showing product image
-
Hi,
Woodmart search bar is not showing product image in search ,until enter is pressed. 2-3 times we tried to find the issue by deactivating all plugins except wpbakery and woocommerce but couldn’t find it.
Hello,
Please, confirm the permission for plugins deactivation, and switching to the parent/default theme. As soon as we complete the testing we will enable it all back. Also, send me access to the admin panel.
Kind Regards.
Hello,
I would like to request temporary FTP access to the server files to take a better look at the issue there.
Thank you in advance.
Kind Regards
Hello,
Add the code below into the “functions.php” file in your child theme –
if ( function_exists( 'woodmart_ajax_suggestions' ) ) {
add_action( 'wp_ajax_woodmart_ajax_search', 'woodmart_ajax_suggestions', 10 );
add_action( 'wp_ajax_nopriv_woodmart_ajax_search', 'woodmart_ajax_suggestions', 10 );
}
Clear the cache and recheck the issue.
Kind Regards
Hi,
Now image showing issue solved but now search bar showing different result in search bar and after hit enter both result is too different with each other, screen shot below, and now plugin read draft product
Attachments:
You must be
logged in to view attached files.
Hello,
Most likely, you have some third-party plugin that excludes these products from WordPress search, but this is not a draft product, this is a regular public product and it is impossible to exclude it from the search.
https://monosnap.com/file/KTiEHDxCmEEjDbTL5WJBd0s6ieSgT5
Kind Regards