...
This script can be placed in the footer scripts area on the site’s dynamic-inventory-detail page.
Code Block |
---|
<!-- Add Phone Number to VDP for V1 Template -->
<script>
$(document).ready(function () {
var phone = $('.DetailPanel ').data('phone')
$(this).find('.detailPricing').after('<div class = "listing-phone-link text-center" style = "margin: 15px auto;"><a href = "tel:' + phone + '">Call Today! ' + phone + '</a></div>')
});
</script> |