Jump to content

Edit History

Inter Svetainė

Inter Svetainė


grammar

If COD fee in extra module is added as separate product.. Just simply read products in order like this

$order = new Order($idNumber);
$orderItems = $order->getCartProducts();
foreach ($orderItems as $key => $orderItem) {
	$itemPriceWithoutTax = $orderItem['price'];
}

And that COD item/product will be in this list ;)

Inter Svetainė

Inter Svetainė

If COD feed in extra module is added as separate product.. Just simply read products in order like this

$order = new Order($idNumber);
$orderItems = $order->getCartProducts();
foreach ($orderItems as $key => $orderItem) {
	$itemPriceWithoutTax = $orderItem['price'];
}

And that COD item/product will be in this list ;)

×
×
  • Create New...