How can I adjust a catalog item price based on list collector selection?

Casey3
Kilo Expert

I found an article that talks about adjusting the price of a catalog item based on how a user completes the catalog item, but the article only talks about the variable types you can use and not the process to configure them: https://docs.servicenow.com/product/service_catalog_management/concept/c_ServiceCatalogVariablePrici...

With a checkbox you can modify the price in the 'Type Specifications', but with a list collector, I'm not seeing an option to add a price based on the selection.

The goal here is that the list collector will look at our filtered consumable table and an end user will be able to select the items they need from the list and see the total for their order. The fulfiller will have access to add/remove their own items by accessing the consumable table so that someone doesn't need to modify the catalog item every time.

So the question is, how do I add the prices based on the selections in the list collector, or is there a better way to do this?

5 REPLIES 5

Raf1
Tera Guru

Hi Casey,

 

This post should work:

 

https://community.servicenow.com/community?id=community_question&sys_id=c7d097a9dbdcdbc01dcaf3231f96...

 

Just make sure you add the "Pricing Implications" field from the variable form.

 

find_real_file.png

 

Let me know how you go.

 

Thanks,

Raf

Casey3
Kilo Expert

Thank you for the response Raf. I added Pricing Implications on the variable and enabled it. However, if I add an item from the list collector that has a price of $500, it's not populating the price on the cart. I attached images for reference.

Hi Casey,

I did try it out on my personal development instance using a cmdb_ci_desktop_software and was able to update the pricing. 

You can consider using the corresponding CI table instead of an asset table.

 

Let me know how you go.

 

Regards,

Raf

Casey3
Kilo Expert

I ended up taking a break from this one to work on some other pressing items. Now that I'm back on it, I'm a little closer, but still need some guidance. 

I kept the list collector as I had it before, but now added a Multi Row Variable Set. I found a client script and script include out on the community that I can use to update the multi row variable based on what is selected in the list collector. 

https://community.servicenow.com/community?id=community_article&sys_id=8d7f0f84dbbbaf00a39a0b55ca961...

Now, I can select the items I want and a quantity for each. However, I need to figure out how to update the total order cost based on the item cost and the quantity. Currently the total order price is the cost of 1 of each item. Any suggestions on this?

PS - I attached an image of the catalog item so you can see what it looks like.