Promotion Points for VIP conflict

This should not be happening
 the discount Order Tag should have been removed.

  • Activate the Rule Debugger.
  • select a Customer (VIP).
  • clear the debugger
  • add a product (Espresso) that is eligible for VIP Discount and Points.
  • highlight the Order, and click Use Points
  • post a screenshot of the Ticket and the Debugger output.
1 Like




Well lesson learned @QMcKay - don’t try and make decisions when you been banging at it for 20 hours straight! Apologies for not helping much but I think I found marios error.

Your Rule to retag Discounts uses a different calculation to when the discounts are tagged. See below your UNGIFTED Rule:

The syntax I am using (now!):
[=-1*TN('{PRICE}')*(TN('{ITEM TAG:VIP{ENTITY DATA:Customer:VIP Level}}')/100)]
and
[=-1*TN('{PRICE}')*(TN('{ITEM TAG:HH}')/100)]

Your original "CD Tag Order Discount for VIP or HH uses this syntax so I guess it should REDO the discount with the same syntax right?

I have not tested Happy Hour as yet.
I hope this helps - again sorry for budding in but it was worthwhile as I sorted a bug in my system as well!

2 Likes

Thank you @pauln your solution solves my problem !
Thank you all for your patience and your help :smile:

Update: When a customer has exact points for a product i can’t use it

Explain:
Customer 25 points
Product:25 points
Result : No useable

Explain: Customer 26 points
Product:25 points
Result : OK
Remain points for customer: 1

1 Like

This Rule, in the Constraint on the Right


Change this:

{ENTITY DATA:Customer:Points}

to this:

[=TN('{ENTITY DATA:Customer:Points}')+0.01]
2 Likes

Yes, of course. I really thought this goes without saying. That modification was mentioned in another thread when you want to use a percentage instead of a fixed amount.

“Your” I was referring to marios 
not you Q.
Anyway it was nice to sort of “chalk 1” up for you given the amount of help you have provided me :smiley:

2 Likes