- 🇬🇧United Kingdom adamps
I am also hitting this as part of developing Symfony Mailer module, which enables the billing profile in Manage Display. I currently have a workaround with
hook_preprocess_commerce_order()
.It's not clear to me why the code mentioned in the IS is needed, because the field renders perfectly well by the normal mechanisms. However I guess any fix would need to be careful not to break existing sites.
A simple fix that would solve the duplicate rendering (but not the removal) is to avoid adding
$variables['order']['billing_information']
is$variables['order']['billing_profile']
is already set.It would be great to have an idea of how we can move this one forward, thanks.