Author Topic: How get shipment info for order  (Read 149 times)

tCode

  • Beginner
  • *
  • Posts: 2
  • A beginner
How get shipment info for order
« on: May 22, 2018, 13:58:50 pm »
Hi,

I need to receive the goods amount including and shipping amount.

How to make it?

This is php code for payment plugin.
I receive the order of 
Code: [Select]
$order_model  = new VirtueMartModelOrders();
$order_info = $order_model->getOrder($order_id);
Code: [Select]
foreach ($order_info['items'] as $item) {   
 ...
 $item['amount']; // it's amount, and i need getting shipping amount for this order
}

How get shipping method and him amount?

tCode

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: How get shipment info for order
« Reply #1 on: May 22, 2018, 14:58:56 pm »
Solved...

Code: [Select]
$order_info->order_shipment