<input class = "product_minus" type = "button" onclick = "
var qty_el = document.getElementById('quantity<?php print_r($product['product_id']); ?>'); " />
<input class="product_minus" type="button" data-quantity="<?=$product['product_id']); ?>">