- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 05:42 AM
Hello,
since the getelementbyID methode does not work anymore i can't really get a solution for the following problem:
I have a service catalog with some requestable items. This service catalog is displayed on a service portal and does have the "Add to Cart" option enabled. But, unfortunally, i want two of the requestable items to be not able to add them to cart.
Is there a solution, with an option in the widget or a client script or something else, to disable or hide the add to cart button for only those two items.
Thanks for your help /daniel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 05:48 AM
Hello Daniel,
You should be able to use the "No cart" checkbox available on the items.
You can refer to : Configure cart layout for specific items or How to remove cart from catalog item
I did not test it on Service Portal though.
Regards,
Alexis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 05:48 AM
Hello Daniel,
You should be able to use the "No cart" checkbox available on the items.
You can refer to : Configure cart layout for specific items or How to remove cart from catalog item
I did not test it on Service Portal though.
Regards,
Alexis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2017 05:54 AM
Hey, thanks for the help. Thats exactly what i wanted to do. Great work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2021 03:07 AM
Tested and confirmed as a solution to remove the shopping cart on an item by item bases.
I used list view to add and edit....
'The option I was looking for is on the item page. in Maintain Items, open an item and configure the form to show 'use cart layout' and 'no order now'. If you set both to false, the submit button will no longer be an option.'
https://community.servicenow.com/community?id=community_question&sys_id=b48b38b8dbe5ab004abd5583ca961918&anchor=answer_becef8bcdba5e3841089e15b8a96199b&view_source=searchResult