Jump to content

Advanced Stock Management Not Always Updating With COD


Recommended Posts

V1.6.0.14

Hi,

Not sure if missing a process step or something but a number of times when products have been purchased (all orders COD) the stock level in the product description is correct, the decrease is noted in the Advanced Stock Movement, the product is set to use Advance Stock Management, BUT the Stock Management shows the pre-sale total. The sale has not been deducted from this so I have to go in a do a manual stocktake decrease on it if i remember to.

 

After the COD order has been made I set the status to Delivered and Payment Accepted.

 

What am I missing here?

 

Thanks

Link to comment
Share on other sites

You could run a small modification. Edit the cod module so that it sets the order to a new status (You will have to create it, of course). Set it as "order is valid", using something like "cod order being processed" instead of the standard preparation in progress. The file you want to modify is validation.php, in cashondelivery/controllers/front/

 

CHange this to your new status' id

 

Configuration::get('PS_OS_PREPARATION')

Link to comment
Share on other sites

Hi,

Thanks for the details.

 

Does this mean that the COD module isn't really integrated fully with the Advanced Stock Management. I assumed that if a COD transaction was triggered then that surly meant stock had to be deducted from the Advanced Management as that stock is no longer available.

Link to comment
Share on other sites

It only means it's setup so it picks the "preparation in progress" status. If this is not set to validate the order in the status preferences, units will not be deducted. THerefore, under order -> statuses, hit Preparation in progress and make sure it has the "order is valid" option ticket

Link to comment
Share on other sites

×
×
  • Create New...