Update Price Summary before Checkout

GMoon
Kilo Sage

Hi all,

I have a requirement whereby I need the summary cost at the bottom to update based on the items selected earlier in the form. Currently it only shows the total amount.

I have tried adding individual costs to the items, but they don't update the summary before checkout.
Can someone help me in regards to what I need to do to achieve this please?

Thanks!

 

 

Items.PNG

 

Price Summary.PNG

 

 

4 REPLIES 4

Laszlo Balla
ServiceNow Employee
ServiceNow Employee

Seems like you have just added Yes/No variables, but what you need is a 'Checkbox' type variable. This will give you the option to add a price for each item, which will be displayed and added/subtracted automatically, e.g.:

 

LaszloBalla_0-1692801555896.png

 

LaszloBalla_1-1692801610798.png

Notice that I have added 'Options' as a "Container Start" variable, with "Display title" set to true. I would then add al options as checkbox variables underneath, and then close it off with a "Container End" variable.

 

Hope it helps!

Hi Laszlo,

Thanks for taking the time to reply. I will give that a try and report back,

GMoon
Kilo Sage

Update following testing, turns out our variables are indeed checkboxes. I added individual prices which does update the line item, but not the summary cost at the bottom. The highlighted subtotal always remains the same number until checkout.
I think a script of some kind may be needed, possibly a UI one?

GMoon_0-1692952074638.png

 






Laszlo Balla
ServiceNow Employee
ServiceNow Employee

That summary cost doesn't look like the out of the box widget - is this just a static label, or what? Can you please share how your catalog item is configured, including variables?