Replacing Text or Characters in the Quantity Breaks Grid

Just copy and paste this code into the bottom of the product page.  Replace "replacethis" with the code that you want to change, and replace "withthat" with the text you want to replace that with.


var has_changed = false;

$('#shappify-qty-msg').on('DOMNodeInserted', function(e) {
has_changed = true;
$('#shappify-qty-msg td').each(function(){
var new_text = $(this).text().replace('replacethis', 'withthat');

Have more questions? Submit a request