• Resolved wpshushu

    (@wpshushu)


    Hi,

    How can I make WooCommerce cancel unpaid products with products that are no longer available? Is it a WC built-in feature or needs 3rd party extension support?

    Thanks
    Shawn

Viewing 2 replies - 1 through 2 (of 2 total)
  • WooCommerce does not have a built-in feature to automatically cancel unpaid orders that contain products that are no longer available. However, you can use a plugin like “WooCommerce Order Status Manager” to create a custom order status for unpaid orders that contain products that are no longer available.

    Once you have installed and activated the plugin, you can follow these steps to create the custom order status:

    1. Go to the WordPress dashboard and navigate to “WooCommerce > Order Statuses”.
    2. Click the “Add Order Status” button.
    3. Enter a name for the new order status, such as “Cancelled – Out of Stock”.
    4. Select “Unpaid” from the “Set as Unpaid Order Status” dropdown.
    5. Click the “Add New Status” button to save your changes.

    After creating the new order status, you can use the “WooCommerce Order Status Manager” plugin to create a custom action that will automatically change the status of unpaid orders that contain products that are no longer available.

    I hope this helps! Let me know if you have any other questions.

    HI @wpshushu

    Thanks for reaching out!

    I understand that you want to automatically unpaid orders when the product becomes out of stock on your inventory, correct?

    I did some research and found this article could be a good starting point: WooCommerce: Automatically Cancel Orders

    Meanwhile, these forums are meant for general support with the core functionality of WooCommerce itself. What you want to achieve is a bit complex and would require customization to do it. Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘auto cancel order with unavailable products’ is closed to new replies.