how to add extra submit button in catalog items

aritra23
Kilo Contributor

how to add submit button in the catalog item forms instead of shopping cart

8 REPLIES 8

Syed,


I did accomplish creating the variable on the form so that it displays the button.   What failed was the execution onClick function.   I found a solution elsewhere, so thank you.   twl


Re: Custom UI Macro orderNow


Brad Tilton
ServiceNow Employee
ServiceNow Employee

You could use cart layouts to do things like remove the add to cart button, and change the order now button to say Submit. You'll specifically want to take a look at the Order this Item cart layout record where you can do those things without any scripting.



Configuring Cart Layouts - ServiceNow Wiki


I also want to change the workflow. I don't want to create any request but just a simple catalog task on clicking the order now button. Is it possible?


how to do that. I have created a work flow but anyway it creates a request first.


Arita,


Did you get your answer?   I've been working with record producers without the REQ/RITM and having all kinds of problems using the record producer's variables in the workflow, but I did accomplish adding the workflow to the record producer.   Then you can associate the record producer to the catalog task table.   Using the request item approach will keep the variables associated with the workflow, since catalog task was built for that.   Let me know if you came up with a different solution.   Thanks.


theresa