- 🇧🇪Belgium weseze
Ran into this issue today. So just confirming this is still an issue.
- 🇮🇱Israel jsacksick
Yes, not sure we can easily fix this... The adjustment label is set by order processors which are invoked on order refresh and the labels are set using the current site language. So basically the adjustment labels are in theory using the customer language.
- 🇧🇪Belgium weseze
For anyone needing a quickfix, this is wat I ended up using:
/** * Implements hook_preprocess_HOOK(). */ function MODULE_preprocess_commerce_order_total_summary(&$variables) { if (isset($variables['totals']['adjustments'])) { foreach ($variables['totals']['adjustments'] as $key => $adjustment) { if ($adjustment['type'] === 'tax') { $variables['totals']['adjustments'][$key]['label'] = t('VAT'); } } }