# Custom print template for specific orders

**URL:** <https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875>\
**Category:** V5 Question\
**Created:** [May 19, 2017, 9:38pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875 "2017-05-19T21:38:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjb2000](https://forum.sambapos.com/user_avatar/forum.sambapos.com/mjb2000/32/29209_2.png) [@mjb2000](https://forum.sambapos.com/u/mjb2000)\
**Post date:** [May 19, 2017, 9:38pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/1 "2017-05-19T21:38:31Z")

</div>

Is it possible to customise the display template of specific types of orders. I guess in the same way that we can for specific types of `[PAYMENTS:PaymentType]` or `[ORDER TAGS:TagName]`.

My reason for needing this is a little long winded\*, but **let’s just say I wanted to split drinks from all other types of items I sell…**

```
-- Something special for drinks
[ORDERS:MenuItemTag=Drinks]
<J00>{QUANTITY} Litres of thirst quenching {NAME}|{PRICE}

-- Every other type of order
[ORDERS]
<J00>{QUANTITY} {NAME}|{PRICE}
```

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [May 19, 2017, 9:43pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/2 "2017-05-19T21:43:07Z")

</div>

You can…  
Group and state for sure you can - see void order template for example.

---

<div class="post-metadata">

**Author:** ![mjb2000](https://forum.sambapos.com/user_avatar/forum.sambapos.com/mjb2000/32/29209_2.png) [@mjb2000](https://forum.sambapos.com/u/mjb2000)\
**Post date:** [May 19, 2017, 9:44pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/3 "2017-05-19T21:44:09Z")

</div>

Yes - I saw you can for states. Is that the only way to do it? Do I need to add a state to the order when it’s added in to be able to achieve this?

---

<div class="post-metadata">

**Author:** ![Hasa](https://forum.sambapos.com/user_avatar/forum.sambapos.com/hasa/32/50950_2.png) [@Hasa](https://forum.sambapos.com/u/Hasa)\
**Post date:** [May 19, 2017, 10:10pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/4 "2017-05-19T22:10:20Z")

</div>

Yeah just change the state when the order is added that should be easy. I think that’s the easiest way

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [May 19, 2017, 10:19pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/5 "2017-05-19T22:19:54Z")

</div>

You can do group code for products aswell and sure many others but I always use states for everything.  
Most of my custom product fields/tags are instantly converted to a state on order added.  
Course  
GL\_Account (PMS intergration)  
Package Price  
Special Offer group  
Kitchen print  
Bar print

Many many states, they are powerful and most feature/functions easily use them.

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 23, 2017, 9:11pm UTC](https://forum.sambapos.com/t/custom-print-template-for-specific-orders/14875/6 "2017-05-23T21:11:05Z")

</div>

Pretty sure you can filter Order sections by Product Tag as well, even Custom Tags.

Look for ORDERS GROUP PRODUCT TAG

> [@\[New 4.1.71\] Print Group Ordering with Custom Product Tags](https://forum.sambapos.com/t/new-4-1-71-print-group-ordering-with-custom-product-tags/3079):
>
> You can group items by Custom Product Tags with [GROUP|PRODUCT TAG:X] switch. I’ve added custom sorting for that switch. Configure new Custom Product Tag. New editor will appear on product pages. Use new Product Tag Editor to configure all tags. Configure Kitchen Print Template to activate grouping. You can define sort order of tag values by typing comma separated tags inside grouping switch. The syntax is: [ORDERS GROUP|PRODUCT TAG:\<tag name\>:\<s…
