I am exploring the example from the SDK called dynamiclistview:
I am learning to create my e-store based on qt quik.
So far I have adopted the below example for:
- chosing the quantity of items (added quantity property to the model)
- calculating total amount per position (via Number(cost*quantity) function)
Now problem I have is that I need a total sum for all the positions, meaning I need to sum up all the items's amounts, something like: Number(cost*quantity*all)
Obviously a noob question - but any help or a link where to get an example is very appreciated!