# Creating To Go Prices

**URL:** <https://forum.sambapos.com/t/creating-to-go-prices/8004>\
**Category:** Version 4\
**Created:** [November 7, 2015, 3:22pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004 "2015-11-07T15:22:48Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![na1978](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@na1978](https://forum.sambapos.com/u/na1978)\
**Post date:** [November 7, 2015, 3:22pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/1 "2015-11-07T15:22:48Z")

</div>

I have created lunch and dinner prices based on triggers and it works great. I now need to add a third price which is for To Go food. To create a To Go ticket, users go to a To Go Entity Screen to create a To Go ticket.

Can this be accomplished without using departments?

I also use Ticket Tags to tags a ticket for To Go. Is possible to change the price when tickets are tagged with To Go.

Thank you in advance and please let me know if something is not clear.

---

<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:** [November 7, 2015, 3:44pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/2 "2015-11-07T15:44:23Z")

</div>

How are you using the triggers? You have two price lists and trigger sets the price list?

How does to go price fit in with the lunch/dinner price lists?

---

<div class="post-metadata">

**Author:** ![na1978](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@na1978](https://forum.sambapos.com/u/na1978)\
**Post date:** [November 7, 2015, 3:55pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/3 "2015-11-07T15:55:24Z")

</div>

Thanks for a quick response JTRTech.

I have lunch prices from 8AM-3PM and dinner prices from 3PM to 11PM. I now need to have a third price which is the same all day but it is different from lunch and dinner prices.

Lunch and Dinner prices where implemented using tutorial below.  
[http://v2.sambapos.org/en/content/sambapos-251-test-release](http://v2.sambapos.org/en/content/sambapos-251-test-release)

---

<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:** [November 7, 2015, 3:56pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/4 "2015-11-07T15:56:09Z")

</div>

Have a look at this …

> [@TakeAway Surcharge per-Product](http://forum.sambapos.com/t/takeaway-surcharge-per-product/4127):
>
> This method allows for applying a TakeAway Surcharge on a per-Product basis. It uses a combination of Product Tags, Ticket Tags, Order Tags, Order States, and Automation (Actions/Rules). While you could use this surcharge to recover the cost of Take-out containers, we are going to call this surcharge an Environmental Fee, and the surcharge can be different for each Product. FLOW: Click on the To GO button at the bottom of the Ticket to toggle between Dine In and To GO, while also automatica…

---

<div class="post-metadata">

**Author:** ![na1978](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@na1978](https://forum.sambapos.com/u/na1978)\
**Post date:** [November 7, 2015, 4:08pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/5 "2015-11-07T16:08:24Z")

</div>

Thanks QMcKay.

Each of my products has three prices. Lunch, Dinner and To Go.

Example:

Soup --\>Lunch $3.00  
Soup–\>Dinner $5.00  
Soup–\>To Go $4.00

Is it possible to change the price to To Go price when I apply To Go Ticket Tag.

Can you give a quick example.

Thanks again.

---

<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:** [November 7, 2015, 4:25pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/6 "2015-11-07T16:25:22Z")

</div>

Probably a better way but how about adding `select all orders` and `update order price list` actions in the rule which sets the ticket tag?

---

<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:** [November 7, 2015, 4:25pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/7 "2015-11-07T16:25:53Z")

</div>

The Tutorial shows how to apply an additional charge on a per-product basis. It could be used to apply a discount instead, or it could be modified to use a set price (not an upcharge or discount.) It watches for the Ticket Tag change, updates the Order State, then applies an Order Tag which reads a Custom Product Tag value that contains the upcharge/discount. The Product Tag could contain a set price for that Product instead. This is just one method. It just means you would store upcharge, discount, or fixed price in a Product Tag

You could also create your Products to have Portions such as Lunch, Dinner, ToGo, and set the prices for each Product/Portion accordingly. Even this could be made to watch for the Ticket Tag, an use an Update Order action to change the Portion.

Then there is Price Lists. Watch for the Ticket Tagged event, and fire a Change Price List Action.

This is what makes SambaPOS so great. There is more than 1 way to create a solution that works best for your needs.

---

<div class="post-metadata">

**Author:** ![sukasem](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@sukasem](https://forum.sambapos.com/u/sukasem)\
**Post date:** [November 8, 2015, 11:19pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/8 "2015-11-08T23:19:31Z")

</div>

> [@na1978](#):
>
> Is it possible to change the price to To Go price when I apply To Go Ticket Tag.

> [@JTRTech](#):
>
> select all orders and update order price list actions

I think JTRTech already tell you how to update price. I think just add these actions to you ToGo button. Action Select Orders (Select All) and Update Order (Price Tag)required.

---

<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:** [November 8, 2015, 11:23pm UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/9 "2015-11-08T23:23:29Z")

</div>

Sounds like triggers are being used based on the add, changes to Togo price but stays Togo!

---

<div class="post-metadata">

**Author:** ![na1978](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@na1978](https://forum.sambapos.com/u/na1978)\
**Post date:** [November 9, 2015, 12:01am UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/10 "2015-11-09T00:01:08Z")

</div>

@JTRTech

You are correct. I am using triggers. I am able to change it to TO GO prices, but I can not set prices back to Lunch or Dinner prices depending on the time of the day.

---

<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:** [November 9, 2015, 12:35am UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/11 "2015-11-09T00:35:39Z")

</div>

Triggers only fire the once, they will not keep foreign if whatever they are doing gets changed.  
I would reconmend having the lunch/dinner price list set on ticket created or order added event with time based constraints.  
Ticket created would be preferable I expect depending on what other features you have setup.  
If it was order added an aboriginal constraint of ticket tag isnot Togo would be wanted to not override the ticket tag implemented price list.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [November 9, 2015, 1:34am UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/12 "2015-11-09T01:34:59Z")

</div>

> [@Conditionally Updating Order Prices](http://forum.sambapos.com/t/conditionally-updating-order-prices/8017):
>
> In this tutorial I’ll show you how to automate updating order prices conditionally. We’ll have 3 prices. Breakfast price, Dinner price and ToGo price. Breakfast or Dinner price will apply automatically depending on time of the day. Regardless time of the day ToGo price will activate when ticket marked as ToGo. ##Configuring Prices First we’ll define price definitions from Management \> Products \> Price Definitions screen. Breakfast price will appear as BB on ticket and bills. I’ll cr…

I’ll suggest this tutorial for all people who wants to understand how to implement rules. It’s a little bit long because I’ve tried to show all implementation steps.

---

<div class="post-metadata">

**Author:** ![na1978](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/n/3ec8ea/32.png) [@na1978](https://forum.sambapos.com/u/na1978)\
**Post date:** [November 9, 2015, 1:55am UTC](https://forum.sambapos.com/t/creating-to-go-prices/8004/13 "2015-11-09T01:55:32Z")

</div>

Excellent implementation. Thank you very much. @emre.
