Jump to content

Order state and stock


Recommended Posts

Dears ,

 

I write because I have a problem. I need to unlink the stock with the order state "awaiting bank transfer payment".

I mean , say I have a product with a stock of 1 unit, and a customer makes a purchase. Assume that the client chooses as payment bank transfer. When the ortder is generated, prestashop "save" the stock for the person who will do the transfer (awaiting payment before being approved ) , leaving without stock the product.

 

If that person never make a payment,  the stock  of the product  never  be released, and this produces future looses on sales by having out of stock  the product.

 

I would like to know how to disable this function  in prestashop , wherein the order status is decoupled " expected by bank transfer " to release the stock of the product.

My prestashop version is 1.5.6.2 .

Note that I do not want to rescue unpaid orders , with modules of abandoned carts to remind customers that the store pay order.

An idea that occurred to me , is to associate to bank transfer , another order status when payment is expected by transfer, and create a new , but not if it would work.

 

Regards

Link to comment
Share on other sites

Hi,

 

You can inform those customers who are choosing bank transfer that if stock is low & they will not do payment within xxx days then your we will not be able to save your order.

 

After that you can write a cron script  who will check the payment method, stock, no. of days you are offering. Once the days will get over & payment was not made then script will make that order cancle & update that product inventory.

 

 

Thanks

Alok

Link to comment
Share on other sites

×
×
  • Create New...