I created a new store two days back and submitted two test orders. The orders went fine to the order fulfillment company and, once the orders were fulfilled, Shopify showed the order status as fulfilled. So far so good. However, Shopify is not showing the tracking numbers on the order status page. If I click on the order number to see the detail of the order, I can see the tracking number there. So I know the tracking number is synced back to Shopify correctly. It just does not show up on the orders page.
I think it is just a display issue - but I am not able to pinpoint where the problem is. Do I have to change some settings somewhere or change any HTML/CSS/liquid files?
Any help will be appreciated.
Thanks
Indra
@idutta2007
yes please order page code so i will check and update code
Hi Ketan,
I can’t find the order page code in the theme. There is a customer/order.liquid file which shows detail of the customer order. That’s all I could find anything related to the order. I am using the Minimal theme. So if you can figure out which file lists the orders for the store, I will paste it here.
Thanks
Indra
1 Like
@idutta2007
yes please sent this file code
customer/order.liquid
Here is the file content:
{{ 'customer.account.title' | t }}
{{ 'customer.account.return' | t }}
{{ 'customer.order.title' | t: name: order.name }}
{{ 'customer.order.date' | t: date: order.created_at | date: format: 'date_at_time' }}
{%- if order.cancelled -%}
{%- assign cancelled_at = order.cancelled_at | date: format: 'date_at_time' -%}
{{ 'customer.order.cancelled' | t: date: cancelled_at }}
{{ 'customer.order.cancelled_reason' | t: reason: order.cancel_reason }}
{%- endif -%}
{%- for line_item in order.line_items -%}
{%- endfor -%}
{%- if order.cart_level_discount_applications != blank -%}
{%- for discount_application in order.cart_level_discount_applications -%}
{%- endfor -%}
{%- endif -%}
{%- for shipping_method in order.shipping_methods -%}
{%- endfor -%}
{%- for tax_line in order.tax_lines -%}
{%- endfor -%}
| {{ 'customer.order.product' | t }} |
{{ 'customer.order.sku' | t }} |
{{ 'customer.order.price' | t }} |
{{ 'customer.order.quantity' | t }} |
{{ 'customer.order.total' | t }} |
{{ line_item.title | link_to: line_item.product.url }}
{%- assign property_size = line_item.properties | size -%}
{% unless line_item.selling_plan_allocation == nil and property_size == 0 %}
{% unless line_item.selling_plan_allocation == nil %}
{{ line_item.selling_plan_allocation.selling_plan.name }}
{% endunless %}
{% if property_size != 0 %}
{% for property in line_item.properties %}
{% assign property_first_char = property.first | slice: 0 %}
{% if property.last != blank and property_first_char != '_' %}
{{ property.first }}:
{%- if property.last contains '/uploads/' -%}
{{ property.last | split: '/' | last }}
{%- else -%}
{{ property.last }}
{%- endif -%}
{% endif %}
{% endfor %}
{% endif %}
{% endunless %}
{%- if line_item.line_level_discount_allocations != blank -%}
{%- for discount_allocation in line_item.line_level_discount_allocations -%}
-
{{ discount_allocation.discount_application.title }} (-{{ discount_allocation.amount | money }})
{%- endfor -%}
{%- endif -%}
{%- if line_item.fulfillment -%}
{%- assign created_at = line_item.fulfillment.created_at | date: format: 'date' -%}
{{ 'customer.order.fulfilled_at' | t: date: created_at }}
{%- if line_item.fulfillment.tracking_url -%}
{{ 'customer.order.track_shipment' | t }}
{%- endif -%}
{{ line_item.fulfillment.tracking_company }}
{%- if line_item.fulfillment.tracking_number -%} #{{ line_item.fulfillment.tracking_number }} {%- endif -%}
{%- endif -%}
|
{{ line_item.sku }} |
{%- if line_item.original_price != line_item.final_price -%}
{{ 'products.product.regular_price' | t }}
{{ line_item.original_price | money }}
{{ 'products.product.sale_price' | t }}
{{ line_item.final_price | money }}
{%- else -%}
{{ line_item.original_price | money }}
{%- endif -%}
{%- if line_item.unit_price_measurement -%}
{% include ‘product-unit-price’, variant: line_item, available: true %}
{%- endif -%}
|
{{ line_item.quantity }} |
{%- if line_item.original_line_price != line_item.final_line_price -%}
{{ 'products.product.regular_price' | t }}
{{ line_item.original_line_price | money }}
{{ 'products.product.sale_price' | t }}
{{ line_item.final_line_price | money }}
{%- else -%}
{{ line_item.original_line_price | money }}
{%- endif -%}
|
| {{ 'customer.order.subtotal' | t }} |
{{ order.line_items_subtotal_price | money }} |
|
{{ 'customer.order.discount' | t }}
{{- discount_application.title -}}
|
{{- discount_application.title -}}
-{{ discount_application.total_allocated_amount | money }}
|
| {{ 'customer.order.shipping' | t }} ({{ shipping_method.title }}) |
{{ shipping_method.price | money }} |
| {{ 'customer.order.tax' | t }} ({{ tax_line.title }} {{ tax_line.rate | times: 100 }}%) |
{{ tax_line.price | money }} |
| {{ 'customer.order.total' | t }} |
{{ order.total_price | money }} {{ order.currency }} |
{{ 'customer.order.billing_address' | t }}
{{ 'customer.order.payment_status' | t }}: {{ order.financial_status_label }}
{{ order.billing_address | format_address }}
{{ 'customer.order.shipping_address' | t }}
{{ 'customer.order.fulfillment_status' | t }}: {{ order.fulfillment_status_label }}
{{ order.shipping_address | format_address }}
Thanks
Indra
1 Like
@idutta2007
thanks for code i have check
its already there can you please inform Shopify help center