The CreatorCon Call for Content is officially open! Get started here.

'OrderNow' to 'Submit' on a single catalog item

alberttagle
Tera Contributor

Hi,

How do I change the ORDER NOW button text to SUBMIT, in a specific catalog item?

I don't want to change it globally, just for specific one.

I tried to look up and found the following, but both codes do not work:

1.)

On Load Catalog Client Script

var button = document.getElementById("order_now");

button.text = 'Submit';

2.)

On Load Catalog Client Script

document.getElementById("oi_order_now_button").innerHTML='Submit';

1 ACCEPTED SOLUTION

VigneshMC
Mega Sage

function onLoad() {
document.getElementById("order_now").innerHTML = "submit";
}

 

find_real_file.png

 

Above code works perfectly for me.

 

Thanks,

Vignesh

View solution in original post

15 REPLIES 15

Thanks a lot for your help!