How to Hide " Order Now " . button for a one catalog item . Order now shouldn't visible for on item from Service portal

Sadashiva Das1
Tera Contributor

How to Hide " Order Now " . button for a one catalog item  . Order now shouldn't visible for on item  from  Service portal 

15 REPLIES 15

@Sadashiva Das 

Hope you are doing good.

Did my reply answer your question?

Would you mind marking the best matching answer as correct and helpful, to close this thread?

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I tried this it's  working to remove the order now button but I want in place of order now button Submit button should be displayed . Is there any way to display Submit button in place of order now button on both  Try it page and portal page.

Ct111
Giga Sage

Hello,

 

Best, option I would suggest is to change Request Method to just submit.

find_real_file.png

 

Then order button will be gone and you will be able to just submit the request.

 

Mark my ANSWER as CORRECT and HELPFUL if it helps.

Onkar Pandav
Tera Guru

Hi,

By default "Use Cart Layout" checkbox is marked true. Uncheck that box and then select "No Order Now" as true on the maintain item form.

OR

Another way is to write an onLoad Catalog Client script for that particular Catalog item to hide the Order Now button.

function onLoad()

{

          document.getElementById("oi_order_now_button").style.display='none';

}

Indrajit
Mega Guru

Hey Sadashiva,

To hide Order Now button Navigate to ->maintain cart layout in that find Order this Item widget like below,and unchecked order now in Button section.Try it works.

find_real_file.png

Please Mark Correct hand Helpful If it works

Regards,

Indrajit.