Jump to content

Blank Tracking Number in Email


Dove99x

Recommended Posts

I'm having trouble adding tracking number to email as it is showing up as blank version 1.6.1.7 . I went into "class/order/OrderHistory.php" and updated the code

$topic = $result['osname'];
            $data = array(
                '{lastname}' => $result['lastname'],
                '{firstname}' => $result['firstname'],
                '{id_order}' => (int)$this->id_order,
                '{order_name}' => $order->getUniqReference()
            );

to this below, but the when email template is sent out the {shipping_number} is empty. How can I fix this?

$topic = $result['osname'];
            $data = array(
                '{lastname}' => $result['lastname'],
                '{firstname}' => $result['firstname'],
                '{id_order}' => (int)$this->id_order,
                '{shipping_number}' => $order->shipping_number,
                '{order_name}' => $order->getUniqReference()
            );

to this below, but the when email template is sent out the {shipping_number}

Edited by Dove99x (see edit history)
Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...

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...