Default WordPress search page not showing WC Products when not logged in
-
Hi,
95% of our WooCommerce products are not showing up in our default WordPress Search page on the front-end. However, when we log in as a admin and use the form all products show up.
We compared the 95% with the 5% products that show up on the search results, without logging in, but see no differences that could cause them to not show.
Does anybody have experience with the same problem?
Ps: on our staging all products can be found on our search page, could it be that the search is having trouble with the amount of products? On live we have 82 product which are translated with WPML in 4 languages.
Pss: we enabled debug log, but no errors are popping up when using the search. Using another theme or disabling plugins has no effect, while the search is working on our staging with exact same setup.
- This topic was modified 2 years, 9 months ago by tomowow.
-
Hi @tomowow,
Do you have a caching plugin enabled? If so, you’ll want to purge all cache from it and then clear your browser’s cache.
If this doesn’t help, could you please share a copy of your site’s System Status so we can have a look at your setup?
You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Thanks.
Thanks for your fast response Mirko!
Yes we use W3 total cache, with page cache. The problem only exists on the live site, so emptying the cache will affect the page speed highly. In the settings we see that URIs with query string variables are not cached, so don’t think emptying the cache will help. Or can this help in any other way indirectly? If so, we will empty the cache of course to try!
Below you will already find the system report:
### WordPress Environment ### WordPress address (URL): https://gofluo.com Site address (URL): https://gofluo.com WC Version: 6.1.1 REST API Version: ? 6.1.1 WC Blocks Version: ? 6.5.2 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.0.3 Log Directory Writable: ? WP Version: 5.9 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: ? ### Server Environment ### Server Info: nginx/1.18.0 PHP Version: 7.4.16 PHP Post Max Size: 7 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 8.0.24 Max Upload Size: 7 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.1.1 WC Database Prefix: wp_ Total Database Size: 1025.54MB Database Data Size: 589.68MB Database Index Size: 435.86MB wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 5.03MB + Index: 2.44MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 32.06MB + Index: 33.22MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 8.52MB + Index: 8.22MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 6.52MB + Index: 4.55MB + Engine InnoDB wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_aelia_exchange_rates_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 33.08MB + Index: 26.13MB + Engine InnoDB wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_duplicator_pro_packages: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_fbv_attachment_folder: Data: 0.25MB + Index: 0.00MB + Engine InnoDB wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_mo_files_domains: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Data: 1.52MB + Index: 0.44MB + Engine InnoDB wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_strings: Data: 2.52MB + Index: 4.44MB + Engine InnoDB wp_icl_translate: Data: 4.44MB + Index: 0.34MB + Engine InnoDB wp_icl_translate_job: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status: Data: 7.36MB + Index: 0.22MB + Engine InnoDB wp_icl_translations: Data: 1.52MB + Index: 1.39MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 48.22MB + Index: 34.48MB + Engine InnoDB wp_postmeta: Data: 372.91MB + Index: 281.67MB + Engine InnoDB wp_posts: Data: 18.41MB + Index: 9.61MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.38MB + Index: 0.22MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 1.52MB + Index: 3.02MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 1.27MB + Index: 0.19MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 2.52MB + Index: 1.81MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 5.02MB + Index: 5.53MB + Engine InnoDB wp_wc_order_stats: Data: 2.52MB + Index: 4.50MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 1.52MB + Index: 0.52MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.27MB + Index: 0.41MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.31MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 1.02MB + Index: 0.16MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.45MB + Index: 0.17MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.13MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_gc_activity: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_gc_cards: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wt_iew_action_history: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 11.34MB + Index: 9.41MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 1.23MB + Index: 0.89MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 488 acf-field-group: 51 attachment: 8021 cwginstocknotifier: 2838 faq: 5 page: 106 post: 66 postman_sent_mail: 250 product: 325 product_variation: 1612 revision: 3288 shop_coupon: 299 shop_order: 21542 shop_order_refund: 798 usp: 13 wpcf7_contact_form: 15 wpcf7s: 2023 wpsl_stores: 136 wwp_requests: 21 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (42) ### WPML Multilingual CMS: by OnTheGoSystems – 4.5.2 Advanced Cron Manager: by BracketSpace – 2.4.2 Advanced Custom Fields PRO: by Delicious Brains – 5.11.4 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 2.6.1 WooCommerce ChannelEngine: by ChannelEngine – 2.4.5 Classic Editor: by WordPress Contributors – 1.6.2 Contact Form 7 Extension For Mailchimp: by Renzo Johnson – 0.5.55 Contact Form 7 Multilingual: by OnTheGoSystems – 1.1.0 Contact Form 7: by Takayuki Miyoshi – 5.5.4 Contact Form Submissions: by Jason Green – 1.7.1 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.4 Google Tag Manager for WordPress: by Thomas Geiger – 1.14.2 Facebook for WooCommerce: by Facebook – 2.6.9 FileBird Lite: by Ninja Team – 4.9.8 Flexible Checkout Fields: by WP Desk – 3.1.2 Klaviyo: by Klaviyo Inc. – 2.5.5 Mollie Payments for WooCommerce: by Mollie – 6.7.0 PixelYourSite: by PixelYourSite – 8.2.15 Post SMTP: by Yehuda Hassine – 2.0.23 Really Simple SSL: by Really Simple Plugins – 5.2.3 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 Safe SVG: by Daryll Doyle – 1.9.9 ShopWeDo e-fulfilment: by ShopWeDo.com – 1.2.0 TinyPNG - JPEG, PNG & WebP image compression: by TinyPNG – 3.3 W3 Total Cache: by BoldGrid – 2.2.1 Variation Swatches for WooCommerce - Pro: by Emran Ahmed – 1.1.18 Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.19 WooCommerce Conversion Tracking: by weDevs – 2.0.9 WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.7 WooCommerce EU VAT Assistant: by Aelia – 2.0.26.220104 WooCommerce Gift Cards: by SomewhereWarm – 1.7.4-dev WooCommerce Multilingual: by OnTheGoSystems – 4.12.5 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.12.1 WooCommerce Shipment Tracking: by WooCommerce – 1.6.15 Wholesale For WooCommerce: by wpexpertsio – 1.8.0 WooCommerce: by Automattic – 6.1.1 (update to version 6.2.0 is available) Wordfence Security: by Wordfence – 7.5.8 Yoast SEO: by Team Yoast – 18.0 WP Store Locator: by Tijmen Smit – 2.2.235 WPML Media: by OnTheGoSystems – 2.7.0 WPML String Translation: by OnTheGoSystems – 3.2.0 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.3 ### Inactive Plugins (2) ### Duplicator Pro: by Snap Creek – 3.8.7.1 WPML Translation Management: by OnTheGoSystems – 2.10.8 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php db.php: db.php object-cache.php: object-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #714 - /shop/ Cart: #63721 - /cart-2/ Checkout: #716 - /checkout/ My account: #717 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: GoFluo Version: 1.5.5 Author URL: https://owow.agency Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: gofluo/woocommerce/archive-product.php gofluo/woocommerce/cart/cart-empty.php version - is out of date. The core version is 3.5.0 gofluo/woocommerce/cart/cart-shipping.php gofluo/woocommerce/cart/cart-totals.php gofluo/woocommerce/cart/cart.php version - is out of date. The core version is 3.8.0 gofluo/woocommerce/cart/mini-cart.php version 3.7.0 is out of date. The core version is 5.2.0 gofluo/woocommerce/cart/proceed-to-checkout-button.php gofluo/woocommerce/checkout/form-billing.php gofluo/woocommerce/checkout/form-checkout.php gofluo/woocommerce/checkout/form-coupon.php gofluo/woocommerce/checkout/form-shipping.php gofluo/woocommerce/checkout/payment-method.php gofluo/woocommerce/checkout/payment.php gofluo/woocommerce/checkout/review-order.php version 3.8.0 is out of date. The core version is 5.2.0 gofluo/woocommerce/checkout/thankyou.php version - is out of date. The core version is 3.7.0 gofluo/woocommerce/content-single-product.php gofluo/woocommerce/emails/email-header.php gofluo/woocommerce/emails/email-styles.php gofluo/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0 gofluo/woocommerce/single-product/product-image.php gofluo/woocommerce/single-product/title.php Outdated Templates: ? Learn how to update ### Gift Cards ### Database Version: 1.7.4 Loopback Test: ? Task Queueing Test: ? ### Action Scheduler ### Complete: 13,337 Oldest: 2022-01-18 08:12:06 +0000 Newest: 2022-02-18 07:40:07 +0000 Failed: 5,258 Oldest: 2021-04-30 21:02:53 +0000 Newest: 2022-02-18 07:17:12 +0000 ### Status report information ### Generated at: 2022-02-18 07:49:23 +00:00
Hi @tomowow
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.
- The topic ‘Default WordPress search page not showing WC Products when not logged in’ is closed to new replies.