• Resolved eduardn1

    (@eduardn1)


    Hi there,

    One client made and order for 6 product ( as you can see they were 15 in stock ).
    After the order was cancelled (2 days delay) the stock was added automatically but from 21 to 27 ? why ? and how’s that possible if at first was 15 in stock ?

    please check screenshot. https://cln.sh/c3NK5e

    Any ideas ? Huge problem because another person order the exact amount of 27 but we don’t have it in stock //

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RVOLA

    (@rvola)

    Hello @eduardn1

    I understand. However the plugin does not intervene in the modification of stock.
    Everything is managed “natively” by WooCommerce.

    I think in your situation someone or another plugin changed the quantity of the product between the time of purchase and the refund.

    Because the system has to re-credit 6 products.

    Thread Starter eduardn1

    (@eduardn1)

    If doesn’t intervene in the modification of the stock after the cancell we should manually restock it ?

    The thing is that nobody or any plugin worked to do the stock change.

    The order was on hold for 2 days (payment with bank account) after 2 days it automatically delete cancelled the order and instead of turning to the stock that was previous maybe it was calcolated the 15+6 dont know why and added another 6.

    I can asure you that nobody changed stock

    Plugin Author RVOLA

    (@rvola)

    the restock is directly linked to the option in the settings of WooCommerce.

    The plugin only does:
    1 – look for orders pending for XXX days
    2 – cancel each order using the WooCommerce code that
    $ order-> update_status (‘canceled’, $ message_woocap);

    This involves actions from WooCommrece which can be used by other extensions as well.

    The ideal is to make a copy on the DEV server,
    deactivated all plugins except WooCommerce and WOOCAO and do the test.

    You can also “accelerate” the cancellation by “aging” the date of the order in the database then launch the task in the Status> Scheduled actions menu
    https://domain.xxx/wp-admin/admin.php?page=wc-status&tab=action-scheduler&status=pending

    If the problem persists contact me

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After cancelling order wrong stock added’ is closed to new replies.