Plugin Author
ILLID
(@mihail-barinov)
Hi,
Well its the problem of the theme that you are using.
If your theme supports woocommerce that its probably has special template to display search results.
So you need to find this template. Its must contain something like
<?php while ( have_posts() ) : the_post(); ?>
<?php // custom content ?>
<?php endwhile; // end of the loop. ?>
You must modify it to something like
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php // custom content ?>
<?php endwhile; // end of the loop. ?>
<?php else : ?>
<?php echo 'Nothing found!'; ?>
<?php endif; ?>
-
This reply was modified 8 years, 11 months ago by
ILLID.
Hey, thanks for the reply!
I will forward your message to the theme developers. Maybe they can help further.
Cheers!
Hi again,
I received the following feedback from the theme developers:
“We have installed the plugin, but the issue does not happen on our end. It works perfectly fine with the search results and it provides a nothing found message properly.
There is something affecting the plugin on your site”
There’s btw a further issue – when results are shown, the space for the sidebar is reserved, but nothing from the sidebar is being loaded. The sidebar in question works properly on the other associated pages.
Do you eventually have a list with incompatible plugins that break any function of AWS?
Thanks
Hi,
I found out where the problem with the broken page comes from (when there are no results).
It’s caused by the following code in the functions.php, which is added in order to remove the loop from the shop’s home page domain.com/shop/ (because I have to remove it!):
https://businessbloomer.com/woocommerce-remove-loop-shop-page/
Do you eventually have an idea how to fix the issue and keep the product loop removed from the shop’s home page? Also, how can I redirect the user properly to a custom built “nothing found” page which is more user friendly and effective?
Still can’t fix the issue with the missing sidebar that I mentioned above.
Thanks!
Hey Mihail,
can you help with my issues?
Thanks