Add another catalog item to the cart with variables filled in if I select Yes from another Catalog Item variable

Jimmy45
Giga Guru

Hi Community!

I am wondering.  Is there a way (Outside of an Order Guide) that I can add another catalog item to the cart if I choose a variable option ("yes") from another catalog item?  Let me give you an example:

Catalog Item:  iPhone 11

Price:  $200

Variable Question - Select Box:  Would you like an iPhone case?

Choices:  Yes or No

 

Now the iPhone Case is also a Catalog item within the same catalog.

Catalog item:  iPhone Case

Price: $35

 

If I were to choose "Yes" then click "Add to Cart" it should add the iPhone Case to the cart along with the iPhone 11.  You would see that the Price is now $235.00.

How would this take place?  I noticed that there isn't an option to include another catalog item based off a Variable selection like in the Order Guides.  Your recommendations would be most helpful!

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

Usually this is added as a checkbox option that has a cost.  But if you really do need it to be another item that has a process that it has to follow then in the workflow for the iPhone run a script that orders the catalog item for the case.

Here is something that may help with the scripting part if you go that way.

https://community.servicenow.com/community?id=community_article&sys_id=0585e0a71bc98554cdd555fa234bcb1f

 

View solution in original post

1 REPLY 1

DrewW
Mega Sage
Mega Sage

Usually this is added as a checkbox option that has a cost.  But if you really do need it to be another item that has a process that it has to follow then in the workflow for the iPhone run a script that orders the catalog item for the case.

Here is something that may help with the scripting part if you go that way.

https://community.servicenow.com/community?id=community_article&sys_id=0585e0a71bc98554cdd555fa234bcb1f