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 ![]()
.png.022b5452a8f28f552bc9430097a16da2.png)