- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2023 12:07 AM
I am having the following requirement: to have a portal with attached service catalog. I need to do prevalidate on the cart to check if the current user is having enough amount of money for the ordered cart total price.
I was planning to create an onSubmit client script for the sc_cart using GlideAjax in order to check the cart items and their price.
But it wasn't working.
I have read that client scripts are not working with portals and indeed I have added an onLoad client script on sc_cart table but nothing is happening on the portal but only on the table itself in a particular record:
Portal:
what can be done in my case? any ideas are welcome.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2023 11:01 AM
I have cloned the Shopping cart page's widget 'SC Shopping cart' (sc-shopping-cart-v2)
and done the behavior there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2023 11:01 AM
I have cloned the Shopping cart page's widget 'SC Shopping cart' (sc-shopping-cart-v2)
and done the behavior there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 01:24 AM
I didn't find it in my Instance(sc-shopping-cart-v2)
Is there any way to find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 05:42 AM - edited ‎05-11-2023 05:45 AM
Here is the path:
Or via the portal configuration:
Choose Widget editor and then:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 06:03 PM
Thanks for your answer. Can it be used in this place on the picture(sc-shopping-cart-v2)
catalog item ----Request method ----Request----cart