Can someone suggest the code needed to add the customer's chosen Shipping Method to the Invoice/Packing Slip? I'm using the USPS Shipping Module.
How to Add Ship Method to Packing Slip?
Started by Dirty Butter, Dec 06 2011 01:41 AM
4 replies to this topic
#1
Posted 06 December 2011 - 01:41 AM
#2
Posted 06 December 2011 - 02:19 AM
Dirty Butter, on 06 December 2011 - 01:41 AM, said:
Can someone suggest the code needed to add the customer's chosen Shipping Method to the Invoice/Packing Slip? I'm using the USPS Shipping Module.
{$order.ship_method}to admin/skins/default/templates/orders.print.php.<span class="orderid"><strong>{$LANG.common.order_id}</strong> {$order.cart_order_id} {$order.ship_method}</span>
That put the Shipping Method right under the Order ID number in my modified packing slip, so it's less likely that I won't notice if someone paid extra for an expedited shipping method.
#3
Posted 30 January 2012 - 04:32 AM
Hi Dirty Butter
I would like to do something similar but to show the payment method in the same spot.
I have tried the following code
<span class="orderid"><strong>{$LANG.common.order_id}</strong> {$order.cart_order_id} {$order.payment_method} {$order.ship_method}</span>
on line 31 of orders.print.php but it does not do anything.
I have tried every variation of payment method, paid by I can find in languages but it will not do anything on the order print.
Any ideas?
I would like to do something similar but to show the payment method in the same spot.
I have tried the following code
<span class="orderid"><strong>{$LANG.common.order_id}</strong> {$order.cart_order_id} {$order.payment_method} {$order.ship_method}</span>
on line 31 of orders.print.php but it does not do anything.
I have tried every variation of payment method, paid by I can find in languages but it will not do anything on the order print.
Any ideas?
#4
Posted 30 January 2012 - 04:42 AM
Please do not use $order.payment_method but rather use $order.gateway
It matches the column name in the order_summary table.
It matches the column name in the order_summary table.
#5
Posted 30 January 2012 - 05:05 AM
Perfect thank you Dirty Butter.
Look forward to getting the other info you mentioned.
These forums are a fantastic resource.
Look forward to getting the other info you mentioned.
These forums are a fantastic resource.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











