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

Not applicable

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

Sure @Community Alums here it is...Screenshot (326).png

Not applicable

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 @Community Alums but same result😥

Not applicable

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