Quote from: abolabo on December 01, 2025, 04:46:42 AMplease try this fix and let us know
https://github.com/abantecart/abantecart-src/commit/14872852c907429920291d8e7630fb43e2d80bb5
Hello Sir. your suggestion worked and fixed my issue but after replacing the order, from the admin panel side when we edit the order details and do some changes on it for example available quantity or price or anything else and try to save the changes, we get an error which loading a tab which says report to AbanteCart Team about this issue as next and as in the screenshot:
There has been a critical error processing your request
Please check AbanteCart and webserver error logs for more details. You can check error log in the control panel if it is functional. Otherwise, refer to error log located on your web server
Report this problem to AbanteCart team (do not change email subject)
Check AbanteCart Troubleshooting Guide
Need help? Contact for support
Go to main page
in the error logs there is these lines as follow:
2025-12-05 10:01:09 - Unknown Error: AbanteCart core v.1.4.3 Division by zero
Trace:
#0 /admin/model/sale/order.php(310): ModelSaleOrder->editOrderProduct()
#1 /admin/controller/pages/sale/order.php(372): ModelSaleOrder->editOrder()
#2 /core/engine/dispatcher.php(306): ControllerPagesSaleOrder->details()
#3 /core/engine/dispatcher.php(341): ADispatcher->dispatch()
#4 /core/engine/page.php(108): ADispatcher->dispatch()
#5 /core/engine/router.php(204): APage->build()
#6 /core/engine/router.php(86): ARouter->route()
#7 /index.php(81): ARouter->processRoute()
#8 {main} in /admin/model/sale/order.php on line 438
how to solve this issue too?
Thank you...


. don't worry i still have too much idea to share here