Hi,
On the orders pages, I have , for exemple, an order /admin/orders/############.json with 3 tracking links :
/* etc... */
"fulfillments": [
{
"id":/* etc... */
/* etc... */
"tracking_company": "canadapost",
"tracking_number": "1972400000000010",
"tracking_numbers": [
"1972400000000010",
"1972400000000019",
"1972400000000023"
],
"tracking_url": "https:\/\/www.fedex.com\/fedextrack\/?trknbr=1972400000000010",
"tracking_urls": [
"https:\/\/www.fedex.com\/fedextrack\/?trknbr=1972400000000010",
"https:\/\/www.fedex.com\/fedextrack\/?trknbr=1972400000000019",
"https:\/\/www.fedex.com\/fedextrack\/?trknbr=1972400000000023"
],
I have into the customers/account.liquid
{% for line_item in order.line_items %}
{% if line_item.fulfillment.tracking_number %}
{{ line_item.fulfillment.tracking_company }} #{{ line_item.fulfillment.tracking_number}}
{% else%}
N/A
{% endif %}
{% endfor %}
When the customer consults his “Customer Account” page he can see 3 sames number : it is a first number on the tracking_numbers 1972400000000010
like that :
| FedEx#1972400000000010 FedEx#1972400000000010 FedEx#1972400000000010 |
|---|
How I can change it like this :
| FedEx#1972400000000010 FedEx#1972400000000019 FedEx#1972400000000023 |
|---|
Could you help me, please