Is there is a way to create a calculator based on miles * price - %discount = final price?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I have couple of websites, where client can put address 1 and address 2,

using google maps, it should calculate # of miles,

Lets say, its 30 miles,
30 miles * set_price (3$) = 90$ - set_discount (10%off) = 81$ (final_price)

If there a way, please advise?
Photo of Cindy


  • 5 Posts
  • 0 Reply Likes
  • excited

Posted 9 years ago

  • 1
Photo of Laura Thomas

Laura Thomas

  • 4536 Posts
  • 211 Reply Likes
Hi Cindy,

It sounds like you are looking for a specialty widget and while we do not have anything like that in the Sitebuilder at this time, you may be able to find what you are looking for, or at least something close, by Googling around a bit. I just did a quick search for miles calculator widget and received a number of results that may suit your needs including this widget.

If that doesn't suit your needs I suggest you dig a little deeper or even look at the source code for widgets you've seen on other websites that you like. That will tell you where the widget came from and can help further your search.