Created a 5% Discount in order tag list with mapping to all *
Created an action with 5% Discount with Action type of Tag order and Order Tag Name: Discounts and in Order Tag Price [=0-(Order.Model.GetVisiblePrice()*0.05)]
Created Rule with 5% Discount and Event Name: Order Tagged, Constraint of Order Tag Value= 5% Discount
Now when i select the item and then high light it it shows the order tag of Discounts, then I select the 5% Discount it toggles ok with the discount button and the order tag changes but it doesnât apply the discount.
Can you post some screen shots? We might be able to see whatâs wrong by looking at them.
That said, your Discount setup is different than mine. I havenât mapped the Order Tag Group to anything (the mapping is blank). Instead, I handle it with Automation Command Buttons mapped to the Order Line.
The reason why iâm not using Automation command is because i donât want the button discount button to show on the left. I wan to select an item from the menu then highlight the item and tag a discount to it. So this way only the appropriate discount appears for that item.
So to tell you my scenario: We have food discount 5% and beverages 10% discounts. We also want to restrict the amount of discounts for beverages is max 6 discounts and for food also 6 discounts (i donât know if that is possible). Please take a look at these screenshots:
I also tried mapping the rule, that doesnât work either. Not sure what you mean by refreshing the ticket. I tried logging out completely and log back in still doesnât work.
And btw, is it possible to have limited or restricted amount of discounts on one ticket like i explained previously on the last reply?
You donât need a âTag Orderâ Action. When you click the Tag, that action is already being performed. You just need to capture the event in a Rule, and Execute a Change Price Action
Define your Order Tags, set the Tag Prices to zero (they arenât used anyway), and map the Order Tag Group to the applicable Product(s). Also, UncheckAdd Tag Price To Order Price (your Tag Prices are zero anyway).
Try an Update Program Setting Action to increment/decrement a counter whenever something is Tagged/UnTagged. Display the count with a Message box to see if itâs working.
This seems to do the trick⊠(youâll need the opposite of this in the UnTag Rule (-1)):
Thank you so much, it worked exactly how it should be no way i could have figured that out, that is the first part.
As for the second part, we changed our mind because the 6 discounts are per member, if you get a group with 2 or more members then we will need to give 12, 18 and so on discounts.
One more request, is it possible to show the amounts of discount on the receipt? if yes, then please explain.
@compwize the problem with your approach is you call Tag Order action in Order Tagged rule and since Tag Order action triggers Order Tagged rule recursively that executes Tag Order action again and it doesnât work.
The one issue with using order tags buttons is changing tags for submitted orders is not possible through order tag selector screen so you can only add discount for new orders. If it is not an issue for you, you can try solving it by using two set of order tags. Define first group for buttons and second group for tagging orders. When a button clicked untag it and tag order again with second tag group. You can define second group as Hidden so you wonât see buttons for that group.
@emre, this would work better if we could access the Tag Price. Is there syntax for retrieving [:OrderTagPrice]?
We can get [:OrderTagName] and [:OrderTagValue], but it would be nice to be able to replace the value 10 with something like [:OrderTagPrice] in this formula:
Forget it. I found the typo. It executes twice the rule as the second rule to remove the tag is configured wrongly to âOrder Taggedâ instead of âOrder Untaggedâ.
Alternate method which allows using a single Rule for Tagging and a single Rule for UnTagging.
This eliminates the need for multiple Rules for each of the different Percent Discount Amounts. For example, the previous method required a separate Rule for Tagging each of the percentage amounts (10,20,30,40,50) = 5 Rules, plus a separate Rule for UnTagging each of the percentage amounts (10,20,30,40,50) = 5 Rules, for a Total of 10 required Rules.
This modified method requires a Total of only 2 Rules; 1 for Tagging, and 1 for UnTagging.
Order Tag setup for Discount Percent of 10,20,30,40,50: