People who are familiar with the ecshop backstage know that
Only click on a specific order, go to the Order Details page to see the delivery method of the order,
The purpose of the most template modification is to let the manager on the Order list page to see the delivery method of the order.
Here's how to modify it:
First to modify the program files,
Open File/admin/order.php
Will
$sql = "Select o.order_id, O.order_sn, O.add_time, O.order_status, O.shipping_status, O.order_amount, O.money_paid,". |
Revision changed to
$sql = "Select o.order_id, O.order_sn, O.add_time, O.order_status, O.shipping_status, O.order_amount, O.money_paid, O.shipping_name, ". |
And then we'll change the template file.
Open File/admin/templates/order_list.htm
First in
<th><a href= "Javascript:listTable.sort (' Total_fee ', ' DESC '); ">{$lang. total_fee}</a>{$sort _total_fee}</th>
Add a line of code above
<th> Delivery Method </th>
Then continue down, in
<TD align= "right" valign= "top" nowrap= "nowrap" >{er .formated_total_fee}</td>
Add a line of code above
<td>{er .shipping_name}</td>
The shipping method is displayed in the order list in the Ecshop backend, and this is done.
Show shipping methods in the list of orders in the Ecshop background