The CreatorCon Call for Content is officially open! Get started here.

To disable "Order Now" button for a particular condition

Akshat8
Tera Contributor

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.

 

MicrosoftTeams-image (1).pngMicrosoftTeams-image (2).png

15 REPLIES 15

Can you pls share the screenshot of my script which you wrote.

Sure @Samaksh Wani here it is...Screenshot (326).png

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

I tried already without it as well @Samaksh Wani but same result😥

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