• Resolved wizcomhosting

    (@wizcomhosting)


    I am having troubles with stock control in manual order manipulation. Sometimes the stock is adjusted when a product is deleted or added, sometimes not. I have just had the crazy situation of deleting 3 products, all with identical inventory settings. one adjusted its stock, the other two didn’t. The status messages reflected this. Two; “Deleted […]” One; “Deleted [..] and adjusted stock (14-> 15)”

    The same behaviour (mostly not adjusting stock) with or without plugins or standard theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @wizcomhosting,

    Most likely this has to do with the order statuses that are used. These affect how stock is handled (or not addressed at all). This document explains how these order statuses work.

    https://docs.woocommerce.com/document/managing-orders/#section-1

    Pending payment orders don’t affect stock, but on-hold and processing orders do.

    Take a look at the order status changes and see if they’re reducing stock as expected. Let us know if you have any questions.

    Cheers

    Thread Starter wizcomhosting

    (@wizcomhosting)

    Thanks for the reply. It is actually this document that is at the root of the confusion.

    It states that a change whilst On Hold causes a stock adjustment. It was this that caused our stock to stay the same. An order is place On Hold to change items. When items are deleted the stock is returned correctly but when items are added and the order changed from Oh Hold to Completed no stock is reduced.

    It is a change from Pending Payment to Completed that causes the stock to be removed. So it is necessary to go from On Hold to Pending Payment (and Update) then Pending Payment to Completed (and Update) to effectuate the stock reduction.

    We have tested this and it is consistent.

    The document in your link doesn’t mention this.

    It does seem rather unintuituve and, although I’m not familiar with the old ‘Adjust Stock’ button it does seem to take some guesswork out of the process.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @wizcomhosting, sorry that we missed your last response.

    It is a change from Pending Payment to Completed that causes the stock to be removed. So it is necessary to go from On Hold to Pending Payment (and Update) then Pending Payment to Completed (and Update) to effectuate the stock reduction.

    There was a fix for this issue in WooCommerce 4.7.0. I’m sorry that you encountered this bug on your site. Have you updated WooCommerce to the latest version on your site and does that resolve the issue?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @wizcomhosting. We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Manual orders and stock control’ is closed to new replies.