Products not showing
-
Hi,
We’re having issues with products not being visible due to incorectly marked as out of stock. For example product is out of stock for some variations and in stock for some. We have “hide products out of stock enabled”. But no matter what quantity i set for the particular product it refuses to show. Even through it shows as in stock in products section.
The only fix for now is to create new variations for the product or ” turn off hide products out of stock”
What can be wrong?
I have exported products in to csv and checked all the data and can’t find anything wrong.
Currently about 200 products are affected.
The page I need help with: [log in to see the link]
-
Hi there,
That does not sound like expected behavior. By default, even if the “hide out of stock products” setting is enabled, variable products should be visible in the Shop as long as one of the variations has stock available.
It’s possible something in your custom “Airi” theme could be causing that display to be changed from the default behavior (or perhaps something in another plugin).
To check to see if this is the case, please temporarily switch your theme back to Storefront and disable all plugins except for WooCommerce, then check to see if the issue is fixed. If it is, then you can switch your theme back and reactivate plugins one-by-one until you find the one that is causing the issue.
You can read about testing for conflicts in our documentation here:
https://docs.woocommerce.com/document/how-to-test-for-conflicts/If you are still having trouble, please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply. Please note that since this is a public forum, you may want to remove any sensitive information that you don’t want shared publicly.
I hope that helps!
Hello,
it didn’t help. I disabled all the plugins except woocommerce and switched to twenty twenty theme.
i also found out it was not showing particular product with one variation when “hide out of stock” is enabled. The variation did have 1 in stock. The only thing that worked for me was to delete all attributes and variations and add attribute back and create a new variation. Then the product would show up. This would be a long process to do on other affected products.Also few other points:
” Stock Display Format ” Any option selected does not appear to be doing anything to the website. It never shows quantity or low quantity when the option is selected.Woocommerce/report/stock/out of stock does not match with products/out of stock and woocommerce admin / stock report does show out of stock items correctly.
I suppose woocommerce report should match with woocommerce admin report. Why is it not?
Here’s the status:
### WordPress Environment ### WordPress address (URL): https://www.balnecroftcountry.co.uk Site address (URL): https://www.balnecroftcountry.co.uk WC Version: 4.1.0 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.5 WC Admin Version: ? 1.1.1 Log Directory Writable: ? WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: ? ### Server Environment ### Server Info: nginx/1.16.1 PHP Version: 7.3.17 PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.44-MariaDB-0ubuntu0.18.04.1 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.1.0 WC Database Prefix: Total Database Size: 128.17MB Database Data Size: 110.36MB Database Index Size: 17.81MB woocommerce_sessions: Data: 7.29MB + Index: 0.36MB + Engine MyISAM woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_order_items: Data: 0.38MB + Index: 0.23MB + Engine MyISAM woocommerce_order_itemmeta: Data: 2.12MB + Index: 1.66MB + Engine MyISAM woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM actionscheduler_actions: Data: 1.50MB + Index: 0.48MB + Engine InnoDB actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB actionscheduler_logs: Data: 0.38MB + Index: 0.33MB + Engine InnoDB ced_umb_ebayprofiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ced_umb_ebay_description_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ced_umb_ebay_feedback_messages_replies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ced_umb_ebay_messages_on_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ced_umb_ebay_message_replies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ced_umb_ebay_product_feedbacks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB commentmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM comments: Data: 0.85MB + Index: 0.42MB + Engine MyISAM links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM litespeed_img_optm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM litespeed_optimizer: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB nextend2_section_storage: Data: 0.05MB + Index: 0.03MB + Engine InnoDB nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB nextend2_smartslider3_sliders: Data: 0.03MB + Index: 0.00MB + Engine InnoDB nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.00MB + Engine InnoDB nextend2_smartslider3_slides: Data: 0.06MB + Index: 0.00MB + Engine InnoDB nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_action_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_object_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM options: Data: 8.44MB + Index: 0.71MB + Engine MyISAM postmeta: Data: 10.52MB + Index: 5.68MB + Engine MyISAM posts: Data: 2.63MB + Index: 0.64MB + Engine MyISAM redirection_404: Data: 2.14MB + Index: 1.00MB + Engine MyISAM redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM redirection_items: Data: 0.04MB + Index: 0.06MB + Engine MyISAM redirection_logs: Data: 0.19MB + Index: 0.06MB + Engine MyISAM regenerate_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_sliders: Data: 0.05MB + Index: 0.00MB + Engine InnoDB revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_slides: Data: 0.14MB + Index: 0.00MB + Engine InnoDB revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB sbi_instagram_posts: Data: 0.17MB + Index: 0.00MB + Engine InnoDB simple_history: Data: 0.58MB + Index: 0.17MB + Engine MyISAM simple_history_contexts: Data: 3.77MB + Index: 1.62MB + Engine MyISAM strong_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB termmeta: Data: 0.25MB + Index: 0.07MB + Engine MyISAM terms: Data: 0.22MB + Index: 0.39MB + Engine MyISAM term_relationships: Data: 0.21MB + Index: 0.48MB + Engine MyISAM term_taxonomy: Data: 0.26MB + Index: 0.24MB + Engine MyISAM usermeta: Data: 0.95MB + Index: 0.88MB + Engine MyISAM users: Data: 0.11MB + Index: 0.12MB + Engine MyISAM wcrw_request_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wcrw_request_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wcrw_warranty_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wc_category_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wc_customer_lookup: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wc_gpf_render_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wc_order_product_lookup: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wc_order_stats: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wc_order_tax_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wc_product_meta_lookup: Data: 0.14MB + Index: 0.18MB + Engine MyISAM wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wfblockediplog: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wfconfig: Data: 1.25MB + Index: 0.00MB + Engine InnoDB wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wffilemods: Data: 38.58MB + Index: 0.00MB + Engine InnoDB wfhits: Data: 2.02MB + Index: 0.22MB + Engine InnoDB wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wfknownfilelist: Data: 17.52MB + Index: 0.00MB + Engine InnoDB wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wflogins: Data: 0.38MB + Index: 0.14MB + Engine InnoDB wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wfstatus: Data: 1.02MB + Index: 0.09MB + Engine InnoDB wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB woobe_history: Data: 0.02MB + Index: 0.05MB + Engine InnoDB woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB woocommerce_gpf_google_taxonomy: Data: 0.86MB + Index: 0.00MB + Engine MyISAM woocommerce_square_customers: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yoast_indexable: Data: 3.52MB + Index: 0.48MB + Engine InnoDB yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.14MB + Engine InnoDB yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB yoast_seo_links: Data: 0.10MB + Index: 0.02MB + Engine MyISAM yoast_seo_meta: Data: 0.18MB + Index: 0.20MB + Engine MyISAM ced_ebay_shipping_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 1704 cookielawinfo: 3 custom_css: 1 customize_changeset: 3 envira: 1 la_block: 6 la_portfolio: 1 la_testimonial: 4 logoshowcase: 14 nav_menu_item: 338 page: 60 post: 3 product: 429 product_variation: 1303 revision: 174 rttpg: 7 shop_coupon: shop_order: shop_order_refund: sp_wps_shortcodes: 1 wcct_countdown: 1 wcps: 2 wpcf7_contact_form: 3 wpm-testimonial: 1 yith_wcps_type: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (32) ### Autoptimize: by Frank Goossens (futtta) – 2.7.1 Contact Form 7: by Takayuki Miyoshi – 5.1.7 GDPR Cookie Consent: by WebToffee – 1.8.8 custom inline css for autoptimize: by – Delivery Countdown Timer: by Arul Jayaraj – 1.0 Envato Market: by Envato – 2.0.3 Exit Popup: by Brontobytes – 2.1 Facebook for WooCommerce: by Facebook – 1.11.2 Site Kit by Google: by Google – 1.8.0 Smash Balloon Instagram Feed: by Smash Balloon – 2.4.1 WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 LA-Studio Header Builder: by LA-Studio – 1.1 LA-Studio Core: by LA-Studio – 1.1.2 Login No Captcha reCAPTCHA (Google): by Robert Peake – 1.6.9 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3.2 Redirection: by John Godley – 4.7.2 Simple History: by P?r Thernstr?m – 2.33.2 Smart Slider 3: by Nextend – 3.3.28 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.23 W3 Total Cache: by BoldGrid – 0.13.3 Premmerce Permalink Manager for WooCommerce: by premmerce – 2.1.14 – Installed version not tested with active version of WooCommerce 4.1.0 Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.5.5 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Stripe Gateway: by WooCommerce – 4.3.3 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Google Analytics Integration: by WooCommerce – 1.4.21 WooCommerce Square: by WooCommerce – 2.1.4 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce: by Automattic – 4.1.0 Wordfence Security: by Wordfence – 7.4.7 Yoast SEO Premium: by Team Yoast – 14.0.4 Asset CleanUp: Page Speed Booster: by Gabriel Livan – 1.3.6.2 WP Mail SMTP: by WPForms – 2.0.1 WP Maintenance Mode: by Designmodo – 2.2.4 Yoast SEO: WooCommerce: by Team Yoast – 13.0 ### Inactive Plugins (6) ### Airi Package Demo Data: by LA Studio – 1.0.2 Scanventory Pro: by Scanventory.net – 1.1.4 Slider Revolution: by ThemePunch – 6.1.8 WooCommerce Admin: by WooCommerce – 1.1.1 Woocommerce Ebay Integration: by CedCommerce <cedcommerce.com> – 1.0.5 – Installed version not tested with active version of WooCommerce 4.1.0 Yoast SEO: by Team Yoast – 14.0.4 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php maintenance.php: maintenance.php object-cache.php: object-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) 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: #14070 - /shop/ Cart: #14071 - /cart/ Checkout: #8 - /checkout/ My account: #14072 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Airi Child Version: 1.0 Author URL: https://themeforest.net/user/LA-Studio?ref=LA-Studio Child Theme: ? Parent Theme Name: Airi Parent Theme Version: 1.1.4 Parent Theme Author URL: https://themeforest.net/user/LA-Studio?ref=LA-Studio WooCommerce Support: ? ### Templates ### Overrides: airi/woocommerce/archive-product.php airi/woocommerce/cart/cross-sells.php airi/woocommerce/content-product.php airi/woocommerce/content-single-product.php airi/woocommerce/global/quantity-input.php airi/woocommerce/loop/add-to-cart.php airi/woocommerce/loop/loop-end.php airi/woocommerce/loop/loop-start.php airi/woocommerce/loop/orderby.php airi/woocommerce/loop/pagination.php airi-child/woocommerce/loop/sale-flash.php airi/woocommerce/product-searchform.php airi/woocommerce/single-product/price.php airi/woocommerce/single-product/product-image.php airi/woocommerce/single-product/related.php airi/woocommerce/single-product/sale-flash.php airi/woocommerce/single-product/tabs/tabs.php airi/woocommerce/single-product/up-sells.php ### Square ### Environment: Production Tokenization Enabled: ? Debug Mode: Off ### Action Scheduler ### Complete: 1,716 Oldest: 2020-04-13 03:00:26 +0000 Newest: 2020-05-14 00:29:51 +0000 Pending: 5 Oldest: 2020-05-14 00:44:51 +0000 Newest: 2020-05-15 04:42:24 +0000
Any update on this one please?
Don’t really know what else to try. Products that are set as in stock are simply not showing up when “hide out of stock items” is on.
It’s affecting about half of simple and variable products.
This is 1 example of product that is not showing up when i enable hide feature
https://www.balnecroftcountry.co.uk/pewter-flying-duck-cufflinks/I’m still awaiting resolution for this. Can someone please clarify what ” Hide out of stock items from the catalog” actually does? It clearly is not looking for stock levels only.
.
- This reply was modified 4 years, 6 months ago by donlee101.
Hi there,
I suppose woocommerce report should match with woocommerce admin report
Yes, generally those should match up — if they are not, then it is most likely related to whatever is causing the other issue with products not showing up.
Can someone please clarify what ” Hide out of stock items from the catalog” actually does? It clearly is not looking for stock levels only.
By default, if the “Hide out of stock items from catalog” setting is enabled, then any products with a
_stock_status
ofoutofstock
in the_postmeta
table will not appear on the Shop or archive pages.If that data is not set correctly (missing or corrupt), then that setting may not work correctly.
To check this, I would recommend exporting all of your products to CSV using the built-in import/export functionality:
https://docs.woocommerce.com/document/product-csv-importer-exporter/Then open up the CSV file and check those values on the products. If they do not look right, then you can update the values for those in the CSV file, and then either re-import and merge/update the products, or delete all your products and re-import them fresh.
I would recommend taking a complete backup of the site before this, just in case:
https://docs.woocommerce.com/document/backup-wordpress-content/I hope that helps!
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.
- The topic ‘Products not showing’ is closed to new replies.