Help finding the purchase calculation

Hi @ChrisjChrisj, you’ll get better help if you don’t paste your entire code base but just provide the smallest amount of code necessary to reproduce the problem – check out the forum posting basics, especially the part about SSCCEs. For example, stuff like smooth scrolling certainly isn’t necessary to get the total price. And if there is backend data involved, provide appropriate mock data, e.g. using jQuery mockjax. Isolating the problem like this may already help you find a solution. :-)

BTW from a quick look at your code there also seem to be a couple of problems with the formatting as there are markdown artifacts such as backticks and asterisks.

1 Like