# Print discounted price and not total

**URL:** <https://forum.sambapos.com/t/print-discounted-price-and-not-total/1045>\
**Category:** V4 Question\
**Created:** [April 15, 2014, 5:33pm UTC](https://forum.sambapos.com/t/print-discounted-price-and-not-total/1045 "2014-04-15T17:33:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spanky](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@spanky](https://forum.sambapos.com/u/spanky)\
**Post date:** [April 15, 2014, 5:33pm UTC](https://forum.sambapos.com/t/print-discounted-price-and-not-total/1045/1 "2014-04-15T17:33:22Z")

</div>

is there a way to print each line produced the discounted price and not the total?  
example with 50% discount:  
pizza 10  
beer 2

will be

5 pizza  
beer 1

thanks

---

<div class="post-metadata">

**Author:** ![spanky](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@spanky](https://forum.sambapos.com/u/spanky)\
**Post date:** [April 25, 2014, 12:21pm UTC](https://forum.sambapos.com/t/print-discounted-price-and-not-total/1045/2 "2014-04-25T12:21:30Z")

</div>

has anyone tried or know how to do?  
I would like to print the discounted price of each product
