woocommerce stock reduction problem
-
A new order was made for 5 items, payment is made, order status is “Processing”.
however woocommerce only reduced stock for 2 items, the stock of the 3 other items were kept unchanged !!!
not sure why??
Please help !
-
Hi @tomcatq8 – Can you include a copy of your system status report? You can find that at: WP Dashboard > WooCommerce > Status > ‘Get system report’
Thanks!
– Joey### WordPress Environment ### WordPress address (URL): https://healthland.com.kw Site address (URL): https://healthland.com.kw WC Version: 4.1.1 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.1.3 Log Directory Writable: ? WP Version: 5.4.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.14 PHP Post Max Size: 40 MB PHP Time Limit: 120 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 8.0.18 Max Upload Size: 40 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.0.1 WC Database Prefix: wp_ Total Database Size: 47.62MB Database Data Size: 37.74MB Database Index Size: 9.88MB wp_woocommerce_sessions: Data: 4.02MB + Index: 0.08MB + 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: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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: 0.14MB + Index: 0.14MB + 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: 0.11MB + Index: 0.13MB + Engine InnoDB wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_atum_product_data: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.06MB + Index: 0.09MB + 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.13MB + 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.02MB + 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_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.05MB + Index: 0.02MB + Engine InnoDB wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_strings: Data: 2.52MB + Index: 4.17MB + Engine InnoDB wp_icl_translate: Data: 1.52MB + Index: 0.06MB + Engine InnoDB wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB + 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: 0.30MB + Index: 0.02MB + Engine InnoDB wp_icl_translations: Data: 0.14MB + Index: 0.36MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 13.09MB + Index: 0.17MB + Engine InnoDB wp_postmeta: Data: 8.44MB + Index: 2.75MB + Engine InnoDB wp_posts: Data: 5.31MB + Index: 0.33MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.20MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + 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: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + 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_woof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 746 atum_purchase_order: 3 atum_supplier: 6 custom_css: 2 customize_changeset: 23 elementor_library: 6 mc4wp-form: 1 nav_menu_item: 225 page: 53 post: 12 product: 204 revision: 298 shop_coupon: 3 shop_order: 29 shop_order_refund: 1 tbay_brand: 9 tbay_customtab: 1 tbay_footer: 3 tbay_header: 2 tbay_megamenu: 9 tbay_testimonial: 6 wpcf7_contact_form: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### WPML Multilingual CMS: by OnTheGoSystems – 4.3.15 Myfatoorah - API Ver2.0: by Nermeen Shoman – 2.0 – Installed version not tested with active version of WooCommerce 4.1.1 ATUM Inventory Management for WooCommerce: by Stock Management Labs? – 1.7.2 CMB2: by CMB2 team – 2.7.0 Code Snippets: by Code Snippets Pro – 2.14.0 Contact Form 7: by Takayuki Miyoshi – 5.1.9 Elementor: by Elementor.com – 2.9.8 MC4WP: Mailchimp for WordPress: by ibericode – 4.7.7 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3.3 Slider Revolution: by ThemePunch – 6.2.8 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.16.26.24 Urna Core: by Team Thembay – 1.2.3 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.2 – Installed version not tested with active version of WooCommerce 4.1.1 Photo Reviews for WooCommerce: by VillaTheme – 1.1.3.5 – Installed version not tested with active version of WooCommerce 4.1.1 Variation Swatches for WooCommerce: by Emran Ahmed – 1.0.81 WooCommerce Multilingual: by OnTheGoSystems – 4.9.0 – Installed version not tested with active version of WooCommerce 4.1.1 WooCommerce PDF Invoices: by Bas Elbers – 3.0.11 – Installed version not tested with active version of WooCommerce 4.1.1 WOOF - WooCommerce Products Filter: by realmag777 – 2.2.3 – Installed version not tested with active version of WooCommerce 4.1.1 WooCommerce: by Automattic – 4.1.1 (update to version 4.2.0 is available) WP Mail SMTP: by WPForms – 2.0.1 WPML Media: by OnTheGoSystems – 2.5.5 WPML String Translation: by OnTheGoSystems – 3.0.11 WPML Translation Management: by OnTheGoSystems – 2.9.8 YITH WooCommerce Brands Add-on: by YITH – 1.3.13 ### Inactive Plugins (10) ### Akismet Anti-Spam: by Automattic – 4.1.3 All-in-One WP Migration: by ServMask – 7.17 All In One SEO Pack: by Michael Torbert – 3.3.5 AMP: by AMP Project Contributors – 1.4.3 AWS for WordPress: by AWS Labs WP Engine – 4.0.3 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.10.4 Hello Dolly: by Matt Mullenweg – 1.7.2 Jetpack by WordPress.com: by Automattic – 8.5 Simple Tags: by Amaury BALMER – 2.5.7 WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0 ### Settings ### API Enabled: ? Force SSL: – Currency: USD (?.?) 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: #3918 - /shop-2/ Cart: #3923 - /cart-2/ Checkout: #3924 - /checkout-2/ My account: #10 - /my-account-2/ Terms and conditions: ? Page not set ### Theme ### Name: Urna Child Version: 1.0 Author URL: https://thembay.com/ Child Theme: ? Parent Theme Name: Urna Parent Theme Version: 2.0.2 Parent Theme Author URL: https://thembay.com WooCommerce Support: ? ### Templates ### Overrides: urna/woocommerce/cart/cart.php urna/woocommerce/cart/cross-sells.php urna/woocommerce/cart/mini-cart.php urna/woocommerce/checkout/form-checkout.php urna/woocommerce/content-product.php urna/woocommerce/content-product_cat.php urna/woocommerce/content-single-product.php urna/woocommerce/content-widget-product.php urna/woocommerce/global/breadcrumb.php urna/woocommerce/global/form-login.php urna/woocommerce/global/wrapper-end.php urna/woocommerce/global/wrapper-start.php urna/woocommerce/loop/add-to-cart.php urna/woocommerce/loop/loop-end.php urna/woocommerce/loop/loop-start.php urna/woocommerce/loop/orderby.php urna/woocommerce/loop/pagination.php urna/woocommerce/loop/rating.php urna/woocommerce/myaccount/form-login.php urna/woocommerce/single-product/product-image.php urna/woocommerce/single-product/rating.php urna/woocommerce/single-product/related.php urna/woocommerce/single-product/tabs/additional-information.php urna/woocommerce/single-product/tabs/description.php urna/woocommerce/single-product/tabs/tabs.php urna/woocommerce/single-product/up-sells.php ### Action Scheduler ### Canceled: 1 Oldest: 2020-05-22 15:23:26 +0000 Newest: 2020-05-22 15:23:26 +0000 Complete: 464 Oldest: 2020-05-22 15:23:26 +0000 Newest: 2020-06-11 14:39:42 +0000 Pending: 1 Oldest: 2020-06-12 00:02:31 +0000 Newest: 2020-06-12 00:02:31 +0000
i made a test order with same items but using “Check payment”
stocks were reduced for ALL items perfectly !!!If I understand it correctly the problem with stock not reducing for new orders is now resolved – correct?
Please let us know if you are still having trouble with this and we are happy to help troubleshoot this further.
It is not resolved yet.
here is what i found:
i use WPML for site translation.
if I use the default language (english) as a customer and place an order, stock is reduced, no problem
However, if i view my site with the second language (Arabic) and make an order, some stocks get reduced and some (majority) do not.
in the order page, it clearly state the items which were reduced, for example it would say that item1 and item2 were reduced but make no mention about the other itmes-
This reply was modified 4 years, 9 months ago by
tomcatq8.
turned out it is a WPML issue, products were not synced between languages, had to manually update products to fix this issue.
-
This reply was modified 4 years, 9 months ago by
- The topic ‘woocommerce stock reduction problem’ is closed to new replies.