I've just tried to print $order in different part of the index.php?main_page=checkout_payment
In includes\modules\pages\checkout_payment\header_php.php :
Code:
[info] => Array
(
[order_status] => 1
[currency] => EUR
[currency_value] => 1.00000000
[payment_method] =>
[payment_module_code] =>
[coupon_code] =>
[shipping_method] => Envoi Colissimo (Colissimo suivi + assurance)
[shipping_module_code] => colissimo_colissimo
[shipping_cost] => 5.1
[subtotal] => 100
[tax] => 16.3879598662
[total] => 105.1
[tax_groups] => Array
(
[TVA Intra] => 16.3879598662
)
In includes\classes\order_total.php : same as above
In includes\modules\order_total\ot_total.php (which gives the good result : 5.1 + 19.6% = 6.1) :
Code:
[info] => Array
(
[order_status] => 1
[currency] => EUR
[currency_value] => 1.00000000
[payment_method] =>
[payment_module_code] =>
[coupon_code] =>
[shipping_method] => Envoi Colissimo (Colissimo suivi + assurance)
[shipping_module_code] => colissimo_colissimo
[shipping_cost] => 6.1
[subtotal] => 100
[tax] => 17.3879598662
[total] => 106.1
[tax_groups] => Array
(
[TVA Intra] => 17.3879598662
)
Bookmarks