News:

Support the VirtueMart project and become a member

Main Menu

How get shipment info for order

Started by tCode, May 22, 2018, 13:58:50 PM

Previous topic - Next topic

tCode

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 
$order_model  = new VirtueMartModelOrders();
$order_info = $order_model->getOrder($order_id);

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

Solved...

$order_info->order_shipment