Sorry I’m not sure what you mean by this question. So in your app you want to be able to decrease or increase the quantity amount of each product? What kind of database are you using?
What are you trying to do with the list of objects, input value, and page variable?