How do I make total sum for shopping list?

When i enter the price of each thing in a list, i want it to be seen below the total sum.
So i put when i enter the prices Set Field of text as Get list + 0.
but gives error.
What can i do? Thank u

If you would like to debug an error, please post your relevant blocks here.

yes it wll alert you because you did it in wrong manner, as you are trying to add zero to the whole list instead of intiger..

in make a list block just add your global variable, and try

image

Like this:

SumList.aia (2.9 KB)