How to Hide " Order Now " . button for a one catalog item . Order now shouldn't visible for on item from Service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2020 02:38 AM
How to Hide " Order Now " . button for a one catalog item . Order now shouldn't visible for on item from Service portal
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2020 03:43 AM
HI Sadashiv,
Go through the following code.
write a onload catalog client script :
UI type : All
function onLoad()
{
if(g_user.hasRole('your_role'))
document.getElementById('oi_order_now_button').style.display='none';
}
If it help mark helpful or correct
Thanks and regards
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2020 09:54 AM
Hi,
Any update on this?
Can you mark answer as ✅ correct, 👍 helpful if you were able to achieve the requirement. This enables other members to learn from this thread.
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
09-23-2020 08:14 AM
Hope you are doing good.
Let me know if that answered your question.
If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.
If not, please let us know if you need some more assistance.
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
03-14-2022 09:39 PM
HI,
To remove the 'Order Now' button from a catalog item you must set 'Use Cart Layout' to false and 'No Order Now' to true. This will remove 'Order Now' from that specific catalog item.
How to remove/Hide "Order Now" button from one of the "Service Portal" item
follow thread it will be helpful
Mark my ANSWER as CORRECT / HELPFUL if it served your purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2022 03:08 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0744898