This topic has 27 replies, 4 voices, and was last updated 10 years, 6 months ago ago by Eva Kemp
The search is flawed and shows all of our pages (even draft and private pages). The bigger problem is it doesn’t search product tags. So, unless a customer knows the exact name of the item, the search shows 0 results.
Can you please help with one of these solutions:
A. Provide the code/file name to search only product tags/taxonomy.
– OR –
B. Help us replace the native Legenda search in header.php with the premium plugin Woocommerce Predictive Search Pro (a very popular plugin with extensive search capabilities). Here is the code that needs to replace the Legenda search code in header.php:
<?php
$ps_echo = true ;
if ( function_exists( ‘woo_predictive_search_widget’ ) ) woo_predictive_search_widget( $ps_echo );
?>
We appreciate your help.
Thank you.
Hello,
Unfortunately we don’t have features for tags search.
You can add the woocommerce code in header.php yourself. Just create a child theme.
If there are some difficulties we can add the code for you, but before create a child theme or provide us with FTP credentials.
Regards,
Eva Kemp.
I already have a child theme set up. As I noted in my original post, I was asking you to tell me where to place the predictive search widget in header.php to replace the Legenda search with the Predictive search.
This is the Predictive search code:
<?php
$ps_echo = true ;
if ( function_exists( ‘woo_predictive_search_widget’ ) ) woo_predictive_search_widget( $ps_echo );
?>
Where should I place it in header.php to replace the Legenda search bar?
Posting this info in the forum can be useful for other people who want to use this popular search plugin.
Thank you
Hello,
Our search form works with the code <?php echo etheme_search(array()); ?>
, which you can find in header.php. But you should ask the plugin author how and where to insert the code you’ve provided.
Regards,
Eva Kemp.
Hi,
Unfortunately you didn’t answer my question. I hope I don’t have to wait another full day before I receive a reply. The plugin author has instructions to add the code:
<?php
$ps_echo = true ;
if ( function_exists( ‘woo_predictive_search_widget’ ) ) woo_predictive_search_widget( $ps_echo );
?>
to the header.php. However, header.php has several instances of “etheme_search”. That’s why only you can answer how to replace the Legenda search with the Predictive search. I’ve tried to replace all instances, but it broke the site.
Please reply with the lines of code that should be replaced with
<?php
$ps_echo = true ;
if ( function_exists( ‘woo_predictive_search_widget’ ) ) woo_predictive_search_widget( $ps_echo );
?>
Thank you.
Hello,
Open header.php file, find <?php echo etheme_search(array()); ?>
(lines 206 and 215) and replace by code you want to display instead of our search form.
Regards,
Olga Barlow
That’s a little closer. It didn’t break the site and it did remove the Legenda search, but it didn’t replace it with the Predictive Search. There seems to be a step missing in your instructions above.
Hello,
Is this code
<?php
$ps_echo = true ;
if ( function_exists( ‘woo_predictive_search_widget’ ) ) woo_predictive_search_widget( $ps_echo );
?>
working fine with default theme?
Regards,
Olga Barlow
Yes, this plugin works seamlessly with other themes. We’re currently using it on a website with the Maya theme.
Hello,
Please provide us with FTP and admin panel credentials in Private Content.
Regards,
Eva Kemp.
i also need help with this, please help.. how to integrate Woocommerce Predictive Search Pro
Hello @coolashish,
Open header.php file, find <?php echo etheme_search(array()); ?>
(lines 206 and 215) and replace with the code you want to be displayed instead of our search form. If it doesn’t work then please provide us with FTP and wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
Our requests and info is in the private area. Thank you.
Hello,
1. Please provide us with FTP credentials as well to be able to create files in the child theme.
2. Try to add the following code in functions.php file:
wp_dequeue_script( 'prettyPhoto' );
wp_dequeue_script( 'prettyPhoto-init' );
3. Is Woocommerce Wishlists plugin working with default theme? We’d recommend you to contact Woocommerce support regarding this issue.
4. The price block has been moved to the left as you requested.
5. To fix this issue you have to disable Ajax filter in Theme Options > Shop > Enable Ajax Filter > off.
6. We provide plugins of the latest versions with the theme archive when a new release is produced. But if there is an update for some plugin you have to buy it yourself or wait for the future theme release which will have all updated plugins implemented.
Regards,
Eva Kemp.
Thank you for looking into this.
1. I already provided FTP credentials in my previous post (same as admin).
2. This didn’t work — the lightbox is still in effect on the product image.
3. Yes, Woocommerce Wishlists works out of the box with other themes (as I noted, we currently use it on our live site with the Maya theme). This is not a Woocommerce issue, but something being blocked by Legenda since you hard-coded YIT Wishlist into the theme. Can you please help replace YIT Wishlist with Woocommerce Wishlists (which is a premium theme).
4. My request was to have the price moved down and to the left of the “Add to Cart” button. This wasn’t done. Please indicate css to change so I understand what needs to be done to move it.
5. This got rid of the spinning icon, but the loading time is incredibly long and the website still very slow overall.
** Please let us know what changes you make on our site so we can properly troubleshoot.
Thank you!
Hello,
I’m unable to log in to wp-admin panel anymore as well as to FTP. Have you changed the password?
And what is the host name for FTP to connect?
If you have problem with site loading you should describe it in this topic that was created specially for such troubles: https://www.8theme.com/forums/topic/slow-site-loading/
Thank you.
Regards,
Eva Kemp.
I haven’t changed anything, but here is the info again (in private).
Thank you.
re:
If you have problem with site loading you should describe it in this topic that was created specially for such troubles: https://www.8theme.com/forums/topic/slow-site-loading/
I’ve already given you the information in a previous post in this topic and noted it previously in the “slow-site-loading” post.
** Please look into this along with the other issues I have noted. We have a Query Monitor plugin which clearly shows the slow load time and php errors. The slow site load is becoming an increasing issue with your customers. There are likely many people who don’t have time or know to post to the forum that have the same problems with Legenda.
Hello,
1. I’ve replaced the code of our search form with woo predictive search widget. Please check it and clear the cache before.
2. There is a bug with lightbox in our theme and should be fixed in the next update.
3. We recommend you to use default wishlist plugin with the theme as Woocommerce Wishlists plugin requires additional customization in the original template files. Or you can create a ticket at https://support.8theme.com/ and our specialists will look into this issue.
4. The price has been placed below the “Add to cart” button. Please check.
Regards,
Eva Kemp.
Thank you for looking into this. Just a couple of follow-ups:
1. Works great! Can you please tell me what file you changed/code added so we can troubleshoot when we have updates.
2. Do you have an update on the ETA? If not, can you please post a work-around here. The lightbox looks awful — it’s smaller than the original image. We will have a hover Pinterest button so cannot use the zoom, either.
3. The default wishlist plugin does not accommodate product variations. This means if a customer adds a product to their wishlist, the product does not contain any of the many variations we offer. Woocommerce Wishlist specifically accommodates variable products — hence the reason why we paid extra for the plugin. Without being able to log the variations, the built-in Legenda wishlist feature is useless to us. I’ve posted a separate forum post on this topic for a specialist to look into.
4. Sorry, I think there was a miscommunication here. The price is still off. I’ve posted images in the private section to illustrate the problem and the solution we’d like to see. Also, the Ajax “calculation” spinner has now stopped working. Can you please reinstate it.
Your help is greatly appreciated.
Hello,
1. We just replaced the code of our search form with the code of woocommerce search widget. So everything was done as described in our previous instruction.
2. Unfortunately we don’t have ETA. Sorry but this is required much customization and you have to wait for the theme update.
3. We’ve replied to you in the new topic you created regarding this issue.
4. The price has been placed above the “Add to cart” button. “Total” block is linked to “Invitation Details” block and if it’s moved there is a mess with “Invitation Details”. In this case you’d better contact our specialists at http://support.8theme.com/
Also “calculation” spinner is working from our side.
Regards,
Eva Kemp.
2. There seems to be a lot of bugs in this theme that aren’t fixed very quickly. Not being able to turn off the lightbox or zoom means we cannot use a Pinterest image hover pin, which is an important element of our website. There has to be a workaround to turn off all lightbox functionality in the meantime. Please reply with this fix, either through CSS or by commenting out some of the php on the product page.
4. Can you please reply with what file or CSS you changed to move the price. It’s important that we properly track these changes.
Thank you.
Hello,
Please create a ticket at http://support.8theme.com/ and our developers will investigate what can be done to disable Lightbox at all.
To change the price location we’ve edited custom.css file in the original legenda directory (not child theme). You can check that file.
Regards,
Eva Kemp.
To change the price location we’ve edited custom.css file in the original legenda directory (not child theme). You can check that file.
Can you please be specific about what CSS you added. We have a rather large custom css file.
Thank you
Hello,
Sorry for misunderstanding.
We changed the code in custom.css to make the price shown under the “Add to cart” button. But when you said it should be above the button, we removed the code, and the price was over the button by default.
Regards,
Eva Kemp.
I created a ticket last week about the lightbox bug and still have not heard anything back. Can you please let me know what is being done about this bug?
Ticket: MHC-321-13831
(please disregard about the part about the pricing location. we have resolved this ourselves.)
Hello,
Your ticket is being reviewed and you’ll receive an answer during the day.
Please take our apologies for the delay.
Regards,
Eva Kemp.
The issue related to '‘Problem With Search Results’' has been successfully resolved, and the topic is now closed for further responses