Tra cứu đơn hàng
Các nội dung cơ bản của trang tìm kiếm đơn hàng
Trang tìm kiếm đơn hàng là trang người dùng có thể tra cứu đơn hàng cụ thể dựa vào các thông tin của đơn hàng như mã đơn hàng hoặc số điện thoại...
Các thẻ meta
{% extends layout_layout %}
{% block meta %}
{{ headTitle('Tra cứu đơn hàng').setSeparator(' - ').setAutoEscape(false)|raw }}
<meta name="keywords" content="Tra cứu đơn hàng">
<meta name="description" content="Tra cứu đơn hàng">
<link rel="canonical" href="{{ getCurrentUrl(true) }}" />
<meta property="og:url" content="{{ getCurrentUrl(true) }}">
<meta property="og:image" content="https://dummyimage.com/300x200/000/fff">
<meta property="og:type" content="website">
<meta property="og:title" content="Tra cứu đơn hàng">
{% endblock %}
Tra cứu đơn hàng
Tìm kiếm đơn hàng giúp người dùng có thế dễ dàng tìm kiếm đơn hàng mình muốn xem thông tin
Thông tin các đơn hàng
{% if(orders is not empty) %}
{% for order in orders %}
{{ order.createdDate | date("d/m/Y") }}
{{ order.id }}
{{ order.customerName }}
{{ order.calculateTotalMoney | number_format(0) }} đ
{{ order.statusName(order.status) }}
{% endfor %}
{% endif %}
Thông tin của đơn hàng cụ thể
{% if(order.products) %}
{% for p in order.products %}
<a title="{{ p.product.name }}" href="{{ p.product.viewLink }}">
{{ p.product.name }}
</a>
{{ p.product.id }}
{{ p.product.price | number_format(0) }}đ
{{ p.product.quantity }}
{{ ((p.product.price)*(p.product.quantity)) | number_format(0) }}đ
{{ (order.moneyDiscount) | number_format(0) }}đ
{{ order.customerShipFee | number_format(0) }}đ
{{ order.calculateTotalMoney | number_format(0) }}đ
{% endfor %}
{% endif %}

Last updated