- 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 05:58 AM
Hi,
you can use this to show submit button instead of Order Now
You can use Hide Add to Cart, Hide Quantity, Hide Delivery time checkbox and this would work for portal
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 06:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 06:10 AM
Thank you but my request is about the view internally (in ITIL side), not in the portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 06:47 AM
Hi,
for native you would require DOM manipulation which is not recommended.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader