# Discount on Order

**URL:** <https://forum.sambapos.com/t/discount-on-order/18673>\
**Category:** V5 Question\
**Created:** [October 31, 2018, 4:01pm UTC](https://forum.sambapos.com/t/discount-on-order/18673 "2018-10-31T16:01:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkrgoede](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@mkrgoede](https://forum.sambapos.com/u/mkrgoede)\
**Post date:** [October 31, 2018, 4:01pm UTC](https://forum.sambapos.com/t/discount-on-order/18673/1 "2018-10-31T16:01:11Z")

</div>

Hi,

When there is no discount on the order, I would like to also not see the discount lines in the HTML Ticket template.

So when 0 the lines do not appear, when \> 0 it appears in the ticket template. Can we setup some tile around that?

Thanks!

---

<div class="post-metadata">

**Author:** ![RickH](https://forum.sambapos.com/user_avatar/forum.sambapos.com/rickh/32/51960_2.png) [@RickH](https://forum.sambapos.com/u/RickH)\
**Post date:** [October 31, 2018, 4:05pm UTC](https://forum.sambapos.com/t/discount-on-order/18673/2 "2018-10-31T16:05:48Z")

</div>

Just put square brackets around the start and end of the lines you want to hide when the value is zero

---

<div class="post-metadata">

**Author:** ![RickH](https://forum.sambapos.com/user_avatar/forum.sambapos.com/rickh/32/51960_2.png) [@RickH](https://forum.sambapos.com/u/RickH)\
**Post date:** [October 31, 2018, 4:08pm UTC](https://forum.sambapos.com/t/discount-on-order/18673/3 "2018-10-31T16:08:33Z")

</div>

Have a look at my template in the below topic, scroll down until you get to the discount section and you’ll see it starts with a [and ends with a]

Anything inbetween only shows when there is a value for the printer tags

> [@Receipt Template Examples](https://forum.sambapos.com/t/receipt-template-examples/18328):
>
> This is a topic where people can post their examples of their receipt templates and actual printouts to help others format their own receipts. Feel free to add your templates and pictures of the actual printouts below This is how mine is looking so far: Ticket Template [LAYOUT] -- General layout \<EC\> \<BMP\>C:\Users\Rick\Documents\Logo1.png \<F\>- \<div style="font-size:25px;font-weight:bold;text-align:center;font-family:'Calibri'"\>SALES RECEIPT\</div\> \<F\>- \<div style="font-size:13px;font-weight:b…
