s-cart / s-cart

Free Laravel e-commerce for business: shopping cart, cms content, and more...

Home Page:https://s-cart.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshots
image
image
image

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