<!doctype html>
<meta charset="utf-8">
<title>Количество</title>
<form action="example.php" method="get">
<label>Количество <input name="qty" value="2"></label>
<button>Проверить количество</button>
</form>
<p>Количество: 2. Сумма: 500 руб.</p>