Jump to content

Cancel order and re-inject stock


ShanPrabu

Recommended Posts

Hi all,
I am using PrestaShop 1.3. I am trying to write a small piece of code inside the AdminOrders.php that will allow me to reinject product quantity into the stock when I change the Order Status to Cancelled. I want the product to be in the Order. Only the Order status has to change and quantity has to get adjusted. How do I achieve this? Any help will be appreciated.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...