“Hide out of stock items” doesn’t work
-
Hi, i have these problems with woocommerce stock management:
-when the stock becomes 0 the item remains online even if the “Hide out of stock items from the catalog” flag is active and the style of the Add to Cart button changes
-the items are completely out of stock even if only one of the variations is missing
-the stock of many items it became 0 for no reason because to the supplier the stock is not 0
can someone help me please? thanksThe page I need help with: [log in to see the link]
-
Hi there!
This sounds like a conflict issue. Before we confirm that though, could you 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, paste it here in your response.
### WordPress Environment ### WordPress address (URL): https://milora.store Site address (URL): https://milora.store WC Version: 5.1.0 REST API Version: ? 5.1.0 WC Blocks Version: ? 4.4.3 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.0.2 Log Directory Writable: ? WP Version: 5.7 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.3.27 PHP Post Max Size: 1 GB PHP Time Limit: 300 PHP Max Input Vars: 3000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.2.36-MariaDB-log-cll-lve Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.1.0 WC Database Prefix: wpbo_ Total Database Size: 118.65MB Database Data Size: 114.64MB Database Index Size: 4.01MB wpbo_woocommerce_sessions: Data: 0.06MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpbo_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_actionscheduler_actions: Data: 1.60MB + Index: 0.52MB + Engine MyISAM wpbo_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_actionscheduler_logs: Data: 1.03MB + Index: 0.79MB + Engine MyISAM wpbo_adsw_ali_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_ce4wp_abandoned_checkout: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_cli_cookie_scan_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_options: Data: 1.57MB + Index: 0.10MB + Engine MyISAM wpbo_pickplugins_wl_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_postmeta: Data: 28.73MB + Index: 1.60MB + Engine MyISAM wpbo_posts: Data: 80.26MB + Index: 0.37MB + Engine MyISAM wpbo_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wpbo_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpbo_tinvwl_analytics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_tinvwl_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_tinvwl_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_usermeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpbo_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpbo_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_product_meta_lookup: Data: 0.06MB + Index: 0.06MB + Engine MyISAM wpbo_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_yoast_indexable: Data: 1.09MB + Index: 0.21MB + Engine MyISAM wpbo_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.12MB + Engine MyISAM wpbo_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpbo_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpbo_yoast_seo_links: Data: 0.12MB + Index: 0.03MB + Engine MyISAM ### Post Type Counts ### acoplw_badges: 1 attachment: 1494 br_labels: 3 cookielawinfo: 6 custom_css: 1 customize_changeset: 178 elementor_library: 3 elementor-hf: 3 nav_menu_item: 4 page: 16 polylang_mo: 22 post: 3 product: 75 product_variation: 605 revision: 2252 shop_order: 10 shop_order_refund: 1 user_request: 1 wishlist: 1 wobd-badge-designer: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (12) ### GDPR Cookie Consent: by WebToffee – 2.0.1 Elementor: by Elementor.com – 3.1.4 EPROLO-Dropshipping: by EPROLO – 1.2.1 Essential Addons for Elementor: by WPDeveloper – 4.5.5 Elementor - Header, Footer & Blocks: by Brainstorm Force Nikhil Chavan – 1.5.7 Ocean Extra: by OceanWP – 1.7.4 Country Based Restrictions for WooCommerce: by zorem – 2.9 EU/UK VAT Compliance for WooCommerce (Free): by David Anderson – 1.20.1 WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.0.17 WooCommerce: by Automattic – 5.1.0 WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 1.8.6 Yoast SEO: by Team Yoast – 16.0.2 ### Inactive Plugins (15) ### Akismet Anti-Spam: by Automattic – 4.1.9 Creative Mail by Constant Contact: by Constant Contact – 1.3.5 Dropship Me: by Vitaly Kukin – 1.0.3.13 Easy Fattura Elettronica Free: by webrook – 1.4.5 Elementor Addon Elements: by WP Vibes – 1.11.1 ElementsKit Lite: by Wpmet – 2.2.1 Facebook for WooCommerce: by Facebook – 2.3.3 Google Ads & Marketing by Kliken: by Kliken – 1.0.7 Mailchimp for WooCommerce: by Mailchimp – 2.5.1 PDF Invoices and Packing Slips For WooCommerce: by Acowebs – 1.0.8 Polylang: by WP SYNTEX – 3.0.3 Premium Addons for Elementor: by Leap13 – 4.2.7 PW WooCommerce Bulk Edit: by Pimwick LLC – 2.86 Templately: by Templately – 1.2.1 TI WooCommerce Wishlist: by TemplateInvaders – 1.24.4 ### 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: #6 - /online-shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #3 - /privacy-policy/ ### Theme ### Name: OceanWP Version: 2.0.4 Author URL: https://oceanwp.org/about-me/ 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 ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp/woocommerce/loop/loop-start.php oceanwp/woocommerce/single-product/title.php ### Geolocation debug info ### Default customer location: geolocation MaxMind GeoIP database: ? MaxMind GeoIP license: ? MM_COUNTRY_CODE: ? GEOIP_COUNTRY_CODE: IT HTTP_CF_IPCOUNTRY: ? HTTP_X_COUNTRY_CODE: ? HTTP_X_REAL_IP: ? HTTP_X_FORWARDED_FOR: ? REMOTE_ADDR: 188.152.56.209 Real external IP: 188.152.56.209 WCPBC_USE_REMOTE_ADDR: – Geolocation Test: ? ### PBC Settings ### Version: 2.0.17 Base location: IT:NA Base currency: EUR Price Based On: billing Shipping: – Test mode: – Test country: – Load products price in background: – Prices entered with tax: ? Calculate tax based on: billing Display prices in the shop: incl ### Zone Pricing Usa ### zone_id: usa name: Usa countries: US | UM currency: USD exchange_rate: 1.21 auto_exchange_rate: no disable_tax_adjustment: no ### Zone Pricing UK ### zone_id: uk name: UK countries: GB currency: GBP exchange_rate: 0.86 auto_exchange_rate: no disable_tax_adjustment: no ### Zone Pricing Japan ### zone_id: japan name: Japan countries: JP currency: JPY exchange_rate: 129.10 auto_exchange_rate: no disable_tax_adjustment: no ### Zone Pricing China ### zone_id: china name: China countries: CN currency: CNY exchange_rate: 7.82 auto_exchange_rate: no disable_tax_adjustment: no ### Zone Pricing Canada ### zone_id: canada name: Canada countries: CA currency: CAD exchange_rate: 1.52 auto_exchange_rate: no disable_tax_adjustment: no ### Zone Pricing Australia ### zone_id: australia name: Australia countries: AU currency: AUD exchange_rate: 1.54 auto_exchange_rate: no disable_tax_adjustment: no ### Action Scheduler ### Complete: 6,081 Oldest: 2021-02-26 11:12:59 +0000 Newest: 2021-03-27 14:35:46 +0000 Failed: 1 Oldest: – Newest: – ### Status report information ### Generated at: 2021-03-29 10:03:14 +00:00
“-the stock of many items it became 0 for no reason because to the supplier the stock is not 0”
I solved this problem with a wordpress backup but the other problems are still thereHi there!
Thank you for the System Status Report and confirmation that one of the issues is now resolved with a backup restore.
I see we still have two outstanding issues:
-when the stock becomes 0 the item remains online even if the “Hide out of stock items from the catalog” flag is active and the style of the Add to Cart button changes
-the items are completely out of stock even if only one of the variations is missingThis kind of problem is usually caused by a conflict with your theme or with another plugin.
?
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Hi, thank you very much, I followed your advice and now it seems to be fine.
I would like to ask you one more question, as I would like the quantity stocks to update automatically based on the data sent by the supplier through his plugin, the two selections related to manage stock (“Enable stock management at product level” in the Inventory and “Manage stock” in the Variations) should i leave them disabled or should i enable them?I followed your advice and now it seems to be fine.
Glad that works for you!
I would like the quantity stocks to update automatically based on the data sent by the supplier through his plugin, the two selections related to manage stock (“Enable stock management at product level” in the Inventory and “Manage stock” in the Variations) should i leave them disabled or should i enable them?
Since that’s not a built-in feature that comes with WooCommerce core, I’d recommend reaching out to the plugin developer directly for the best way forward here.
Hi @milora,
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful!
If you have further questions, please feel free to open a new topic.
Thanks.`
- The topic ‘“Hide out of stock items” doesn’t work’ is closed to new replies.