Use the script to replace prices with a “Request Price” button
<script>
var __isp_options = {
isp_serp_callback: function() {
$jquery_isp('.isp_grid_product').each(function(index) {
//Hide All prices from any search result page
$jquery_isp(this).find('.isp_product_price_wrapper span').text("");
//Add "Request Price" button
var title = $jquery_isp(this).find('.isp_product_title').text();
$jquery_isp(this).find('.isp_product_title').after(" ")
$jquery_isp(this).find('.isp_product_price_wrapper').replaceWith
('<button id="requestPriceBtn" type="button" class="btn" style=" border-radius: 5%; margin: auto; display:block">Request Price</button>');
$jquery_isp(this).find('.btn').click(function(){
//***Your request code here***//
$(this).replaceWith('<div id= "requestSent " style= "color: green; ">Price request sent! A customer service agent will email you shortly.</div>');
});
});
}
}
</script>