This is the output:
1843
This happens when I input "1" in the quantity textfield.
(The quantity textfield turns null after inputing a value)

But when I put "1" in the quantity textfield and...