Dispaly order tracking number & url on Order page

Topic summary

A user is attempting to display order tracking numbers and URLs on their Shopify order page using Liquid code but encountering issues—the tracking number isn’t appearing despite implementing conditional logic for single and multiple fulfillments.

Technical Details:

  • The code snippet uses Liquid template tags to check for tracking numbers, company names, and URLs
  • The implementation includes conditional formatting for single vs. multiple tracking numbers
  • The code appears partially corrupted or reversed in the original post, suggesting potential formatting issues

Proposed Solution:
A vendor (ParcelPanel) recommends their Order Tracking app as an alternative approach, which offers:

  • Built-in order status page configuration
  • Integration with 1,090+ carriers worldwide
  • Features including email notifications, upsells, analytics, and dropshipping mode
  • 7-day free trial (extendable to 30 days via specific referral link)

Status: The original coding issue remains unresolved; no community members have debugged the Liquid template code directly.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

Hi,

I want to dispaly order tracking number & url on Order page .

I used this code :

{% if fulfillment.tracking_numbers.size > 0 %}
            

            

            {% if fulfillment.tracking_numbers.size == 1 and fulfillment.tracking_company and fulfillment.tracking_url %}
                {{ fulfillment.tracking_company }} numéro de suivi: {{ fulfillment.tracking_numbers.first }}
            {% elsif fulfillment.tracking_numbers.size == 1 %}
                Numéro de suivi: {{ fulfillment.tracking_numbers.first }}
            {% else %}
                Numéros de suivi:

                {% for tracking_number in fulfillment.tracking_numbers %}
                {{ tracking_number }}

                {% endfor %}
            {% endif %}
            

        {% endif %}

But the page is not showing the trucking number :disappointed_face:
Any help please ?

Kind regards,

Hi @Nessek , ParcelPanel Order Tracking app can help you to set up the Order Status page. You can go to the “Settings” to add the tracking link you want.

If you need more help, don’t hesitate to contact our 24/7 customer service team.

ParcelPanel is the best Shopify order tracking software in 2023 - rated 5 out of 5 stars in the Shopify App Store, based on over 1,400 reviews. It is unrivaled order tracking solution for Shopify businesses, seamlessly integrated with over 1,090 carriers worldwide as well as 20+ third-party apps.

  • Comprehensive features at an affordable price, including order tracking, email notifications, upsells, analytics
  • Dropshipping mode intended for dropshippers
  • Supports split shipments for great convenience
  • Custom order statuses to reduce customers’ anxiety
  • AI-powered product recommendations
  • Estimated delivery time based on destination countries and calibrated by information from your couriers

Normally, we offer a 7-day free trial. If you want to extend the period to 30 days, make sure to use this link when installing ParcelPanel.