You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When you change the address on the order page, the amount of the Payment block also changes. #34751
If it concerns only demo product, I'm putting the severity to trivial. But if a member of the community can reproduce it for new orders we could increase the severity
Thank you for opening this issue. We've noticed that this issue has been open for more than 547 days with no recent activity. We want to keep our issue tracker focused and up to date.
Is this issue still relevant to you?
If yes, please leave a short comment below (you or anyone else) to confirm that it's still relevant. We'll then remove the "stale" label and keep the issue open.
If we don't hear back, we'll assume the issue is no longer needed. A grace period of 30 days will apply from this message. After that, the issue will be automatically closed.
We appreciate your contribution and understanding. 🙏
🔒 This issue has been automatically closed because there was no response or activity after it was marked as stale and the 30-day grace period has ended.
If you believe this issue is still relevant, please feel free to reopen it and add a comment explaining why. We're happy to take another look.
Thank you for your participation in this repository.
@AureRita's observation — reproduces on the preregistered orders but not on new ones — has a concrete cause: four of the five demo orders ship with a total_paid that contradicts the rest of their own row.
From install-dev/fixtures/fashion/data/orders.xml, checking each order against its own siblings:
The gap is exactly total_shipping_tax_incl - 2.00 every time, and orders_2 — the only order with no shipping — is the only consistent one. The same query against a shop installed from these fixtures returns the same numbers, so it is the data, not the installer.
Editing the order then runs OrderAmountUpdater::updateOrderTotals(), which recomputes total_paid from the cart and stores the consistent value. Nothing about the address needs to change for the figure to move — the stored value was simply never equal to what the order adds up to. Orders created through the front office or the back office are consistent from birth, which is why they do not reproduce it.
Worth knowing for whoever fixes it: PrestaShop/ui-testing-library's src/data/demo/orders.ts encodes the same wrong figures, and 02_filterOrders.ts:121 filters the orders grid by dataOrders.order_4.totalPaid, so the fixture and the library have to change together. That file also says 69.90 for OHSATSERP where the fixture has always said 169.90.
Activity
AudaceV commentedon Dec 1, 2023
I'm forgot... The order must be "payment accepted"...Obviously :) (before to change another address)
ShaiMagal commentedon Dec 3, 2023
@AudaceV New (changed) address is from same country/state or different?
If different, maybe it's this settings:
"Shop Parameters" - "Order Settings" - "Recalculate shipping costs after editing the order"
AudaceV commentedon Dec 4, 2023
Hi,
thanks for your response!
The country/state is the same.
florine2623 commentedon Dec 4, 2023
Hello @AudaceV ,
I can't reproduce your issue using the same order as you.
Screen.Recording.2023-12-04.at.10.18.59.mov
I'm closing te issue to avoid clogging the backlog.
Thanks!
AudaceV commentedon Dec 4, 2023
Hi @florine2623,
like wrote before: The order must be "payment accepted"...Obviously :) (before to change another address)
Please, check again!
AudaceV commentedon Dec 4, 2023
Hi @florine2623,
NOT SOLVED!
like wrote before: The order must be "payment accepted"...Obviously :) (before to change another address)
Please, check again!
MatShir commentedon Dec 4, 2023
So once the order is paid we should not update price :/
I'm wondering if it is a new behaivor or just an old bug
15 remaining items
MatShir commentedon Dec 7, 2023
If it concerns only demo product, I'm putting the severity to trivial. But if a member of the community can reproduce it for new orders we could increase the severity
github-actions commentedon Mar 23, 2026
👋 Hi there,
Thank you for opening this issue. We've noticed that this issue has been open for more than 547 days with no recent activity. We want to keep our issue tracker focused and up to date.
Is this issue still relevant to you?
We appreciate your contribution and understanding. 🙏
github-actions commentedon Apr 23, 2026
🔒 This issue has been automatically closed because there was no response or activity after it was marked as stale and the 30-day grace period has ended.
If you believe this issue is still relevant, please feel free to reopen it and add a comment explaining why. We're happy to take another look.
Thank you for your participation in this repository.
boo-code commentedon Sep 2, 2026
@AureRita's observation — reproduces on the preregistered orders but not on new ones — has a concrete cause: four of the five demo orders ship with a
total_paidthat contradicts the rest of their own row.From
install-dev/fixtures/fashion/data/orders.xml, checking each order against its own siblings:The gap is exactly
total_shipping_tax_incl - 2.00every time, andorders_2— the only order with no shipping — is the only consistent one. The same query against a shop installed from these fixtures returns the same numbers, so it is the data, not the installer.Editing the order then runs
OrderAmountUpdater::updateOrderTotals(), which recomputestotal_paidfrom the cart and stores the consistent value. Nothing about the address needs to change for the figure to move — the stored value was simply never equal to what the order adds up to. Orders created through the front office or the back office are consistent from birth, which is why they do not reproduce it.Worth knowing for whoever fixes it:
PrestaShop/ui-testing-library'ssrc/data/demo/orders.tsencodes the same wrong figures, and02_filterOrders.ts:121filters the orders grid bydataOrders.order_4.totalPaid, so the fixture and the library have to change together. That file also says69.90forOHSATSERPwhere the fixture has always said169.90.