How do I remove the Price field on my Active items if the price is equal to 0?

LinhN
Tera Contributor

Hi guys, I have encountered a requirement. We should remove displaying the price if the price is equal to 0. We can only display the price if the price is greater than 0. How can I add a condition on the HTML or server script?

LinhN_0-1729157131353.png

 

2 REPLIES 2

Bhavya11
Kilo Patron

Hi @LinhN ,

 

Please refer this 

https://www.servicenow.com/community/developer-forum/remove-price-and-quantity-in-my-items-widget/m-... 

 

 

Thanks,

BK

If this information proves useful, kindly mark it as helpful or accepted solution.

Thanks,
BK

sejal1107
Tera Guru

hi @LinhN 

There is a system property called "glide.sc.price.display" set its value to "non_zero". 

 

If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers

 

Thanks,

Sejal

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan