Problem stock error
-
Hi, I have a client which have problem with stock, they are not correct… there are a lot of difference and some time negatives. The settings seem to be correct what could be the problem ? it is very annoying…
I precise the problem is not recent
Thanks for your help
The page I need help with: [log in to see the link]
-
Hi @debby78018
I have a client which have problem with stock, they are not correct… there are a lot of difference and some time negatives. The settings seem to be correct what could be the problem ? it is very annoying
From what I understand, your client is experiencing issues with their stock inventory. The stock count seems to be incorrect, sometimes even showing negative values, despite the settings appearing to be correct.
Let’s try a few troubleshooting steps to understand and hopefully resolve this issue.
- Update All Plugins and Themes: Make sure all your plugins and themes are updated. Older versions can sometimes cause problems.
- Check Inventory Settings: Please verify that the ‘Enable stock management‘ option is enabled. You can find this under WooCommerce -> Settings -> Products -> Inventory. Here’s a guide: ?? Configuring WooCommerce Settings: Products Inventory.
- Review Product Data: For each product, make sure the ‘Stock management‘ box is checked, and the stock quantity is correctly entered. This can be found under Product data -> Inventory for each product.
- Backorders Settings: Please ensure that the ‘Allow backorders?‘ setting is set to ‘Do not allow‘. This will prevent orders from being placed when the stock is insufficient. Here’s a guide: ?? Adding and Managing Products: Inventory.
- Theme Conflict: Temporarily switch to a default WordPress theme like Storefront, and see if the issue persists. If it doesn’t, the issue might be with your current theme.
- Plugin Conflict: Deactivate all plugins except WooCommerce and see if the problem is resolved. If it is, reactivate your plugins one by one, checking the site after each activation to find the plugin that’s causing the conflict. Here’s a handy guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts.
If none of these steps work, we might need more information to get to the root of the issue. Could you send us a screenshot of the product inventory settings? This might help us spot any settings or issues that we might have missed.
You can share screenshots using https://snipboard.io. Just follow the page instructions and paste the URL in your reply.
Sharing your site’s System Status report will also help us understand your site’s setup and identify the problem. You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
.If there are any fatal error logs, please share those as well. You can find them under
WooCommerce > Status > Logs
.Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.
Hi,
Thanks your feed back, my web site is update (except the last version of Woo I ma waiting) and I have done severals tests. My setting are right. I dont have fatal error. I just wonder how WooCommerce manage stock products for big ecommerce with a lot of clients if 100 clients for exemple buy the same product in the same time ? if I just have 40 products in stocks ? I will have a negative stock ?
here my WooCommerce report I dont want to show the name of the site of course
### WordPress Environment ### WordPress address (URL): https://www.no.com Site address (URL): https://www.no.com WC Version: 8.1.1 REST API Version: ? 8.1.1 WC Blocks Version: ? 10.9.3 Action Scheduler Version: ? 3.6.3 Log Directory Writable: ? WP Version: ? 6.3.1 - Une nouvelle version de WordPress est disponible (6.3.2) WP Multisite: – WP Memory Limit: 1 Go WP Debug Mode: – WP Cron: ? Language: fr_FR External object cache: – ### Server Environment ### Server Info: nginx/1.24.0 PHP Version: 8.0.28 PHP Post Max Size: 128 Mo PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 10.11.5-MariaDB-1:10.11.5+maria~ubu2004 Max Upload Size: 128 Mo Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.1.1 WC Database Prefix: wp_ Taille totale de la base de données: 3056.83MB Taille de la base de données: 1742.07MB Taille de l’index: 1314.76MB wp_woocommerce_sessions: Données : 13.02MB + Index : 2.02MB + Moteur InnoDB wp_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_woocommerce_order_items: Données : 34.56MB + Index : 12.55MB + Moteur InnoDB wp_woocommerce_order_itemmeta: Données : 241.80MB + Index : 243.50MB + Moteur InnoDB wp_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_actions: Données : 47.09MB + Index : 42.13MB + Moteur InnoDB wp_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_actionscheduler_logs: Données : 38.11MB + Index : 27.06MB + Moteur InnoDB wp_aws_cache: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cartflows_ca_cart_abandonment: Données : 40.67MB + Index : 1.20MB + Moteur InnoDB wp_cartflows_ca_email_history: Données : 2.52MB + Index : 2.69MB + Moteur InnoDB wp_cartflows_ca_email_templates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cartflows_ca_email_templates_meta: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_cart_notices: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cmplz_cookiebanners: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cmplz_cookies: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB wp_cmplz_dnsmpd: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cmplz_services: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_cmplz_statistics: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_commentmeta: Données : 0.08MB + Index : 0.09MB + Moteur InnoDB wp_comments: Données : 72.61MB + Index : 46.08MB + Moteur InnoDB wp_ctl_wc_ean_settings: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_eum_logs: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_e_events: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_e_notes: Données : 0.02MB + Index : 0.17MB + Moteur InnoDB wp_e_notes_users_relations: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_e_submissions: Données : 1.52MB + Index : 1.55MB + Moteur InnoDB wp_e_submissions_actions_log: Données : 0.17MB + Index : 0.44MB + Moteur InnoDB wp_e_submissions_values: Données : 2.52MB + Index : 1.94MB + Moteur InnoDB wp_imagify_files: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB wp_imagify_folders: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_lpc_bordereau: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_lpc_inward_label: Données : 1.52MB + Index : 0.05MB + Moteur InnoDB wp_lpc_outward_label: Données : 254.52MB + Index : 2.06MB + Moteur InnoDB wp_netreviews_configuration: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_netreviews_products_average: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB wp_netreviews_products_reviews: Données : 1.39MB + Index : 0.00MB + Moteur InnoDB wp_options: Données : 36.23MB + Index : 1.19MB + Moteur InnoDB wp_postmeta: Données : 476.00MB + Index : 358.61MB + Moteur InnoDB wp_posts: Données : 41.55MB + Index : 23.91MB + Moteur InnoDB wp_ppress_forms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_ppress_formsmeta: Données : 0.06MB + Index : 0.05MB + Moteur InnoDB wp_ppress_meta_data: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_sib_model_forms: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_sib_model_users: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_sml: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_incoming_shipments: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_inventory_move: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_master_lot: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_purchase_orders: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_quotations: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_stckup_suppliers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_termmeta: Données : 0.17MB + Index : 0.19MB + Moteur InnoDB wp_terms: Données : 0.08MB + Index : 0.09MB + Moteur InnoDB wp_term_relationships: Données : 6.39MB + Index : 3.52MB + Moteur InnoDB wp_term_taxonomy: Données : 0.08MB + Index : 0.09MB + Moteur InnoDB wp_tinvwl_analytics: Données : 0.52MB + Index : 0.31MB + Moteur InnoDB wp_tinvwl_items: Données : 0.50MB + Index : 0.00MB + Moteur InnoDB wp_tinvwl_lists: Données : 0.38MB + Index : 0.00MB + Moteur InnoDB wp_usermeta: Données : 80.64MB + Index : 62.11MB + Moteur InnoDB wp_users: Données : 3.52MB + Index : 4.53MB + Moteur InnoDB wp_wcpdf_credit_note_number: Données : 0.09MB + Index : 0.00MB + Moteur InnoDB wp_wcpdf_invoice_number: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB wp_wcpdf_packing_slip_number: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB wp_wcpdf_proforma_number: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wc_admin_notes: Données : 0.11MB + Index : 0.00MB + Moteur InnoDB wp_wc_admin_note_actions: Données : 0.08MB + Index : 0.02MB + Moteur InnoDB wp_wc_category_lookup: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB wp_wc_customer_lookup: Données : 4.52MB + Index : 3.95MB + Moteur InnoDB wp_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_gpf_render_cache: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_orders: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB wp_wc_orders_meta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_order_addresses: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB wp_wc_order_coupon_lookup: Données : 1.48MB + Index : 0.69MB + Moteur InnoDB wp_wc_order_operational_data: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wc_order_product_lookup: Données : 31.56MB + Index : 30.05MB + Moteur InnoDB wp_wc_order_stats: Données : 14.52MB + Index : 7.48MB + Moteur InnoDB wp_wc_order_tax_lookup: Données : 8.52MB + Index : 7.03MB + Moteur InnoDB wp_wc_paybox_payment: Données : 6.52MB + Index : 0.16MB + Moteur InnoDB wp_wc_product_attributes_lookup: Données : 0.06MB + Index : 0.06MB + Moteur InnoDB wp_wc_product_download_directories: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_product_meta_lookup: Données : 0.14MB + Index : 0.30MB + Moteur InnoDB wp_wc_rate_limits: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_wdr_order_discounts: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wdr_order_item_discounts: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB wp_wdr_rules: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_dpdfrance: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_exported_csv_items: Données : 95.11MB + Index : 2.50MB + Moteur InnoDB wp_woocommerce_gpf_google_taxonomy: Données : 3.02MB + Index : 0.25MB + Moteur InnoDB wp_woocommerce_shipping_table_rates: Données : 0.05MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_woo_bot: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB wp_woocommerce_woo_bot_chat: Données : 2.52MB + Index : 0.00MB + Moteur InnoDB wp_wpmembers_user_search_crud: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wpmm_subscribers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wpo_wcpbn_batch_numbers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wpo_wcpbn_shared_products: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB wp_wpr_rocket_cache: Données : 0.27MB + Index : 0.33MB + Moteur InnoDB wp_wpr_rucss_used_css: Données : 0.47MB + Index : 0.59MB + Moteur InnoDB wp_wps_hit: Données : 115.67MB + Index : 375.44MB + Moteur InnoDB wp_wps_index: Données : 9.52MB + Index : 13.55MB + Moteur InnoDB wp_wps_key: Données : 0.30MB + Index : 0.20MB + Moteur InnoDB wp_wps_object_term: Données : 1.11MB + Index : 0.91MB + Moteur InnoDB wp_wps_object_type: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB wp_wps_query: Données : 3.52MB + Index : 3.52MB + Moteur InnoDB wp_wps_uri: Données : 20.55MB + Index : 14.59MB + Moteur InnoDB wp_wps_user_agent: Données : 4.52MB + Index : 2.52MB + Moteur InnoDB wp_wsal_metadata: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_wsal_occurrences: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_yith_ywpar_points_log: Données : 0.08MB + Index : 0.00MB + Moteur InnoDB wp_yoast_indexable: Données : 8.52MB + Index : 7.64MB + Moteur InnoDB wp_yoast_indexable_hierarchy: Données : 0.20MB + Index : 0.27MB + Moteur InnoDB wp_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB wp_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB wp_yoast_prominent_words: Données : 0.16MB + Index : 0.27MB + Moteur InnoDB wp_yoast_seo_links: Données : 4.52MB + Index : 3.03MB + Moteur InnoDB wp_yoast_seo_meta: Données : 1.52MB + Index : 0.00MB + Moteur InnoDB ### Post Type Counts ### acf-field: 57 acf-field-group: 11 attachment: 1177 boutiquesaccueil: 14 boxzilla-box: 1 carte_fidelite: 4 cpn_ans_users: 14684 cpn_rm_customer: 20525 custom_css: 1 customize_changeset: 32 cwginstocknotifier: 2187 da_image: 1 edito: 1 elementor_library: 3 jetpack_migration: 2 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 lesaviezvous: 11 mc4wp-form: 1 nav_menu_item: 1819 oceanwp_library: 4 oembed_cache: 2 page: 59 parametre: 11 pdv: 1 post: 64 product: 426 product_variation: 74 question: 14 shop_coupon: 975 shop_order: 68112 shop_order_refund: 2126 slider: 10 topvente: 1 user_request: 8 wc_product_tab: 983 woocarouselpro: 3 wpcf7_contact_form: 1 yith_wcps_type: 1 ywpar-earning-rule: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (77) ### WooCommerce Accounting - Pro: par NOUS Open Usefull and Simple – 1.3.2 WooCommerce Accounting: par N.O.U.S. Ouvert Utile et Simple – 1.6.2 Advanced Database Cleaner: par Younes JFR. – 3.1.3 Akismet Anti-spam: Spam Protection: par Automattic - Anti-spam Team – 5.3 BBQ Firewall: par Jeff Starr – 20230718 Carbon Copy Menu Duplicator: par Chris Mavricos SevenSpark – 1.1 Classic Editor: par Contributeurs et contributrices WordPress – 1.6.3 Classic Widgets: par Contributeurs et contributrices WordPress – 0.3 Colissimo shipping methods for WooCommerce: par Colissimo – 1.9.1 Complianz Privacy Suite (GDPR/CCPA) premium: par Really Simple Plugins – 6.5.6 CTL Woocommerce EAN: par Code This Lab srl – 1.2 Custom Shipping Icons for Woocommerce: par FME Addons – 1.0.5 GTM4WP: par Thomas Geiger – 1.18.1 Elementor Pro: par Elementor.com – 3.16.2 Elementor: par Elementor.com – 3.16.5 Free Shipping Amount Counter: par KoalaApps – 1.1.0 GDPR Data Request Form: par audrasjb – 1.6 Product Sales Report Pro for WooCommerce: par WP Zone – 2.2.40 Image Map Pro: par Webcraft Plugins Ltd. – 5.6.9 Image Widget: par The Events Calendar – 4.4.9 Imagify: par Imagify – Optimiser d’images & conversion WebP – 2.1.2 Loco Translate: par Tim Whitlock – 2.6.6 Newsletter, SMTP, Email marketing and Subscribe forms by Brevo: par Brevo – 3.1.71 Netreviews: par NetReviews SAS – 2.3.15 Ocean Custom Sidebar: par OceanWP – 1.1.2 Ocean Elementor Widgets: par OceanWP – 2.3.9 Ocean Extra: par OceanWP – 2.2.0 Ocean Product Sharing: par OceanWP – 2.0.7 Ocean Sticky Header: par OceanWP – 2.1.0 Performant Translations: par WordPress Performance Team – 1.0.5 Regenerate Thumbnails: par Alex Mills (Viper007Bond) – 3.1.6 Splash Connector: par Splash Sync – 2.0.6 Temporaire Login Without Password: par StoreApps – 1.8.2 Advanced Editor Tools: par Automattic – 5.9.2 Top Bar PRO: par WP Darko – 3.1.0 UberMenu 3 - The Ultimate WordPress Mega Menu: par Chris Mavricos SevenSpark – 3.8.1 Ultimate Dashboard: par David Vongries – 3.7.7 User Role Editor: par Vladimir Garagulya – 4.64 CTX Feed Pro: par WebAppick Author – 7.0.14 Weglot Translate: par L’équipe Weglot Translate – 4.2.1 Widget Logic: par WPChef – 5.10.4 Récupération d’abandon de panier WooCommerce: par CartFlows Inc – 1.2.25 Woo Discount Rules PRO 2.0: par Flycart – 2.6.1 Woo Discount Rules: par Flycart – 2.6.2 Advanced Order Export For WooCommerce: par AlgolPlus – 3.4.2 WooCommerce Price Per Unit PRO: par MechComp – 2.2.2 WooCommerce Cart Add-Ons: par WooCommerce – 1.5.19 WooCommerce Cart Notices: par SkyVerge – 1.15.0 WooCommerce Conditional Shipping and Payments: par Woocommerce – 1.15.3 WooCommerce Customer/Order/Coupon Export: par SkyVerge – 5.5.0 DPD France: par DPD France S.A.S. – 5.3.3 WooCommerce Numéro de TVA intracommunautaire: par Woocommerce – 2.8.8 WooCommerce Paybox Gateway: par Nicolas Maillard – 1.5 Booster for WooCommerce: par Pluggabl LLC – 7.1.2 WooCommerce Notification Premium: par Andy Ha (villatheme.com) – 1.5.4 PDF Invoices & Packing Slips for WooCommerce: par WP Overnight – 3.6.3 PDF Invoices & Packing Slips for WooCommerce - Professional: par WP Overnight – 2.14.6 PDF Invoices & Packing Slips for WooCommerce - Premium Templates: par WP Overnight – 2.20.4 WooCommerce Product Batch Numbers: par WP Overnight – 3.0.2 WooCommerce Product Carousel Slider Pro: par ADL Plugins – 3.1.0 WooCommerce Google Product Feed: par Ademti Software Ltd. – 10.11.1 WooCommerce Product Search: par itthinx – 4.16.0 Role Based Price For WooCommerce: par Varun Sridharan – 3.3.7 WooCommerce Tab Manager: par SkyVerge – 1.16.0 WooCommerce Table Rate Shipping: par Woocommerce – 3.1.6 WooCommerce: par Automattic – 8.1.1 (une mise à jour de la version 8.2.0 est disponible) WordPress Importer: par wordpressdotorg – 0.8.1 Yoast SEO Premium: par L’équipe Yoast – 21.3 Yoast SEO: par L’équipe Yoast – 21.3 WP Downgrade | Version spécifique du c?ur: par Reisetiger – 1.2.6 WP-Members Text String Editor: par Chad Butler – 1.0.7 WP-Members: par Chad Butler – 3.4.8 WP Rocket: par WP Media – 3.15.2 WP Rollback: par GiveWP.com – 1.7.3 WP Overnight Sidekick: par WP Overnight – 2.5.1 Yoast SEO : WooCommerce: par L’équipe Yoast – 15.8 YITH WooCommerce Best Sellers Premium: par YITH – 1.26.0 ### Inactive Plugins (4) ### Boxzilla: par ibericode – 3.2.27 Bulk Table Editor for WooCommerce: par Consortia – 2.3.13 LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: par Themeisle – 2.6.8 YITH WooCommerce Points and Rewards Premium: par YITH – 3.24.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Kinsta Must-use Plugins: par Kinsta Team – 3.0.0 ### Settings ### API Enabled: ? Force SSL: – Currency: EUR (€) Currency Position: right 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: ? Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Base de la boutique: #45123 - /boutique/ Panier: #7 - /panier/ Commander: #8 - /commande/ Mon compte: #9 - /mon-compte/ Conditions générales de vente et d’utilisation: #701 - /cgv-pro/ ### Theme ### Name: OceanWP Child Version: 1.0 Author URL: https://oceanwp.org/ Child Theme: ? Parent Theme Name: OceanWP Parent Theme Version: 3.5.0 Parent Theme Author URL: https://oceanwp.org/about-oceanwp/ WooCommerce Support: ? ### Templates ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp-child/woocommerce/loop/loop-start.php oceanwp-child/woocommerce/loop/price.php oceanwp-child/woocommerce/single-product/price.php oceanwp/woocommerce/single-product/product-image.php oceanwp/woocommerce/single-product/title.php ### WooCommerce Google Product Feed feeds ### google: Google merchant centre product feed Type: google Category filter: - Categories: - ### WooCommerce Google Product Feed options ### Include variations in feed: Enabled Send "item group ID": - Expanded schema markup: - Debug key: 8232cbd3-6a10-4dfd-8bbb-b16d8f36f721 ### WooCommerce Google Product Feed fields ### Brand: Manufacturer Part Number (MPN): Product Type: Google Product Category: Size system: Title: Pre-populates from product product_title. Availability (in stock products): Defaults to "in stock". Availability (backordered products): Defaults to "in stock". Availability (out of stock products): Defaults to "out of stock". ### WooCommerce Google Product Feed DB status ### Database version: 16 Active database version: 16 wc_gpf_render_cache: Empty woocommerce_gpf_google_taxonomy (en-US): 5595 items woocommerce_gpf_google_taxonomy (fr-FR): 5595 items ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-10-15 14:15:27 +02:00 Options: ? Notes: 167 Onboarding: completed ### WooCommerce Customer/Order/Coupon Export ### Automated exports: 3 Custom formats: 1 Next export: Not scheduled ### Action Scheduler ### Complete: 144 225 Oldest: 2023-09-13 17:49:50 +0200 Newest: 2023-10-14 17:37:15 +0200 Failed: 9 690 Oldest: 2022-01-11 03:01:16 +0100 Newest: 2023-10-14 11:07:27 +0200 Pending: 4 Oldest: 2023-10-15 06:49:13 +0200 Newest: 2023-10-16 16:26:52 +0200 ### Status report information ### Generated at: 2023-10-14 17:46:25 +02:00
Hi @debby78018
The problem you’re facing with incorrect stock counts, sometimes even showing negative values, can indeed be frustrating. I understand you’ve already updated your site and plugins, checked your settings, and found no fatal errors. That’s a good start.
Regarding your question about how WooCommerce manages stock for big e-commerce sites, WooCommerce uses a system of “Holds”. When a customer adds a product to their cart, WooCommerce temporarily holds that stock for a certain amount of time. If the customer doesn’t complete the purchase within that time, the stock is released back into the inventory. This system helps prevent overselling. However, in very high traffic situations, there might still be a chance of overselling if multiple customers are trying to purchase the same product at the same time.
From the system report you provided, I can see that your WordPress version is outdated. Although it might not be directly related to your issue, keeping your WordPress version updated for overall site health and security is generally a good idea.
Since the common issues have been ruled out, we might need to dig deeper to identify the problem. It could be related to the server, caching, or even a specific plugin.
Here are a few more steps you can take:
- If you’re using a caching plugin or if your hosting provider uses server-level caching, try clearing all caches.
- Check with your hosting provider if there’s any issue with the server response time. Slow server response times can sometimes cause issues with WooCommerce’s stock management system.
- If you’re using any custom code snippets or plugins related to stock management, try temporarily removing them to see if they’re causing the issue.
- As a last resort, you can try disabling the “Hold stock (minutes)” option in WooCommerce -> Settings -> Products -> Inventory. This will prevent WooCommerce from temporarily holding stock when a product is added to the cart.
Please let us know if you’re still experiencing the issue after trying these steps. We’re here to help you get this sorted.
- The topic ‘Problem stock error’ is closed to new replies.