data-pk value is different in admin order page
humble92 opened this issue · comments
Describe the bug
data-pk value is different in admin order page.
As the caputures shown, data-pk is increasing (3, 4, 6) even though the url address is admin/order/detail/1
data-ps should be 1
To Reproduce
Try to modify shipping, discount, and received value in admin
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Thanks for report.
This error fixed. However, it is not relation to pk value. For 6.x, pls hotfix via command line "php composer.phar update s-cart/core".
Yeap, found it, too. In spite of my wrong analysis, you did it. Thanks.
$orderId = $orderTotalOrigin->order_id;
in AdminOrderController