{jQuery(document).on('change', '.single-option-selector', function() { setTimeout(function() { jQuery('#shappify-qty-msg').html(jQuery('#variant_html_'+jQuery('[name=id]').val()).html()) }, 50); }); },5000);