I'm having an issue with adding values up from a repeater. So far I have been able to take data from a database, add it to a repeater and have the repeater output a price with the aspects of the product and the quality taken into account.
My issue is I can't get the total price with all the prices in the repeater added up.
So far I have tried this code below.
First, I define "completePrice = 0" outside the function so that it is a value and not a string.
Second, I then have the "completePrice" add the "Price" and itself each time the function runs so that I can get total price.
I've spent countless hours trying to get this to work but the price just keeps saying "NaN"
Anyone know how I can fix this?
Thank you for your help in advance!