Jump to content

[Solved] Setting up track number in email notification


Recommended Posts

When I change order status to Shipped, the customer will get email notification (template "in_transit" ) with tracking link but there is no tracking number I setup in admin before. 

If I look into the code, there is no attribute added to add tracking number.

You can track your package using the following link: <a href="{followup}" style="color:#337ff1">{followup}</a>

I tried add {tacking_number} and {shipping_number} just after the line but none of this work, it just add after the link {tracking_number} or {shipping_number}.

 

Any ideas how to get this work?

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

The tracking URL is definetely setup.  Thank you PascalVG but this topic not answering my question.

What I was asking is how to add tracking number inside the tracking URL or just after that?

 

The prestashop send customer information that goods have been shipped and here it is tracking url but no tracking number on it.

I need to add tracking number to URL which is pre-setup in my admin before oreder updated to status Shipped.

 

post-821440-0-43440600-1428592813_thumb.jpg

Link to comment
Share on other sites

I marked this topic as solved however there is still bug with url appearing when you edit your carrier. So how many times you edit your carriers, so many entries appear in your DB and track carriers number will stop working.

 

This issue has been solved on PS 1.5 here and bug for PS 1.6. reported  here .

 

Please point me to the right direction if there is any solution how to solve this?

 

P.S. For myself I manage to solve this by manualy  deleling the duplicate entries in DB. This would work until I forget to edit my carriers in future :).
Link to comment
Share on other sites

Thanks bellini13

Yes you are right. The entries are duplicating in DB for each carrier I edit.

I did not presume that prestashop doing this on purpose.

 

I dare to presume that these enties would be hundreds for some time using. I did not started my eshop yet and through testing had more then 130 entries. 

 

But anyway thanks for the help. 

Link to comment
Share on other sites

Everytime you change a carrier, a new carrier record is created and the original is hidden. 

Everytime you delete a carrier, the carrier is just hidden.

 

This is because you might have orders that have used these carriers.

 

Let's say you changed Carrier A cost from $10 to $15.  Or let's say you changed the Carrier name from UPS to Fedex.  Those changes would have a negative impact on orders that have been placed already.  This is why Prestashop hides the original carrier, and creates a new one. 

 

The same thing occurs with Customer Addresses.  Of course a customer can change their address information, but if that address was used in a previous order, then it would have an adverse impact to that order.  So again, if the customer address is changed or deleted, a new address record is created and the original is hidden.

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