To disable "Order Now" button for a particular condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 04:47 AM
Hello All , I have a requirement to disable or greyed the "Order Now" button for a particular condition in a catalog item. If the choice field is selected as "No" the order now button should be disabled for the user and if the choice field is selected as "Yes" then order now button should work as expected. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 06:29 AM
Can you pls share the screenshot of my script which you wrote.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 06:32 AM
Sure @Samaksh Wani here it is...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 06:35 AM
Hello @Akshat8
1. Don't write true and false into quotes.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 06:38 AM
I tried already without it as well @Samaksh Wani but same result😥
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 07:09 AM
Hello @Akshat8
Give your self snc_internal role and then try.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it Helpful.
Regards,
Samaksh