- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 05:55 AM
Hi everyone !
I would like to add a Submit" button instead of "Order now" in only one of my catalogs items (internally).
Actually, I see this :
And, I want this :
Is it possible or this setting is purely for Service Portal ?
Thanks
Mandy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 07:13 AM
If you wish to still achieve this then do this
onLoad Client Script which applies on your catalog item
1) Ensure Isolate Script field is set to false for this client script
2) This field if not on form then from list make it false
Script:
function onLoad() {
//Type appropriate comment here, and begin script below
gel('window.cartContent').style.display = 'none';
gel('add_to_cart_button').style.display = 'none';
gel('sc_delivery_time_label_cell').style.display = 'none';
gel('sc_delivery_time_cell').style.display = 'none';
document.getElementById("order_now").innerHTML='Submit';
}
Output:
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 07:13 AM
If you wish to still achieve this then do this
onLoad Client Script which applies on your catalog item
1) Ensure Isolate Script field is set to false for this client script
2) This field if not on form then from list make it false
Script:
function onLoad() {
//Type appropriate comment here, and begin script below
gel('window.cartContent').style.display = 'none';
gel('add_to_cart_button').style.display = 'none';
gel('sc_delivery_time_label_cell').style.display = 'none';
gel('sc_delivery_time_cell').style.display = 'none';
document.getElementById("order_now").innerHTML='Submit';
}
Output:
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2021 08:20 AM
Thank you this was really useful.
Is there any way of hiding the 'Order this Item' text or renaming it. It doesn't make sense to have this when the button has been changed to 'Submit'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 10:56 PM
I tried this method but still did not get the expected result.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 07:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 03:05 PM
How can we make this work for scoped application?