Created
September 26, 2019 00:25
-
-
Save martinbowling/8af008eb48aa444d35ddbb9a9a3c13f9 to your computer and use it in GitHub Desktop.
terpyjscart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* JS INECTION CODE */ | |
if(typeof Checkout === 'object'){ | |
if(typeof Checkout.$ === 'function'){ | |
/* your super duper code in here, such as: */ | |
document.getElementById('payment_gateway_36437000235_description').innerHTML += "<a href='https://greenbyphone.com/eCheck/eCheck.aspx?GreenButton_id=13462&TransactionID='><img src='https://greenbyphone.com/eCheck/images/PayNowButton.png' border='0' alt='' /></a>"; | |
var element = document.getElementById("payment_gateway_36437000235_description'"); | |
element.classList.remove("visually-hidden"); | |
} | |
} | |
/* END JS INECTION CODE */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment