TUTORIAL: Custom +/- Buttons

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.

Automation Commands
Plus Quantity

Minus Quantity

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

Automation Command Executed Rule

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


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

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

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?

You can disable them.

I assume you mean like this:

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”?

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

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).