- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2018 10:46 PM
Hi,
I am trying to rename the order Now to SUbmit for particular catalog item in scoped application and global app (kingston)
I tried in many ways in catalog client scriprs but it hasn't worked. can anyone plz suggest on this
1. var orderHeader = document.getElementById("order_now");
orderHeader.innerHTML = "Submit";
2. var orderHeader = document.getElementById("order_now");
orderHeader.text= "Submit";
3.var orderHeader = document.getElementById("order_now").innerHTML= "Submit";
4. var orderHeader = document.getElementById("order_now").title= "Submit";
Nothing worked on above
Plzzz suggest on this...
Thanks,
Sandhya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2018 11:08 PM
Hi Sandhya,
Access to the Document Object Model is not allowed in Scoped Applications and also in the Service Portal.
If you are accessing the Catalog Item via the Service Portal you can clone the SC Catalog Item widget and make the required changes to it. Alternatively if you are using the Service Catalog you will need to copy the catalog_cart_default UI Macro, disable the original and make the required changes to it.
In both cases it would be more reusable to add a custom field that you can leverage to determine on a per catalog item basis if the order now or submit button should be utilised rather than potentially adding multiple hard coded conditions.
Finally this question has been asked several times in the Community previously, the following posts may be able to assist you further:
Rename order now button for service portal
How to change "Order now" tab to submitt
Hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2018 11:08 PM
Hi Sandhya,
Access to the Document Object Model is not allowed in Scoped Applications and also in the Service Portal.
If you are accessing the Catalog Item via the Service Portal you can clone the SC Catalog Item widget and make the required changes to it. Alternatively if you are using the Service Catalog you will need to copy the catalog_cart_default UI Macro, disable the original and make the required changes to it.
In both cases it would be more reusable to add a custom field that you can leverage to determine on a per catalog item basis if the order now or submit button should be utilised rather than potentially adding multiple hard coded conditions.
Finally this question has been asked several times in the Community previously, the following posts may be able to assist you further:
Rename order now button for service portal
How to change "Order now" tab to submitt
Hope this helps!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2018 11:12 PM
Do you want to change it for just one catalog item or all catalog items?
If you want to do it for all catalog items, you can navigate to System UI->Message and search for Order Now.
Change the message from Order Now to Submit
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2019 04:29 AM
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2022 06:54 PM
Thanks