Post by LédiFrance » Sun Aug 09, 2015 9:58 pm

It would make sense if taxes were ordered according to their priority in the cart checkout, but they're not, and it seems there is no easy way to modify their order.

Actually taxes are correctly ordered until this call in "catalog/controller/checkout/cart.php" :

Code: Select all

array_multisort($sort_order, SORT_ASC, $total_data);
The array_multisort function gets rid of the initial ordering in case of equality on the sortering key (which here is the sort order as defined between total, subtotal, taxes, etc., and therefore is the same for all taxes).

Newbie

Posts

Joined
Wed Jul 22, 2015 10:40 pm

Post by LédiFrance » Sun Aug 09, 2015 11:54 pm

Not really a bug fix, but here is a workaround.

Newbie

Posts

Joined
Wed Jul 22, 2015 10:40 pm
Who is online

Users browsing this forum: No registered users and 3 guests