- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Need to hide the "Discount" lable on Quote templates when there is no discount on the quote
Hello Zuora.
We have a requirement like this.
Hide the Discount label on quote template when there is no discount on Quote, Its possible to show the value /not to show the value based on the number presented on the quote.
But not sure how to hide the the label when there no Discount value on quote
Please share me ideas if you come across this kind of request come from diff customers.
Thanks
Naga
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Need to hide the "Discount" lable on Quote templates when there is no discount on the
Hi Naga,
Can you please try using Conditional Merge Fields as documented in the following article and let us know how it goes
Thakn you
Doyeli
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Need to hide the "Discount" lable on Quote templates when there is no discount on the
Something like this should work:
{ IF { MERGEFIELD Quote.Previewed_Discount } = 0 "" "
Discount:" }
The line break is also in the IF statement so it only gets inserted if there is a discount.
Use the same logic for the actual discount amount:
{ IF { MERGEFIELD Quote.Previewed_Discount } = 0 "" "
{ MERGEFIELD Quote.Previewed_Discount }" }