Variable Delivery Charges (based on Zones)

And what’s that action.
You’ll need to expand on that automation.
What do you want zone 1, 2, 3 and manual?
You’ll want an ask question for the initial question zone 1 2 3 manual.
Then an executed command rule responding to that with a pair of update calculation actions where amount is a open field.
If not manual one uses command value from the ask question and if manual a [?prompt] in the amount field.

1 Like

In this action:


Replace the Amount field (10) with this:
[?Delivery Charge;;{CALCULATION TOTAL:Service Charge};OC;"5","10","15"] (you can change the amounts in quotes to the amounts you want.
Or
[?Delivery Charge;;{CALCULATION TOTAL:Service Charge};OCN;]

The first option will give you this popup:


This is the second option:

Here is post that describes what everything means:

The {CALCULATION TOTAL:Service Charge} report, that is there to show what the current Service Charge is at, in the event you need to change the amount. Nothing will appear when setting the Service Charge for the first time setting the Service Charge.

1 Like

Automation Commands:

image

With visibility in Ticket.

Actions:

image

image

Rules:

image

image

Where [:CommandValue] is the right value on the expresion of field Buttons in the Ask Question action in the first rule.

2 Likes

you could but the amount as the = value and just done if command value not equal manual use command value for amount;-)

i tried but did not work for me…!

thanks @Francisco_Lopez its working perfectly fine… only thing i am unable to achieve is how to select same action more than once? :slight_smile: i can clone but looking at your screenshot you have achieved this without cloning as the name is same!

Thanks @JTRTech exactly what i wanted to achieve what you have asked and Francisco_Lopez presented the perfect example!

Multiple use of same action after adding right click on the left column and show all and used actions will show and be available to add a seccond time.

1 Like

thanks @JTRTech… A long learning curve for beginners!!!

You and every member of this community are great and amazing…!

Just a thought!

it will be great if there is a you tube channel or subscription available where people can request the tutorials and experts like just to name some : yourself, Jesse, QMcKay, Fransisco, SambaPOS Support can actually demonstrate. (of course selected and complicated queries) it will help novice users to educate themselves from another platform.

Thanks again for your response and help!

Stay blessed always!

I did a few video tutorials;

These take time though and we are not paid by samba, just resellers and or venue operators so cant offer up the time required without any return in investment.
These videos took me several hours a piece for relitivly simple demos.
I made these in a way to help proper get to grips with the ecosystem of samba automation.

1 Like

Make sense!! but i am sure if you guys start something many people will subscribe and i will be the first one :slight_smile: and eventually there will be ROI…

I thought about it back when samba was primerally DIY users before they switched to push use of resellers.

hmm! hopefully down to road there will be something! forum is huge but for beginners like me are struggling to grasp the codes on most occasions :slight_smile: like now i am stuck and cannot stop the slice to go to kitchen screen as its being sold at the counter and does not need to go to the kitchen screen…!

The issue is these things are all custom, 2 setups are never the same, there are usualy several ways to achive very similar results.

is there anything that i can refer to?

What tutorial did you take the setup from, could use product tags, states or other aspects. Hard to say without more info

I can send you my database too if you have time to look at it

Kb.sambapos.com have you seen our knowledge base?

Hi Jesse. Yes i have seen and have achieved alot of that its has almost everything when it comes to programming. I was wondering for more detailed And complex customizations. More for learning purpose. Like for Pizza business there are so many deals that are way complicated and work on if and/or logic eg. 2 and 3 pizzas deal and that is valid on both specialty pizzas and unlimited custom toppings pizzas. If i select any of those 2 pizzas Deal applies automatically (this we have achieved via current settings)and when i add 3rd pizza 3 pizzas deal over rules the 2 pizza deal. Those kind of Deals.

Personally i think an approach for handling more complex deals is to go the ticket calculation route.
It maybe be a little more interesting working our report type expression to calculate the discount but if you stick to fundamentals you’ll see at big stores like tesco here in UK.
Like a product will only even be in one deal at a time. Gets crazy complex if you have multiple overlapping deals that can’t both be used at same time. At least if you want completly automatic application given.
You can tier deals like different qty or value but sticking within the 1st rule and expanding.

Going the ticket level calculation in my opinion makes updating as orders are added or taken off easier which is harder to automate seamlessly.

If you look at flr example the recent eat out to help out discount topic. Thats calculated based on a product tag to specify aplicable items, is a % doscount with a cap.

The hotel group i work for primerally has a loyalty and regular discount for food and drink, plus staff.
Using a wet dry item tag to create two distinct product sets these are then calculated and updated on the fly at each types rate based on customer type using a ticket state. The ticket state sets the discount level, item tag sets which products are included in the two % rates.
The other approach is a discount type tag on products then you can tally up the total on the applicable products for calculating the discount.

Getting more creative you could incorporate scripts to work b3g1f type deals althligh there is a built in feature for a few types of offers like that.

I opted for ticket level as made it easy to control setting a specific flow for where the hotel does daily deals, segmenting the flow as such that a ticket state or similar defines which calculations are triggered, and that state then defines the offers calculated without clashes allowing simpler managment of daily deals where products may overlap, so a product could be included in monday offer and tuesday deal without having to cut and update date constraints on each calculation while allowing other options to overide, ie a Monday deal could be overridden with a loyalty %discount by simply selecting the loyalty member entity which updates the deal state with the loyalty discount state.for where deals cannot be combines.without having to include all the exclusions within the deal automation and via versa.

1 Like