Select box variable pricing not showing in service catalog page, however it is showing only on portal

vinothkumar
Tera Guru

We have a catalog item named virtual office and there is a select box variable which is having cost associated with it

In the screen shot below, though it has cost, it is not showing the cost value while selecting the drop down value and the value is showing in portal.

 

We have been facing this issue only for this variable

find_real_file.png

 

 

find_real_file.png

Pricing showing only on portal:

 

find_real_file.png

1 ACCEPTED SOLUTION

Narendra Kota
Mega Sage

Tried recreating the variable and it didn't work.

Opened a HI and below is the solution provided.

The catalog item (virtual office) has a lookup select box variable referencing to the custom table. In custom table there is a record with extra spaces (non break) and that is causing the issue, after removing spaces, prices are displaying.

As per HI, here is the reason why lookup select box variable value with spaces and has no cost associated is affecting the select box variable which has prices.

When we load a catalog item, we load all the variable prices associated in an XML format(even the variables without price implications). Whenever any variable value changes which affects the catalog item price and prices of the variable options we do a ajax call and load new xml with new prices.

 

Since we had a variable of type lookup select box which is pointing to the table u_voice_location which intern has values with non blank spaces, the XML parsing erred out so the prices were missing . Once spaces were removed, the XML parsed fine and prices are shown up.

View solution in original post

3 REPLIES 3

Michael Jones -
Giga Sage

Have you tried recreating the variable on the item? 

You might also try changing the target of your lookup to be the same as one you know works, confirm it works on that variable, then switch it back. 

Every so often when there is an issue with a single instance of something like this, I find that if you toggle it, or recreate it, the issue often goes away. 

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Narendra Kota
Mega Sage

Tried recreating the variable and it didn't work.

Opened a HI and below is the solution provided.

The catalog item (virtual office) has a lookup select box variable referencing to the custom table. In custom table there is a record with extra spaces (non break) and that is causing the issue, after removing spaces, prices are displaying.

As per HI, here is the reason why lookup select box variable value with spaces and has no cost associated is affecting the select box variable which has prices.

When we load a catalog item, we load all the variable prices associated in an XML format(even the variables without price implications). Whenever any variable value changes which affects the catalog item price and prices of the variable options we do a ajax call and load new xml with new prices.

 

Since we had a variable of type lookup select box which is pointing to the table u_voice_location which intern has values with non blank spaces, the XML parsing erred out so the prices were missing . Once spaces were removed, the XML parsed fine and prices are shown up.

Thank you Narendra