Support the ongoing development of →
Laravel Database
Last updated by @msantos 1 year ago.

What help do you want from the community?


@msantos you could used redis to do this it will be faster and better no need of models. Check this article I wrote a while ago This is the specific function

Good luck let me know if I can help with anything.


Delivery areas. I want every restaurant to be able to set up a different range of areas to deliver with different prices. For example, if the customer is close to the restaurant (0-3km) the minimum order would be 12€ and the delivery price 0€. But if the customer is far (3-10km), the minimun order would be 25€ and the delivery fee 2€. I want it this way because all of our restaurants have their own delivery people.

I developed this feature based on the zipcode we defined the price and sooner the order is placed it showed the delivery charge to customer.

Last updated 9 months ago.

Sign in to participate in this thread!


Your banner here too?

miguel msantos Joined 9 Mar 2023


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.