The function here is to multiply the price and piece, and as you can see the product will be placed in the total. The problem is, it only fetch the price and piece in the product nayeon. How can I fetch the 3 data and multiplying them at the same time?

what function? that`s only a screenshot.


an ID is unique, so you can’t use that for multiple values, it must be a class then and will return multiple values which you have to loop over then.

let me try… thanks btw!!!

Sponsor our Newsletter | Privacy Policy | Terms of Service