Client side Sum

Info in this thread might help. I have never got sum expression worked out using the expression builder, just coded it...

Try with

cartForm.rcart.items[$index].lineQty.value

Ok so I finally have this working after a fresh day looking at it;

{{cartForm.rCart.items.sum("qty")}}

Is simply what I needed. Thanks everyone, got there in the end :man_facepalming:

5 Likes