<form action="/themes/default-bootstrap/modules/blockcart/ju_fast.php" method="post" onsubmit="return (ValidPhone())">
<div class="layer_cart_product_info">
<span id="layer_cart_product_title" class="product-name"></span>
<span id="layer_cart_product_attributes"></span>
<input name="name_g" id="name_g" type="hidden" value="">
<div>
<input name="name_b1" id="name_b1" required placeholder="Имя" type="text">
</div>
<div>
<input name="phone_b1" id="phone_b1" required placeholder="Телефон" type="text" >
{literal}
<script>
function ValidPhone()
{
var re = /^\d[\d\(\)\ -]{4,17}\d$/;
var myPhone = document.getElementById('phone_b1').value;
var valid = re.test(myPhone);
return valid;
}
</script>
{/literal}
</div>
<div>
<input type="submit" value="Быстрый заказ" id="fsell_done">
</div>
</div>
$("#fsell_done").hover(
function () {
var str_gname = $("span#layer_cart_product_title").text();
$("#name_g").val(str_gname);
}
);
<form>
...
<intput type="hidden" name="price" value="100" />
</form>
$fsell_price = $_POST["price"]