- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 06:07 AM
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';
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 06:44 AM
function onLoad() {
document.getElementById("order_now").innerHTML = "submit";
}
Above code works perfectly for me.
Thanks,
Vignesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 06:24 AM
I do not believe this button is part of the items so I'm guessing a Catalog Client script will not do it. This is most likely part of the of a UI Page and you would have to write a script there to change it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 07:12 AM
Thanks!!! this worked! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 07:34 AM