- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2020 12:49 AM
Hi all,
I have two separate catalog item added to Order guide "New laptop" "New Desktop", I would like that user can only select/submit one of this either order a laptop or a desktop. Is this possible in Order Guide someway?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2020 07:25 PM
Hi,
You can easily make 2 checkboxes for these catalog items on the order guide.
Then create UI policy that if laptop checkbox is chosen, desktop checkbox is read-only and clear it's value.
Then create another UI policy with the reverse...if desktop checkbox is chosen, laptop checkbox is read-only and clear it's value.
Then in your rule base (where you added those two catalog items), set the condition to be:
laptop checkbox is true for the laptop item
or
desktop checkbox is true...for the desktop item
This way only one will get ordered and not both.
Client script can work too, but it's always best practice to go with UI policy if you can first.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2020 12:56 AM
is there any specific user you have , which you want them to use/ see those item ?
if yes, based on user criteria you can give a try,
for reference kindly have a look on below thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2020 07:14 PM
Hi Harshvardhan,
No it's not based on user criteria, as this condition will apply to anyone trying to submit the order guide and they should be only able to submit either "New desktop" or "New Laoptop" from the order guide, so probably a client script or some other way.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2020 07:25 PM
Hi,
You can easily make 2 checkboxes for these catalog items on the order guide.
Then create UI policy that if laptop checkbox is chosen, desktop checkbox is read-only and clear it's value.
Then create another UI policy with the reverse...if desktop checkbox is chosen, laptop checkbox is read-only and clear it's value.
Then in your rule base (where you added those two catalog items), set the condition to be:
laptop checkbox is true for the laptop item
or
desktop checkbox is true...for the desktop item
This way only one will get ordered and not both.
Client script can work too, but it's always best practice to go with UI policy if you can first.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2020 07:37 PM
Ah great idea, Thanks Allen i will try this.