Re: Stock Level not decreasing
Posted: Thu Feb 20, 2020 10:02 pm
OC version? Which extensions do you use? More information is needed.
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
Code: Select all
$this->log->write('Order history add: processing order '.$order_id.' with old status '.$order_info['order_status_id'].' and new status '.$order_status_id);
Code: Select all
if (!in_array($order_info['order_status_id'], array_merge($this->config->get('config_processing_status'), $this->config->get('config_complete_status'))) && in_array($order_status_id, array_merge($this->config->get('config_processing_status'), $this->config->get('config_complete_status')))) {
Code: Select all
$this->log->write('Order history add: subtracting stock for order '.$order_id.' with old status '.$order_info['order_status_id'].' and new status '.$order_status_id);
Probably time to pay a professional: Commercial Support.brickmodder wrote: ↑Fri Jan 31, 2020 6:41 amI've been trying to fix this for almost a year now to no avail.
Could you please add a link to the FAQ where it discusses the proper way to set order statuses?
Followed is the location: viewtopic.php?f=134&t=215776&start=20#p775757
In that post, where you stated:straightlight wrote: ↑Wed Apr 22, 2020 8:30 pmFollowed is the location: viewtopic.php?f=134&t=215776&start=20#p775757
Did you MEAN to say:Also take note that the shipped option shows as check marked from the screenshot. This option does not need to be checked if the store does use shipping options.
Otherwise, I would expect that sentence to be:This option does not need to be checked if the store does NOT use shipping options.
Would appreciate the clarification.This option does not need to be checked if the store uses shipping options.
Thanks. Definitely unexpected. It has now been fixed.This option does not need to be checked if the store does NOT use shipping options.