Create a confirmation alert/popup window for catalog items with a price
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 08:46 AM
Hello community!
I have a customer requirement to display a popup (Confirmation Window) that requires the user to click OK when the following occurs:
Verbiage: "The Catalog Item you are viewing has a Price associated to it and will trigger Director Level Approval if ordered"
What will trigger the Alert box
- User clicks on a catalog item within CATALOG A and the price for that item is greater than $0.00
This is only to target Catalog items in Catalog A and no other Catalogs.
Does anyone know how I could achieve this? Catalog Script?
Thank you in advance!
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 09:00 AM
Hi,
Use OnSubmit() client script
var val =confirm('Submit a priority one ticket?');
}
Verbiage: "The Catalog Item you are viewing has a Price associated to it and will trigger Director Level Approval if ordered"
- For this you need to configure the workflow
Thanks,
Kunal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 09:11 AM
Thank you
- User Visits the portal
- User goes to Catalog A
- User sees the Categories of Catalog A
- User goes to Monitors Category
- User clicks on 27" Samsung Monitor in Monitors Category that has a price of $227
- Message/Alert Appears advising: "The Catalog Item you are viewing has a Price associated to it and will trigger Director Level Approval if ordered"
- User Clicks Ok to acknowledge they understand
- User proceeds to view the product and if they like, can add to the cart of click "Order Now" button.
Does that make sense? Typically the Workflow doesn't trigger until the Catalog Item is ordered correct? We want them to see this before they order the item or add to their cart.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 12:31 PM
Then create a catalog item client script
- On load
function onLoad() {
alert('your text here');
}
Make sure to set the UI type to All