Dirty Butter Posted December 6, 2011 Share Posted December 6, 2011 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. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 6, 2011 Author Share Posted December 6, 2011 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. I figured it out! Whoopie! Small victory in understanding all this code. I added {$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. Quote Link to comment Share on other sites More sharing options...
Guest PoolPartsOnline Posted January 30, 2012 Share Posted January 30, 2012 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? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 30, 2012 Share Posted January 30, 2012 Please do not use $order.payment_method but rather use $order.gateway It matches the column name in the order_summary table. Quote Link to comment Share on other sites More sharing options...
Guest PoolPartsOnline Posted January 30, 2012 Share Posted January 30, 2012 Perfect thank you Dirty Butter. Look forward to getting the other info you mentioned. These forums are a fantastic resource. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.