Describe the bug
Clients reported that they don't receive tracking information. I have reproduced the issue. Let me explain.
Our backoffice is synchronized by API web service with storehouse. Shipping number is generated outside of Prestashop backoffice and pasted in by web service. However that cause problem - when API service is changing order status automatic emails are not sending.
That's why when the order is finished I'm changing order status to "Sent" manually.
When I'm doing that {followup} placeholder doesn't work.
Do You have any clue why it's not working?
Or is it any other way to edit the email template? What are available placeholders? Because {shipping_number} doesn't work as well.
I could make a change that email will look like:
Shipping service: DB Schenker
Shipping number: {shipping_number}
Tracking link: - I could manually paste a general link to the carrier -
Any way to make that possible?
Screenshots
[Screenshot 1]
I've made an carrier for testing. As You can see there is an DB Schenker tracking URL.
[Screenshot 2]
There is an 'in-transit' email translation. Followup placeholder is as default.
[Screenshot 3]
As You can see shipping numer is generated correctly. When I click on it redirecting me to the DB Schenker website with the correct number. I've underlined URL
[Screenshot 4]
Screenshot of email which I've received after the status change. Name and order id is downloaded. However [followup] placeholder doesn't
Additionnal information
PrestaShop version: 1.7.4.2
PHP version: 5.6.32
Hi @febestore,
I did not manage to reproduce the issue with PS1.7.5.0.

Could you please provide some information about this only carrier, did you created it manually or it is a customized module that you installed?
Thanks!
It's manually created carrier. Without any modifications. When You manually write a shipping number {followup} works fine. But When You change order status with 'in_transit' template it doesn't work.
Can I ask You to write me an email or private message? I will show You video with all the steps.
It has few personal data I don't want to paste this in public.
Cheers
Hi @febestore,
This is a public space.
My address mail: khouloud.[email protected]
Let's be safe!
@febestore, thanks a lot for these clarifications.
To reproduce this issue, we need to follow these steps:
Delivered status where
http://example.com/track.php?num=@DeliveredTracking number
Delivered
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Issue reproduced on PS1.7.5.1 / PS1.7.5.0 / PS1.7.4.4
Thanks!
Hi all,
I've fixed this bug in this pull request: https://github.com/PrestaShop/PrestaShop/pull/12705
Hope this helps.
Hello,
You are the real MVP. Everything works after modifications!
Screenshot:
Thanks!
Most helpful comment
Hi all,
I've fixed this bug in this pull request: https://github.com/PrestaShop/PrestaShop/pull/12705
Hope this helps.