You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I I wanted to remake the table in my twig file of the new_order, except that the only variables you created in $template_vars weren't enough, so I suggest you add some variables for more flexibility in customizing the mail template.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The problem
I I wanted to remake the table in my twig file of the new_order, except that the only variables you created in $template_vars weren't enough, so I suggest you add some variables for more flexibility in customizing the mail template.
The solution
ADD somes variables like =
'{total_paid_tax_excl}' => $contextLocale->formatPrice($order->total_paid_tax_excl, $currency->iso_code),
'{total_products_tax_excl}' => $contextLocale->formatPrice($order->getTotalProductsWithoutTaxes(), $currency->iso_code),
Alternatives
No response
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions