Item price is not visible in service portal

Snow consultan1
Tera Contributor

Hi All,

 

Item price is not visible in widget if the item cost is $0.00 even after removing the HTML condition.

 

<span class="pull-right item-price font-bold">{{::item.price}}</span> &nbsp;

 

Please suggest

1 ACCEPTED SOLUTION

Turns out this fixed it:

find_real_file.png

Found in:

find_real_file.png

And proof:

find_real_file.png


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

10 REPLIES 10

This is a custom widget.

 

I tried with below html but still price is not displaying for the items which has price is $0.00

 

<span ng-if="item.hasPrice" class="pull-right item-price font-bold">

 

Please suggest

Please read my post....I gave you instructions on what to do.

Thank you


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I am trying by removing condition itself. In that case, price should be visible for all the items. I tried below scenario as well

 

<span ng-if="data.showPrices" class="pull-right item-price font-bold">{{::item.price}}</span> &nbsp;

 

but price is visible only for few items which has >$0.00

 

 

The way you're trying, is that working for you? It's not right?

So perhaps try my suggestion and put it all back the way it was, then do my edit.

And keep in mind there are two statement with the item.price != 0, so you'll want to edit both.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

 

I tried all your suggestions but no luck.

 

Thanks