Is this Coupon Solution Available?

So say there is a coupon for a Large Pizza, with 1 topping and a Large Margerita pizza for 16.99.

Is there any way I could have an automation command called coupons that brings up popup window that shows all available coupons and then when clicked will automatically change the prize of the total of the 2 items that are on the ticket if they match the coupon deal. Also I would really want it to also return the price back to normal if one of the items is removed so that my employees cant just add coupon and then remove one of the items and sell just one for low price.

Its possible but you need to decide how you plan to update coupons…If they are fixed and never changed you can simply just create Automation Commands used in Ask Question. If you want them to dynamically change you may consider using a script that reads available coupons somehow from somewhere.

You can make it look for specific items and if update total is changed and it doesnt find all specific items then it disables the discounted price.

Could you please help me out a little. I always struggled to find the ideal coupon solution on samba even after following multiple tutorials.

My idea is that I want to lock the worker to not be able to give any item under the price that she should be giving. So the custom “change price” solution is out of the question. For example the coupon system I achieved doesn’t stop a worker from adding a coupon and then removing one of the items that is required in the promotion.

@kendash Btw feels great to finally be back into samba. Going to be doing plenty of work in the upcoming month as I will have much more free time.

All coupons will not change so they will be fixed.

For now actually this will work best if possible.

I select 2 items, click coupon button, enter 16.99. So samba would have to take my 16.99 total entered and divide it in half and apply it to both orders selected.
@Jesse

Actually, you can remove discount if required item removed. I don’t know exactly how you give discount but here the idea assume using calculation type for discount.

  1. Setup product tag caption in program setting name what you like (ie IsRequired)
  2. In event order cancelled, you check if coupon discount calculation > 0 and {ITEM TAG:IsRequired} is True then remove that coupon discount and popup message to let them know.

You could duplicate the cancel order automation command and constrain the first to ack as normal if order state does not equal to activecoupon (would need to add a new state to coupon discounted order) and the other to if state is active coupon but have it show a message saying this order cannot be canceled while coupon has been applied?

Have you got automation in place to ‘undo’ the coupon discount?