Jump to content

How do I print total_shipping_tax_excl, in email template order_conf.html?


dvd74

Recommended Posts

  • 1 month later...

Try changing line 753 (in PrestaShop v1.6.1.11) of classes/PaymentModule.php from:

'{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false),

to:

'{total_shipping}' => Tools::displayPrice($order->total_shipping, $this->context->currency, false),
'{total_shipping_tax_excl}' => Tools::displayPrice($order->total_shipping_tax_excl, $this->context->currency, false),

This should make {total_shipping_tax_excl} available in order_conf.html and order_conf.txt.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...