[solved] OpenCart 3.0.3.8 Confirm Order Function
Posted: Sat Jan 22, 2022 1:01 am
Good Afternoon All. Hope your well.
Apologies if this has been answered before. But I have setup Opencart 3.0.3.8 to replace our 1.5 setup.
Comparing the code and functionality, I noticed in 1.5 there was a confirm Order function, in catalog/model/checkout/order.php :
public function confirm($order_id, $order_status_id, $comment = '', $notify = false) {
However I cant seem to find the corresponding function in the latest version. The closest I have come is the following function (in the same file on the newer version):
public function addOrderHistory($order_id, $order_status_id, $comment = '', $notify = false, $override = false) {
Could anyone confirm if just the name of the function has changed in between versions. Thank you for your assistance
Apologies if this has been answered before. But I have setup Opencart 3.0.3.8 to replace our 1.5 setup.
Comparing the code and functionality, I noticed in 1.5 there was a confirm Order function, in catalog/model/checkout/order.php :
public function confirm($order_id, $order_status_id, $comment = '', $notify = false) {
However I cant seem to find the corresponding function in the latest version. The closest I have come is the following function (in the same file on the newer version):
public function addOrderHistory($order_id, $order_status_id, $comment = '', $notify = false, $override = false) {
Could anyone confirm if just the name of the function has changed in between versions. Thank you for your assistance