# TUTORIAL: Custom +/- Buttons

**URL:** <https://forum.sambapos.com/t/tutorial-custom-buttons/16986>\
**Category:** V5 Tutorial\
**Created:** [February 15, 2018, 9:59pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986 "2018-02-15T21:59:22Z")\
**Posts on this page:** 18\
**Page:** 1

<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:** [February 15, 2018, 9:59pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/1 "2018-02-15T21:59:22Z")

</div>

So following some tricky automation I found myself needing to ‘catch’ order quantity changes on the +/- buttons but that’s currently only possible through Ticket Total Changed event but that gave me other issues as was working with calculations.  
Anyway.

**Automation Commands**  
Plus Quantity  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/a/9/a928f1bd41da2d845279fa85fde016b77f48f94f.png)

Minus Quantity  
 ![image](https://forum.sambapos.com/uploads/default/original/3X/d/6/d68288b81c2b1dc45e9c3af5fe30ce36fc7424e3.png)

Both will want mapping to order line with visible state of New

 ![image](https://forum.sambapos.com/uploads/default/original/3X/2/6/2627724c46508c521f6476c638f81703f3463c20.png)

Automation Command Executed Rule

 ![image](https://forum.sambapos.com/uploads/default/original/3X/a/7/a71f55b25a68f055dafc4e31a6ace44df1ee7d47.png)

You could get creative with order states to make minus disable on 1 quantity but opted just for action constraints.

---

<div class="post-metadata">

**Author:** ![MRenat](https://forum.sambapos.com/user_avatar/forum.sambapos.com/mrenat/32/28532_2.png) [@MRenat](https://forum.sambapos.com/u/MRenat)\
**Post date:** [February 16, 2018, 7:01am UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/2 "2018-02-16T07:01:30Z")

</div>

I think you missed Actions setup, I couldn’t find Update Order Quantity action type, there is Update Order Tag Quantity only

---

<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:** [February 16, 2018, 12:07pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/3 "2018-02-16T12:07:31Z")

</div>

Yes I did, it’s just an Update Order action with the only used field of [:Quantity].  
Its not order tag quantity.

---

<div class="post-metadata">

**Author:** ![markjw](https://forum.sambapos.com/user_avatar/forum.sambapos.com/markjw/32/9942_2.png) [@markjw](https://forum.sambapos.com/u/markjw)\
**Post date:** [February 17, 2018, 2:56am UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/4 "2018-02-17T02:56:22Z")

</div>

But if you create these buttons, don’t you end up with a duplicate set of + / - buttons?

I don’t think there is a way to disable the default buttons?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 17, 2018, 4:47am UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/5 "2018-02-17T04:47:26Z")

</div>

You can disable them.

---

<div class="post-metadata">

**Author:** ![markjw](https://forum.sambapos.com/user_avatar/forum.sambapos.com/markjw/32/9942_2.png) [@markjw](https://forum.sambapos.com/u/markjw)\
**Post date:** [February 17, 2018, 12:35pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/6 "2018-02-17T12:35:57Z")

</div>

> [@Jesse](#):
>
> You can disable them.

I assume you mean like this:

 ![image](https://forum.sambapos.com/uploads/default/original/3X/c/5/c550e03f21b62667512fa7c9e14056fa51c8ae89.png)

But that doesn’t allow me to disable for any Admin users. Is there another way to disable?

On a side note - any idea what the difference is between “Change Order Quantity” and “Change Selected Order Quantity”?

---

<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:** [February 17, 2018, 12:36pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/7 "2018-02-17T12:36:15Z")

</div>

You can 😉  
I missed that too, there is two quantity user roles permissions of which ok one disables the built in ones

---

<div class="post-metadata">

**Author:** ![markjw](https://forum.sambapos.com/user_avatar/forum.sambapos.com/markjw/32/9942_2.png) [@markjw](https://forum.sambapos.com/u/markjw)\
**Post date:** [February 17, 2018, 12:38pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/8 "2018-02-17T12:38:18Z")

</div>

It’s really good to be able to disable and use our own custom buttons. I had problem with the default buttons before because they messed up my gift card setup (using gift certificate tutorial).

---

<div class="post-metadata">

**Author:** ![Gurkan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/gurkan/32/54484_2.png) [@Gurkan](https://forum.sambapos.com/u/Gurkan)\
**Post date:** [February 14, 2021, 9:54pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/9 "2021-02-14T21:54:07Z")

</div>

Hi Jesse, Mark,

When I use my custom + - button it does not do the same as the systems + - buttons when I want to split/move the orders.

Example: Normally if I’ve 2 kebab and I would click on - I see: 1 (1) Kebab. After click on move it moves 1 Kebab.

With custom + - it just makes it 1 kebab. How did you solve this problem?

---

<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:** [February 15, 2021, 11:45am UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/10 "2021-02-15T11:45:47Z")

</div>

Doubtfull that would be achievable.  
Only possibility I can see would maybe be a complex flow of canceling 2 kebab, adding 1 then creating new ticket with 1…

---

<div class="post-metadata">

**Author:** ![Gurkan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/gurkan/32/54484_2.png) [@Gurkan](https://forum.sambapos.com/u/Gurkan)\
**Post date:** [February 16, 2021, 5:49pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/11 "2021-02-16T17:49:32Z")

</div>

it would be great if we could call up the functionalities of the current buttons in an AC Button @mehmet 🙂 We could skip the whole left bar. 😃

---

<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:** [February 16, 2021, 6:02pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/12 "2021-02-16T18:02:04Z")

</div>

What are you doing that needs custom +/-, maybe an alternative solution might be an option?

---

<div class="post-metadata">

**Author:** ![Gurkan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/gurkan/32/54484_2.png) [@Gurkan](https://forum.sambapos.com/u/Gurkan)\
**Post date:** [February 16, 2021, 6:08pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/13 "2021-02-16T18:08:53Z")

</div>

It is used often to split a ticket @JTRTech

---

<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:** [February 16, 2021, 7:32pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/14 "2021-02-16T19:32:17Z")

</div>

I got that bit, I mean the reason you needed to change from default +/- buttons to cistlm ones.

---

<div class="post-metadata">

**Author:** ![Gurkan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/gurkan/32/54484_2.png) [@Gurkan](https://forum.sambapos.com/u/Gurkan)\
**Post date:** [February 16, 2021, 8:22pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/15 "2021-02-16T20:22:52Z")

</div>

I want to skip the whole left bar. I’ve replaced all buttons. Alle buttons are replaceable except the ± buttons.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 16, 2021, 10:22pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/16 "2021-02-16T22:22:52Z")

</div>

We are releasing a new split ticket feature very soon.

 ![hGkmJ4qEVj](https://forum.sambapos.com/uploads/default/original/3X/f/6/f658ce851b501279e571dff248e53ef7c6d18d00.gif)

---

<div class="post-metadata">

**Author:** ![gsreddy](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@gsreddy](https://forum.sambapos.com/u/gsreddy)\
**Post date:** [February 16, 2021, 10:45pm UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/17 "2021-02-16T22:45:41Z")

</div>

@Jesse great any expectation of split a single product like 1 to 0.5 X 2 with the new update ?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 17, 2021, 2:57am UTC](https://forum.sambapos.com/t/tutorial-custom-buttons/16986/18 "2021-02-17T02:57:50Z")

</div>

Yes it will be supported.
