Change the display name of order total the following code to replace the displayed name of the subtotal.

How to change the display name of order total ?

// Rename subtotal.
function seven_subtheme_back_office_commerce_price_component_type_info_alter(&amp;$component_types) {
  $component_types['base_price']['display_title'] = t('Sous-total hors remises');
}


the following code does not work, it must be poorly written :

// Rename subtotal.
function seven_subtheme_back_office_commerce_price_component_type_info_alter(&amp;$component_types) {
  $component_types['base_price']['display_title'] = t('Sous-total hors remises');
  $components['commerce_price_formatted_amount']['title'] = t('ORDERrrrr TOTAL');
}
For changing order total, this line

// Replace ORDER TOTAL text as per your requirement.
$components['commerce_price_formatted_amount']['title'] = t('ORDER TOTAL');


should be added inside your above mentioned function. Check if it works.