Detect Customer's Location For Different Shipment Method Options? URGENT!!!

Started by trevorellis, July 02, 2020, 11:00:09 AM

Previous topic - Next topic

trevorellis

I'm making a website for a pizza delivery shop. I would like to find a way where I can use the customer's address to work out how many miles it is from the shop so that I can offer different shipment methods of varying prices.

Example shipment charges:
Customer address within 2 miles of shop = Free
Customer address between 2 and 3 miles of shop = £1.50

How can I achieve this? Is there something in the standard Virtuemart or do I need a third-party plugin? If so, please can you give me the details.

Any help would be greatly appreciated.

pinochico

Why is urgent?

if we develop an e-shop, we expect to prepare at least 6 months, that is a lot of time :)

I think you must combine GEO IP funkction with right extensions. You can start with this: https://sm-planet.net/index.php?option=com_content&view=article&id=5&Itemid=120, but Im not sure if this developer continue or stopped all works.

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

jenkinhill

An IP lookup would be useless for a local delivery service!  There are a few distance calculating scripts based on Google maps, but I could only find 2 for Joomla:

https://joomlok.com/en/products/kalkulyator-rasstoyanij-dlya-joomla-i-ne-tolko

https://codecanyon.net/category/plugins/virtuemart?tags=distance%20price%20calculation,joomla   - this is apparently for use with VirtueMart, but may not be for current versions.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

trevorellis

Thank you very much for all the feedback. We've been trying various possible fixes over the last several days. We are now working on implementing the Radius Shipping plugin as we found limitations with the Advanced Virtuemart Shipping Rules plugin. With the Advanced Shipping rules we could NOT specify a specific number of miles, only the first part of the UK postcode, which can cover a fairly wide area. Thanks to everybody for the feedback.