Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Customers type in a postcode in a text box and immediately get displayed a travel fee?


Oliveoil

Question

Hello,

I run a business where it is possible to visit clients in their homes. I'm trying to figure out how to automate as much as possible the booking and management of this. The constant email back and forth with clients is tiring and also there is no commitment on their part so they just don't get back to me sometimes.

My idea is to sell the service with a deposit so that the client is committed and also calculate a variable travel fee. The fee needs to be variable of course due to different travel times to different locations. 

Is there a way for me to display a text box on the page so that clients can type in their post code and immediately get displayed the additional fee that they will have to pay on top of the standard appointment? I'm assuming that somehow I will need to have a Google sheets connected through Zapier with postcodes in one column and prices in the next.

Are there any other apps that can integrate with Squarespace that will maybe do this task more professionally and precisely instead of my homemade workaround solution (i.e. calculate a more accurate travel time, postcode is pretty imprecise)?

Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

Hello, I run a business where it is possible to visit clients in their homes. I'm trying to figure out how to automate as much as possible the booking and management of this. The constant email b

Hi thanks for your answer. I'm surprised there's no off the shelf products that perform this function. There are so many massage therapists and other types of therapists that do home visits and so muc

As you asked this question in the 'Coding and Customization' section, I thought that you wanted guidance on coding solutions 🙂. However, if you are looking at Scheduling solutions, take a look at

3 answers to this question

Recommended Posts

  • 1
1 hour ago, Oliveoil said:

My idea is to calculate a variable travel fee. The fee needs to be variable of course due to different travel times to different locations. 

Is there a way for me to display a text box on the page so that clients can type in their post code and immediately get displayed the additional fee? 

Are there any other apps that can integrate with Squarespace that will maybe do this task more professionally and precisely?

It's something that can be coded in JavaScript.

If you submit the origin and destination to a mapping API (such as ArcGIS or Distance Matrix) you'll be able to get the estimated travel time.

For example, the Distance Matrix API (part of the Google Maps platform) can return travel time information as JSON which you can then use to calculate costs, for example:

{
  "status": "OK",
  "duration": {
  "value": 14388,
  "text": "4 hours 0 minutes"
  }

 

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digitalbuilding the features that Squarespace didn't include. Pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.  Squarespace. I've been a loyal supporter of the platform since 2007. 

Link to post
  • 0

Hi thanks for your answer. I'm surprised there's no off the shelf products that perform this function. There are so many massage therapists and other types of therapists that do home visits and so much of their time could be saved by software arranging their routes. I'm sure it wouldn't be that complicated to create, maybe there's a new product opportunity for someone here. 

Is there any links that you could share that I could read to begin educating myself in how to make a patchwork solution as far as possible so that as much planning gets taken off my hands? I don't have programming experience so I would be looking to get ready made code snippets and to try to apply them to my requirements.

Another issue after calculating the travel time would be to somehow integrate it into the Acuity software so that it displays correctly the possible available booking slots. For example, if my calendar is blocked until 1pm at the point of origin and the travel time to possible home visit is 1hr, then Acuity needs to show 2pm to that client as available. If the journey is 2hrs, then Acuity needs to show only 3pm as available. Furthermore, the tail end of the appointment needs to get blocked off for the same 1hr or 2hr duration after the appointment gets booked so that someone can book at the point of origin when I'm free again.

Is this all a bit overcomplicated? Maybe I'm asking too much from our poor overworked AI overlords?

Link to post
  • 0
42 minutes ago, Oliveoil said:

I'm surprised there's no off the shelf products that perform this function.

As you asked this question in the 'Coding and Customization' section, I thought that you wanted guidance on coding solutions 🙂.

However, if you are looking at Scheduling solutions, take a look at TimeTap. This is more flexible than Acuity, as it uses the API that I mentioned to calculate the commute between your appointments and adjusts your availability automatically to accommodate for the travel time needed to get from A to B.

Acuity allows you to set a buffer between appointments, but it does not adjust per appointment or take the location into account.

  If this helps you, please click "Like" below  ⬇️

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digitalbuilding the features that Squarespace didn't include. Pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.  Squarespace. I've been a loyal supporter of the platform since 2007. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...