Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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>