Changing shopping cart action text
We came up with our “this photo” and “multiple photos” after much thought - but we understand that everyone has their own idea of perfection. Here is how you could change what the cart action text says for the top nav (feel free to swap out albumNav_top with albumNav_bottom):
onload = redoCart;
function redoCart() {
bodyClass = document.getElementsByTagName("body")[0].className;
if (bodyClass.indexOf("smugmug") != -1 || bodyClass.indexOf("journal") != -1 || bodyClass.indexOf("default") != -1 || bodyClass.indexOf("singleImage") != -1) {
topCart = document.getElementById("albumNav_top").innerHTML;
topCart = topCart.replace('this photo','just this photo');
topCart = topCart.replace('multiple photos','this photo and others');
document.getElementById("albumNav_top").innerHTML = topCart;
}
}
Smugmug small needs some totally different tests since it uses different wording - but you should get the jist

January 1st, 2006 at 4:43 pm
This is good information. But, is it possible to change the “Buy” text?