
08-28-2013, 06:49 AM
|
 |
Paid Member
|
|
Join Date: May 2013
Posts: 6
|
|
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!!!
|