- 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-20-2018 06:25 AM
You are trying this in service portal ?
Thanks,
Vignesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2018 06:30 AM
No in my demo instance only.
Thanks
Pallavi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2018 05:32 AM
Hey alberttagle,
try this to remove Order this item
document.getElementById("adder_header").innerHTML = "";
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2018 06:09 AM
Hi Vignesh
This worked for me! wonderful! is there a place / list where I can see the names like order_now and adder_header?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2018 06:18 AM