Support » Plugin: WooCommerce » Stock adjustment wrong?

  • Hi. To replicate the issue place a new order and dont pay it, so it can remain with the status “awaiting payment”. In this case, the stock of the items in the order is not changed. If I manually change the status to “cancel” or “failed” (for example, if the client does not make the payment anymore), the stock of the items in the order is reducing.
    Please check the screenshots for every step:
    1. http://prnt.sc/vyrc5v
    2. http://prnt.sc/vyrceg
    3. http://prnt.sc/vyrcjw
    Why the stock is adjusting in this case? I dont think the behaviour is correct because the order is canceled and the stock does not have to change at all.
    We use latest WooCommerce version 4.8, but the issue is present also on the previous versions. I dont remember exactly, but this was not happening bellow version 4.
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK

    (@riaanknoetze)

    Hi there,

    Just to check: Is that order created manually or was that placed through the regular checkout process on the front-end? Can you share screenshots of how that product is configured (especially the “Inventory” tab) as well as the settings under **WooCommerce > Settings > Products > Inventory**?

    Finally, can you also share a copy of the status report as found under **WooCommerce > Status**?

    Thanks!

    Thread Starter Costin Gheonea

    (@costingheonea)

    Hi. Thank you for your fast reply.
    The order is created in front end by the customer.
    Yes, here are the screenshots:
    Inventory tab from product page: http://prnt.sc/vyssyc
    Inventory settings: http://prnt.sc/vystjp

    `
    ### WordPress Environment ###

    WordPress address (URL): https://woocommerce-399235-1525787.cloudwaysapps.com
    Site address (URL): https://woocommerce-399235-1525787.cloudwaysapps.com
    WC Version: 4.8.0
    REST API Version: ✔ 4.8.0
    WC Blocks Version: ✔ 3.8.1
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ❌ 1.7.3 este inactivă
    Log Directory Writable: ✔
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 756 Mo
    WP Debug Mode: –
    WP Cron: ✔
    Language: ro_RO
    External object cache: –

    ### Server Environment ###

    Server Info: Apache/2.4.25 (Debian)
    PHP Version: 7.4.13
    PHP Post Max Size: 10 Mo
    PHP Time Limit: 60
    PHP Max Input Vars: 2500
    cURL Version: 7.52.1
    OpenSSL/1.0.2u

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.48-MariaDB-1~stretch
    Max Upload Size: 10 Mo
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 4.8.0
    WC Database Prefix: wp_
    Dimensiune totală bază de date: 1246.44MB
    Dimensiune date bază de date: 778.71MB
    Dimensiune index bază de date: 467.73MB
    wp_woocommerce_sessions: Date: 1.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_api_keys: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_attribute_taxonomies: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_downloadable_product_permissions: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_woocommerce_order_items: Date: 11.52 MO + Index: 6.52 MO + Motor InnoDB
    wp_woocommerce_order_itemmeta: Date: 159.67 MO + Index: 108.27 MO + Motor InnoDB
    wp_woocommerce_tax_rates: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_woocommerce_tax_rate_locations: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_woocommerce_shipping_zones: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_woocommerce_shipping_zone_locations: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_woocommerce_shipping_zone_methods: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_woocommerce_payment_tokens: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_woocommerce_payment_tokenmeta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_woocommerce_log: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    awb_gls: Date: 56.52 MO + Index: 0.02 MO + Motor InnoDB
    courier_cities: Date: 0.54 MO + Index: 0.14 MO + Motor MyISAM
    courier_city_street_zip: Date: 2.80 MO + Index: 0.53 MO + Motor MyISAM
    courier_counties: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_actions: Date: 1.02 MO + Index: 0.11 MO + Motor InnoDB
    wp_actionscheduler_claims: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_groups: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_actionscheduler_logs: Date: 1.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_adtribes_my_conversions: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_basel_wishlists: Date: 0.22 MO + Index: 0.00 MO + Motor InnoDB
    wp_basel_wishlist_products: Date: 0.38 MO + Index: 0.19 MO + Motor InnoDB
    wp_berocket_termmeta: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_cart_notices: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_commentmeta: Date: 0.31 MO + Index: 0.28 MO + Motor InnoDB
    wp_comments: Date: 51.58 MO + Index: 37.09 MO + Motor InnoDB
    wp_EWD_OTP_Customers: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_EWD_OTP_Custom_Fields: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_EWD_OTP_Fields_Meta: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_EWD_OTP_Orders: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_EWD_OTP_Order_Statuses: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_EWD_OTP_Sales_Reps: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_ghostmonitor_data: Date: 47.63 MO + Index: 0.00 MO + Motor InnoDB
    wp_links: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_mailerlite_forms: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_options: Date: 6.47 MO + Index: 2.16 MO + Motor InnoDB
    wp_pimwick_gift_card: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_pimwick_gift_card_activity: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_postmeta: Date: 329.89 MO + Index: 246.72 MO + Motor InnoDB
    wp_posts: Date: 40.55 MO + Index: 17.06 MO + Motor InnoDB
    wp_queue: Date: 0.33 MO + Index: 0.00 MO + Motor InnoDB
    wp_rank_math_404_logs: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_rank_math_analytics_adsense: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_rank_math_analytics_ga: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_rank_math_analytics_gsc: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_rank_math_analytics_keyword_manager: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_rank_math_analytics_objects: Date: 1.52 MO + Index: 0.47 MO + Motor InnoDB
    wp_rank_math_analytics_object_links: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_rank_math_internal_links: Date: 0.06 MO + Index: 0.02 MO + Motor InnoDB
    wp_rank_math_internal_meta: Date: 0.23 MO + Index: 0.00 MO + Motor InnoDB
    wp_rank_math_redirections: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_rank_math_redirections_cache: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_rank_math_sc_analytics: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_shortpixel_folders: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_shortpixel_meta: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_termmeta: Date: 0.08 MO + Index: 0.09 MO + Motor InnoDB
    wp_terms: Date: 0.06 MO + Index: 0.03 MO + Motor InnoDB
    wp_term_relationships: Date: 3.52 MO + Index: 3.52 MO + Motor InnoDB
    wp_term_taxonomy: Date: 0.08 MO + Index: 0.06 MO + Motor InnoDB
    wp_usermeta: Date: 44.58 MO + Index: 37.14 MO + Motor InnoDB
    wp_users: Date: 2.52 MO + Index: 4.55 MO + Motor InnoDB
    wp_wc_admin_notes: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_admin_note_actions: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_category_lookup: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_customer_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_download_log: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_euplatesc_trid: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_order_coupon_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_order_product_lookup: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_wc_order_stats: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wc_order_tax_lookup: Date: 0.02 MO + Index: 0.03 MO + Motor InnoDB
    wp_wc_product_meta_lookup: Date: 1.52 MO + Index: 1.17 MO + Motor InnoDB
    wp_wc_reserved_stock: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wc_tax_rate_classes: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wc_webhooks: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wfblockediplog: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfblocks7: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wfconfig: Date: 2.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfcrawlers: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wffilechanges: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wffilemods: Date: 6.52 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfhits: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wfhoover: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wfissues: Date: 0.08 MO + Index: 0.06 MO + Motor InnoDB
    wp_wfknownfilelist: Date: 2.52 MO + Index: 0.00 MO + Motor InnoDB
    wp_wflivetraffichuman: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wflocs: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wflogins: Date: 0.48 MO + Index: 0.14 MO + Motor InnoDB
    wp_wfls_2fa_secrets: Date: 0.02 MO + Index: 0.02 MO + Motor InnoDB
    wp_wfls_settings: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfnotifications: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfpendingissues: Date: 0.02 MO + Index: 0.06 MO + Motor InnoDB
    wp_wfreversecache: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB
    wp_wfsnipcache: Date: 0.02 MO + Index: 0.05 MO + Motor InnoDB
    wp_wfstatus: Date: 0.13 MO + Index: 0.09 MO + Motor InnoDB
    wp_wftrafficrates: Date: 0.02 MO + Index: 0.00 MO + Motor InnoDB

    ### Post Type Counts ###

    attachment: 22035
    br_labels: 1
    cms_block: 7
    custom_css: 1
    elementor_library: 2
    feedback: 9
    follow_up_email: 1
    giftcard: 4
    mc4wp-form: 3
    mtbf: 7
    mts_notification_bar: 10
    nav_menu_item: 125
    njt_user_add_to_cart: 1
    oceanwp_library: 1
    option-tree: 1
    page: 47
    post: 17
    product: 6585
    product_variation: 2
    pys_fb_event: 3
    revision: 20
    rnoc_order_coupon: 7754
    shop_coupon: 74
    shop_order: 42410
    shop_order_refund: 597
    sidebar: 1
    slides: 6
    testimonial: 4
    vtmin-rule: 1
    vtprd-rule: 1
    wapl: 3
    wc_afrsm: 1
    wcct_countdown: 10
    wishlist: 12344
    xlwcty_thankyou: 1
    ywcm_message: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (32) ###

    Advanced noCaptcha & invisible Captcha: de Shamim Hasan – 6.1.5 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Akismet anti-spam: de Automattic – 4.1.7
    XTEMOS Post Types plugin: de – 1.13
    Beeketing For WooCommerce: de Beeketing – 3.8.16 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Bulk remove posts from category: de MasterNs – 3.1.1
    Cookie Notice: de dFactory – 1.3.2
    Disable WooCommerce Bloat: de ospiotr – 2.4 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Easy Theme and Plugin Upgrades: de Chris Jean – 2.0.1
    Safe Alternative – GLS Printing AWB: de Safe Alternative – 1.0.5 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Heartbeat Control by WP Rocket: de WP Rocket – 2.0
    WPBakery Page Builder: de Michael M – WPBakery.com – 6.4.1
    Judge.me Product Reviews for WooCommerce: de Judge.me – 1.3.8 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Kadence WooCommerce Email Designer: de Kadence WP – 1.4.3 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Loco Translate: de Tim Whitlock – 2.4.4
    Official MailerLite Sign Up Forms: de MailerGroup – 1.4.7
    PixelYourSite PRO: de PixelYourSite – 7.6.9 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Product Catalog Feed Pro by PixelYourSite: de PixelYourSite – 4.1.4 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WC Restore the Purchased Items Column in Orders Page: de Rynaldo Stoltz – 1.3
    Retainful – Abandoned Cart Recovery Emails and Next Order Coupons: de Retainful – 2.5.1
    Rank Math SEO: de Rank Math – 1.0.49
    ShortPixel Image Optimizer: de ShortPixel – 4.20.2
    Easy Updates Manager: de Easy Updates Manager Team – 9.0.6
    Safe Alternative – Selectie localitati: de Safe Alternative – 1.0.4 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Euplatesc Gateway: de Zamfir Vladimir – 2.1 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Cart Notices: de SkyVerge – 1.11.0 (este disponibilă actualizarea la versiunea 1.13.0) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Checkout Field Editor: de WooCommerce – 1.5.26 (este disponibilă actualizarea la versiunea 1.5.38) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Cost of Goods: de SkyVerge – 2.9.2 (este disponibilă actualizarea la versiunea 2.10.0) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Sequential Order Numbers Pro: de SkyVerge – 1.15.0 (este disponibilă actualizarea la versiunea 1.17.0) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Shipment Tracking: de WooCommerce – 1.6.17 (este disponibilă actualizarea la versiunea 1.6.26) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce Waitlist: de WooCommerce – 2.1.14 (este disponibilă actualizarea la versiunea 2.2.2) – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    WooCommerce: de Automattic – 4.8.0
    WP Rollback: de Impress.org – 1.7.1

    ### Inactive Plugins (7) ###

    Advanced Order Export For WooCommerce: de AlgolPlus – 3.1.6 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    easySales: de easySales – 0.9.51
    Finale Lite – Sales Countdown Timer & Discount for WooCommerce: de XLPlugins – 2.13.0 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Tawk.to Live Chat: de Tawkto – 0.4.3
    W3 Total Cache: de BoldGrid – 0.15.1
    WooCommerce Advanced Product Labels: de BeRocket – 1.1.19 – Versiunea instalată nu a fost testată cu versiunea WooCommerce activă: 4.0
    Wordfence Security: de Wordfence – 7.4.12

    ### Settings ###

    API Enabled: ✔
    Force SSL: ✔
    Currency: RON (lei)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    gift-card (gift-card)
    grouped (grouped)
    pw gift card (pw-gift-card)
    simple (simple)
    variable (variable)
    wgm_gift_card (wgm_gift_card)

    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)
    rated-5 (rated-5-2)

    Connected to WooCommerce.com: ✔

    ### WC Pages ###

    Bază magazin: #5 – /magazin/
    Coș: #6 – /cos/
    Finalizare: #7 – /finalizare-comanda/
    Contul meu: #8 – /contul-meu/
    Termeni și condiții: ❌ Pagină nesetată

    ### Theme ###

    Name: Basel Child
    Version: 1.0.0
    Author URL: http://xtemos.com
    Child Theme: ✔
    Parent Theme Name: Basel
    Parent Theme Version: 5.4.0
    Parent Theme Author URL: http://themeforest.net/user/xtemos
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: basel/woocommerce/archive-product.php
    basel/woocommerce/cart/cart.php
    basel/woocommerce/cart/cross-sells.php
    basel/woocommerce/cart/mini-cart.php
    basel/woocommerce/checkout/form-checkout.php
    basel/woocommerce/checkout/thankyou.php
    basel/woocommerce/content-product.php
    basel/woocommerce/content-single-product.php
    basel/woocommerce/content-widget-product.php
    basel-child/woocommerce/emails/customer-note.php
    basel/woocommerce/global/breadcrumb.php
    basel/woocommerce/global/form-login.php
    basel/woocommerce/global/quantity-input.php
    basel/woocommerce/loop/loop-end.php
    basel/woocommerce/loop/loop-start.php
    basel/woocommerce/loop/no-products-found.php
    basel/woocommerce/loop/orderby.php
    basel/woocommerce/loop/pagination.php
    basel/woocommerce/loop/sale-flash.php
    basel/woocommerce/myaccount/form-login.php
    basel/woocommerce/product-searchform.php
    basel/woocommerce/single-product/add-to-cart/variable.php
    basel/woocommerce/single-product/meta.php
    basel/woocommerce/single-product/product-image.php
    basel/woocommerce/single-product/product-thumbnails.php
    basel/woocommerce/single-product/related.php
    basel/woocommerce/single-product/sale-flash.php
    basel/woocommerce/single-product/tabs/tabs.php
    basel/woocommerce/single-product/title.php
    basel/woocommerce/single-product/up-sells.php
    basel/woocommerce/single-product.php
    Versiunea basel/woocommerce/content-product_cat.php a 2.6.1 este depășită. Versiunea nucleu este 4.7.0

    Outdated Templates: ❌

    Află cum să actualizezi

    ### Action Scheduler ###

    Canceled: 1
    Oldest: 2020-11-16 09:02:56 +0200
    Newest: 2020-11-16 09:02:56 +0200

    Complete: 101
    Oldest: 2020-11-08 12:02:16 +0200
    Newest: 2020-12-09 08:21:20 +0200

    Pending: 3
    Oldest: 2020-12-12 01:27:27 +0200
    Newest: 2020-12-15 02:43:54 +0200

    `

    Thread Starter Costin Gheonea

    (@costingheonea)

    Hi. Any solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.