- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2020 01:37 PM
Hello!
I am working with the Two-Step Verification pop-up in the Service Catalog, as seen in the screenshot below.
We want to make Delivery Information mandatory for certain items.
Has anyone done this before? I know we can do it by customizing the 'Catalog Checkout' widget, but I was wondering if there was a more configuration-based solution out there? (With them so clearly specifying "Optional" there.. it seems like it makes sense to me that there would be an easy way to swap that to "Mandatory"...)
Thanks!
Duncan
Screenshot:
Solved! Go to Solution.
- Labels:
-
Multiple Versions
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2020 12:31 AM
You can make it fancier if you want, but this will get you started:
- Create copy of SC Shopping Cart
- Create copy of Catalog Checkout (mine is called "copy-of-cat-checkout")
In SC Shopping Cart copy
line 35 Server script: Change to point to your Catalog Checkout Copy ("copy-of-cat-checkout"):
In Catalog Checkout copy
line 28 HTML Template: Remove the "Optional" by commenting out the "<span class="text-muted"> ${(Optional)}</span>". See below.
Line 68 HTML Template: Add condition to make the Checkout button only available if Delivery information is filled in:
Result
If Delivery information is not filled in Checkout is greyed out:
If it is filled in and you click outside the Delivery information field (or tab):
Please reward my efforts and mark as Helpfull and Correct Answer! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 09:24 AM
Is there a way to expand the delivery information box automatically when the Order Confirmation popup loads? so users don't have to click on the + button first.