Hey!
I am building a zap to integrate Shopify and Xero (putting invoices into xero).
I need to calculate discounts percentages, using the discounts per line item and their price.
This involved doing maths on each line item and then producing a new set of line items with the discount percentages.
When I do this maths, instead of calculating per line item it puts all of the value to together and produces a single number output.
Does anyone know if you can run maths on an array of line items?
Thanks, Harry.