Hiu - I"m trying to write a plugin for an order export and I'm trying to get the Total amount of products for an order
I'm using $prodqty = $fields->getField('order_items')->value; but this is only bringing back the total no of line items. If a line Item has multiple qty then it doesnt report those.
Any suggestions as to ho wI could calculate or retrieve the Total number of items from an order