Giter VIP home page Giter VIP logo

reduce-stock-of-manual-orders-for-woocommerce's Introduction

Reduce stock of manual orders for WooCommerce

Contributors: claudiosanches
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RBVENSVSKY7JC
Tags: woocommerce, reduce, increase, stock
Requires at least: 4.0
Tested up to: 4.9
Stable tag: 2.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Automatically reduce or increase stock levels of manual orders in WooCommerce

Description

Automatically reduce stock levels when:

  • Order status is changed to Processing or Completed in order screen or using the bulk actions on orders list screen.

Automatically increase stock levels when:

  • Order status is changed to Canceled in order screen or using the bulk actions on orders list screen.

Instructions

  1. This plugin does not require any kind of configuration, just install and start update the orders statuses in the admin screen to update the stock levels too.
  2. Requires WooCommerce 3 or later to work.

Contribute

You can contribute to the source code in our GitHub page.

Installation

  • Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
  • Activate the plugin.

Note that is not necessary any kind of configuration.

Changelog

2.0.0 - 2018/05/11

  • Full support to WooCommerce 3.x.
  • Dropped support for legacy versions of WooCommerce, like WooCommerce 2.7.

1.0.1 - 2017/01/08

  • Fixed how reduce order when using the order quick action buttons.
  • Introduced the rsmo_wc_reduce_stock_statuses and rsmo_wc_increase_stock_statuses filters.

1.0.0 - 2016/09/14

  • Initial plugin version.

Upgrade Notice

2.0.0

  • Full support to WooCommerce 3.x.
  • Dropped support for legacy versions of WooCommerce, like WooCommerce 2.7.

reduce-stock-of-manual-orders-for-woocommerce's People

Contributors

claudiosanches avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reduce-stock-of-manual-orders-for-woocommerce's Issues

Reduce product stock count from 0 to -1 !

Hi. and sorry for my english.
When product stock count is 0 (out of stock), creating manual order will set that count from 0 to -1, -2 or etc. ! please check this issue.

Stock is reduced twice

It reduces stock when an order status is changed to Processing and it reduces again when the order status is changed from Processing to Completed

Stock not returning after updating to WooCommerce 3.0.7

Hi!

Thanks for the great plugin!

We just updated to WC 3.0.7 and now when we change an order from Completed to Cancelled it no longer returns the cancelled order to the stock level. Otherwise the plugin seems to work just fine and stock levels are reduced when orders are made in the admin.

Completed to Cancel issue

Hi there,

First of all, thank you for your awesome plugin.

I changed an order status from Canceled to completed at first, which reduced 5 stocks from the inventory. It's correct so far. Then I changed the Status back to cancel/hold. It added 10 stocks instead of 5. It restocked the inventory two times surprisingly!

Do you have any clue on this?

how to add on hold

Hi, what if I want to reduce when case is "on hold". Is this possible?

thanks for help and reply

Change Requests

I have two request:

  1. Is it possible to add On Hold & Pending Payment to this grouping. "Automatically reduce stock levels when: Order status is changed to Processing or Completed in order screen or using the bulk actions on orders list screen." It would mean when I place an order I can put it on hold and reserve the stock. When the order is paid for I can change it to Processing, then when I ship it I change it to Completed making it easier to review order status against logistics.

  2. Is it possible to reconcile with product inventory management settings. When we place a manual order the order quantity does not recognise the individual product inventory settings so even if a product is set to manage inventory, stock quantity is set and allow backorders is set to do not allow we can over order. At minimum it would be good to display the inventor status for "Manage Stock", "Stock Quantity" and "Allow Backorders".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.