Jump to content

[Solved] {shipping_number} empty template in_transit email


Recommended Posts

hace 2 horas, Knowband Plugins dijo:

Revisé la plantilla de correo electrónico predeterminada (incluyendo in_transit pero no creo que haya ninguna variable {shipping_number}). 

Por favor, confirme si ha agregado esta variable manualmente?


yes, this included in mi template in_transit. I have also reviewed AdminOrdersController and this is what I have:

  $templateVars = array(
                            '{followup}' => str_replace('@', $order->shipping_number, $carrier->url),
                            '{firstname}' => $customer->firstname,
                            '{lastname}' => $customer->lastname,
                            '{id_order}' => $order->id,
                            '{shipping_number}' => $order->shipping_number,
                            '{order_name}' => $order->getUniqReference()

even so in in_transit appears {shipping_number} as is.

Share this post

Link to post
Share on other sites

hace 33 minutos, Knowband Plugins dijo:


I have checked the same at my end & its printing correctly. Not sure what's the reason for the same.  

Can you please check if there is any override of this controller in override folder?


I do not have any override that could affect, my prestashop is in case is helpful.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More