Home › Forums › WoodMart support forum › Empty search results
Empty search results
- This topic has 14 replies, 2 voices, and was last updated 1 year, 8 months ago by
Elise Noromit.
-
AuthorPosts
-
June 3, 2023 at 4:02 pm #472373
kubaParticipantHi,
when I search for product It’s found in the Relevanasi (attachment) but when I go to the search results page, it’s empty: https://zbawcy.pl/?s=aromabar&post_type=productWhat’s wrong ?
Attachments:
You must be logged in to view attached files.June 4, 2023 at 12:17 am #472425
Elise NoromitMemberHello,
Please make the full backup of your site and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by WooСommerce.
If you see the same on the Storefront, please deactivate all the plugins except these ones:
Slider Revolution
WPBakery Page Builder or Elementor
Woodmart Core
Contact Form 7
MailChimp for WordPress
WooCommerce
Safe SVGIf the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
In case, the problem remains, even after all the plugins are deactivated, provide your site admin access (insert the site credentials into the Private content block under the message area) and confirm the permission for plugins deactivation, switching to the parent or default theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.
Best Regards
June 8, 2023 at 2:18 pm #473564
kubaParticipantI’m submitting you the access to the test site, maybe it’s litespeed cache ? So the issues are:
– search doesn’t work as it should. Searching for Arombar product, and when I want to check all the results it’s empty here is movie https://share.cleanshot.com/vTyYs8SR
– there is a issue with wishlist and compare (probably cash related) https://share.cleanshot.com/cbNzCB4r
– also with the credentails you can check this https://xtemos.com/forums/topic/mobile-menu-dropdown-on-click/#post-472460 – when i click on the # anchor in menu in mobile it doesn’t expand I need to click in the arrow only (so it’s confusing)June 9, 2023 at 11:17 pm #473904
Elise NoromitMemberHello,
1. WoodMart theme does nto influence the default product search. Please make the full backup of your site and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by WooСommerce.
2. Please add Wishlist and Compare pages to the exclusion of the cache plugin.
3. Unfortunately, for now, it works as it does. We will consider adding the feature in our future updates. We cannot promise we will add it to the nearest update.
If you have any questions please feel free to contact us.
Best Regards
June 9, 2023 at 11:20 pm #473906
kubaParticipantAd.1 Please check on the test site. The search is made through the plugin relevanasi you recommended.
Ad2 they are excluded I’m not sure that it’s the fault of
litespeed and how to fix itJune 12, 2023 at 11:45 pm #474420
Elise NoromitMemberHello,
Yes, we see the problem, at the same time as soon as we disable the plugins, the problem disappears: https://monosnap.com/file/8kAKO4TRBCMaMddYfXff5x4DxzhaFy
Please deactivate all the plugins except these ones:
Slider Revolution
WPBakery Page Builder or Elementor
Woodmart Core
Contact Form 7
MailChimp for WordPress
WooCommerce
Safe SVGIf the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
2. Please contact the host support and ask them to exclude the pages from the cache
Best Regards
June 12, 2023 at 11:51 pm #474421
kubaParticipantThere is no additional cache from what I understand even on the CloudFlare so you need to tell me what files to exclude or set it up correctly – regarding: compare, wishlist and search. You have full access to the staged website so you can check. The cache is LiteSpeed Cache.
June 13, 2023 at 12:39 pm #474570
kubaParticipantRegarding the search results I found the code snippet that prevents it from displaing, it’s needed as I don’t want to show items from selected categories in main catalog. So how to fix that?
The product aromabar is in this exclusion so this is probably the reason it shows empty.
Also in the search results preview there is no label on products out of stock.
Also it doesn’t fix the compare and wishlist// Exclude category from shop archive add_action( 'pre_get_posts', function( $query ) { if ( is_admin() || ! $query->is_main_query() ) { return; } if ( function_exists( 'is_product_taxonomy' ) && is_product_taxonomy() ) { return; } $tax_query = (array) $query->get( 'tax_query' ); $tax_query[] = [ 'taxonomy' => 'product_cat', 'field' => 'slug', 'operator' => 'NOT IN', 'terms' => [ 'wydarzenia', 'deli', 'akcesoria' ], ]; $query->set( 'tax_query', $tax_query ); } );
June 14, 2023 at 12:30 am #474718
Elise NoromitMemberHello,
We check and we see the pages of Wishlist and Compare are cached even when LightSpeed is deactivated. Please contact the host support and ask them to exclude the pages on the server level.
Best Regards
June 14, 2023 at 10:49 am #474817
kubaParticipantWhen I’m logged in on admin (where there is LiteSpeed excluded for loged in admins) the Compare and Wishlist works just fine. So I think this is the problem (setting up right js exclusions) not the server side. Can you please check
June 15, 2023 at 11:44 pm #475321
Elise NoromitMemberHello,
Please follow these documents and exclude the Wishlist and Compare pages: https://funnelkit.com/docs/checkout-pages/caching/litespeed-cache/
Best Regards
June 16, 2023 at 2:44 pm #475432
kubaParticipantI wrote that it’s already set this way but you can check
You have full access to the test pageMaybe it’s cookie or ajax loading cache issue
June 20, 2023 at 12:43 am #475947
Elise NoromitMemberHello,
Our deveopers have checked again, we see that you have excluded the pages from the cache and see the problem remains, please contact the cache plugin support, most likely problem is in the plugin.
Best Regards
June 20, 2023 at 11:19 am #476028
kubaParticipantThis is one of the most popular cache plugins it’s more in your interest to make it work than mine. Also probably there needs to be a exclusion of a cookie or js that handles compare and wishlist. It’s more probable that the issue is on your side than LS Cache but I think you should contact them not me.
June 22, 2023 at 12:56 am #476470
Elise NoromitMemberHello,
For now, we can guarantee full compatibility with Wp Rocket and we will consider integration with LiteSpeed.
We cannot promise we will be able to implement that in the nearest future. Please contact the plugin support for now.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register