$(document).ready(function(){
добавить
$('#quantity_wanted').keyup(function(){ var price = $('.goodsDataMainModificationPriceNow .num'); if(parseInt($(this).val())) price.text(parseInt(price.parent().attr('title').replace(/ /g, '')) * parseInt($(this).val())); else price.text(parseInt(price.parent().attr('title').replace(/ /g, ''))); });