How to edit the label for submit button in catalog item.

Hrishabh Kumar
Giga Guru

I have created a catalog item, and I need a custom label for the submit button.

ordernow.PNG

 

* I need to change the label for this particular catalog item only, not for all the catalog items.

How can I achieve this?

3 REPLIES 3

Kartik Choudha1
Tera Guru

Hi @Hrishabh Kumar 

 

Hope you are doing well!

 

This comes actually as OOTB. Is there any particular requirement to change this.

 

If it is for all catalog items, you can navigate to System UI->Message and in Key column search for 'Order Now'  and change the message column value.

KartikChoudha1_0-1682497193006.png

 

For particular Cat item,

Refer below thread if that can help.

Link

 

Regards,

Kartik

Ankur Bawiskar
Tera Patron
Tera Patron

@Hrishabh Kumar 

not possible for single catalog item.

You can use onLoad catalog client script on your catalog item and use DOM manipulation but using DOM manipulation is not recommended.

check these links

Renaming "Order Now" button on catalog items 

Customize Submit Button Label on Portal for a Catalog Item 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Rick Forristall
Tera Guru

I needed to do something similar for a record producer's "Submit" button. I needed it named something else so I used an Onload Catalog Client Script with this code-->Seems to work:

function onLoad() {
 var submitButton = g_form.getElement('submit_button');
 submitButton.innerHTML = "Import >>";
 submitButton.title = "Click here to begin the import process.";
   
}

--