Im trying to get a list of items from an order to display correctly on my webpage using the SOAP API. I have managed to display shipping, billing and general info, and i have also managed to display the list of items... BUT for some reason i am getting duplicate results with a price and row_total equaling zero, the picture below shows what i mean:
So as you can see there are 2 records for ink_med and 2 for coal_sm, but only 1 record for the last entry.
My question to you guys is, how do i stop the duplicate records?
Here is the call im using to retrieve the order items:
$sales_order_info = $this->client->salesOrderInfo($this->sessionID,$o->increment_id);
And i access the items array by using this:
foreach($sales_order_info->items as $i)
Any help will be appreciated thank you