Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Echo Shipping Method


Recommended Posts

I've searched, but is there anyone who can recommend how to echo the shipping method (just the title, not the price) in my files? I've been using:


echo $order->totals[$i]['title']


But this shows every title (shipping method, tax, coupons, etc.)



Chris B.

Link to comment
Share on other sites

should be the 'shipping_method' field of the $order object array

Yes it is.


However, it took me forever to figure out that there is an "order" class in the admin area, which does not carry over the 'shipping_method' field. (Don't ask why I didn't think to look and see if the files were the same, it's been a rough couple of days...) Anyway, just copy and paste the 'shipping_method' stuff from the includes>class>order.php into admin>includes>class>order.php.


Thanks for the info!


Chris B.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...