1. webstar
  2. RO CSVI
  3. Friday, 13 January 2023
  4.  Subscribe via email
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
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.