VIP & Happy Hour


#1

This Tutorial has been updated and relocated here:

http://forum.sambapos.com/t/vip-happy-hour-or-timed-special-discounts-without-triggers/7144/


Happy Hour - How to implement!?
Handeling Half Pints
Combo Item by timing and discount
Automatic discount based on customer discount-level with set amounts per product
Samba closes when menu item is selected
Add button to change whole product category prices in ticket screen
Making A menu item appear only at a specific time
VIP and Happy Hour Tutorial V5
Triggers executing at irregular times
Need help to create discounts
#2

Database Tools Import Files have been attached.


#3

Hello, I’m following the tutorial and adding first rule - “CD Modify Ticket VIP State when Entity Changed”. When I try to Select action, I can choose only one time “AC CD Update Ticket Vip State” action. When I open the “Select Actions” menu I’m seeing that “AC CD Update Ticket Vip State” is on the right side of the window, but I can’t put it twice or duplicate it, so I can be able to se active - Inactive option. Do you have any idea why is that? I’m with 4.1.85 ver. of the software.


#4

Right-click in the left side of the Action chooser, and click Display all values.

Then scroll to the bottom of the Action list - it will be there.

You can do this multiple times.


#5

Thank you, it was right where you said.


#6

Hello again, I’ve done exactly all steps as above but I have problems with VIP account. When I choose some drink and select the VIP customer, nothing happened. I have to go “CLOSE” and go back to the same ticket to see the calculated discount. It’s the same when I want to change the account to the Normal one (without discount). Do you know why is this happening?


#7

Put a display ticket action with 0 for ticket id into the rule. Make sure its the last action. It is working just fine but display ticket will refresh it so it shows.


#8

Sorry but I didn’t understand where to set ticket ID, which rule or action?


#9

A “Refresh Ticket” Action should not be necessary, however, this is what you need to do…

Create an Action for Display Ticket - name the action whatever you wish - I suggest “Refresh Ticket”. This is a commonly used Action that you can use in many Rules. Set the Ticket Id parameter to 0.

Add the above Action to any Rules where you want to ensure that the Ticket display is updated, as the last Action of the Rule.

This is particularly useful (and necessary) when you use something like an Update Ticket Tag Action in a Rule. The action of updating a Ticket Tag does not refresh the Ticket display natively. You need a “Refresh Ticket” action for it to reflect the change in the Ticket Tag.


#10

Thank you QMcKay, I’ve done it but after that, I saw that I have made one mistake with the code of one action. I fixed it and now everything is perfect. Thank you.


#11

I have this all implemented, but it doesn’t seem to allow me a price reduction of 0.50 ?

Is there something I’m missing?

I put into the price tag editor 0.50 but it doesn’t reduce the price, however if I put in 1.50 it reduces it by 1.50…

Matt


#12

did you type 0.50 or just 50?


#13

I tried 0.50 and .50 surely if i did 50 it would use 50.00?

Matt


#14

Yes it would. did you actually type the 0 in 0.50 or did you just type .50?

EDIT: NM I see probably a constraint somewhere preventing that.

EDIT: It might be the action constraint that says it must be >0 that might need to change to >0.00


#15

yeh I was actually using 0.50 :slight_smile: ill try that now, which constraint was it?


#16

Or try >[=TN('0.00')]


#17

I’m going back over, can’t see where to change this…


#18

Was action constraint not custom constraint. The tag order actions.


#19

so replace '{ORDER STATE:DiscountType}'=='HH' && [=TN('{ITEM TAG:HH}')]>0

with '{ORDER STATE:DiscountType}'=='HH' && [=TN('{ITEM TAG:HH}')]>[=TN('0.00')]

Matt


#20

Try that yes. Not sure if it will work but worth a try.