Change shipping URL on email notification

MorganPub
Excursionist
40 0 8

I see that the notification email goes 

  <p class="disclaimer__subtext">
    <br/>
    {% if fulfillment.tracking_numbers.size == 1 and fulfillment.tracking_company and fulfillment.tracking_url %}
      {{ fulfillment.tracking_company }} numero di tracking: <a href="{{ fulfillment.tracking_url }}">{{ fulfillment.tracking_numbers.first }}</a>
    {% elsif fulfillment.tracking_numbers.size == 1 %}
      Numero di tracking: {{ fulfillment.tracking_numbers.first }}
    {% else %}
      Numeri di tracking:<br />
      {% for tracking_number in fulfillment.tracking_numbers %}
        {{ tracking_number }}<br />
      {% endfor %}
    {% endif %}
  </p>

Problem is, the link goes to GLS Europe, instead of going GLS Italy or TNT, is it possible to change the url (I suppose its under "fulfillment.tracking_url" ? but I can't seem to find WHERE this refers to).

 

 

 

Replies 2 (2)

domenicobertazz
Visitor
1 0 0

Hello Morgan, were you able to solve this problem?

 

Uzsonnasdobozom
Visitor
1 0 0

Had the same issue with Hungarian GLS Tracking URL.
This is what worked for me:
If I add the tracking number WITHOUT the first 3 digits, there is an extra Tracking URL field that can be used (on desktop it will show only if the tracking number is added as explained. On mobile it is disabled until the tracking number as explained is added).
And then I just need to include the whole tracking number WITH first 3 digits in this Tracking URL.

E.g for my GLS packages in Hungary the Tracking URL is: 

https://gls-group.com/HU/hu/csomagkovetes.html?match= 


Screenshot 2023-08-21 at 23.43.18.png