WordPress.org

Forums

WooCommerce
Manage Inventory and Sales Over Order Cancel( Solution ) (1 post)

  1. mvaqasuddin
    Member
    Posted 2 years ago #

    This is modified class for the woo commerce, There were an issue when admin cancel the order, Woo commerece didn't reduce the stock as well total_sales. What you need to do.

    1:> Find this class file and open.
    wp-content.plugins/woocommerce/classes/class-wc-order.php

    2:> Ctrl + A and Delete All code (If you want to take this code back up you can save this code to your Hard drive )

    3:>open this link (This is modified class for the cancel order which will manage stock and sales as well for the order cancel.

    http://snipt.org/BKt7

    4:> save.

    Enjoy now it will automatically manage Inventory Management Over Cancel Orders as well Total-Sales.

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic