
08-28-2013, 10:11 AM
|
 |
Senior Member
|
|
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
|
|
Quote:
Originally Posted by TG Data Service
I can actually see the button image appear for a hot second then it disappears
function addCustomBtn() {
elements = getElementsByClassName("ecwid-productBrowser-cart-checkoutButton");
if (elements.length == 1) {
checkoutBtn = elements[0];
para=document.createElement("div");
checkoutBtn.parentNode.insertBefore(para, checkoutBtn.parentNode.firstChild);
para.innerHTML = '<a href=\"ship\"><img src=\"newbutton.png\"/></a>';
}
}
Please help! Thanks!!!
|
What is the URL address of the page where that happens?
|