Skip to content

Commit ae19b0d

Browse files
committed
MC-38031: Checkout with Multiple Addresses - Review Page does not follow the configured total sort order
1 parent 73c6045 commit ae19b0d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/code/Magento/Multishipping/Block/Checkout/Overview.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,11 @@ public function getBillingAddressTotals()
431431
*/
432432
public function renderTotals($totals, $colspan = null)
433433
{
434-
//check if the shipment is multi shipment
435-
$totals = $this->sortTotals($this->getMultishippingTotals($totals));
434+
// check if the shipment is multi shipment
435+
$totals = $this->getMultishippingTotals($totals);
436+
437+
// sort totals by configuration settings
438+
$totals = $this->sortTotals($totals);
436439

437440
if ($colspan === null) {
438441
$colspan = 3;

0 commit comments

Comments
 (0)