User Tools

Site Tools


magento2:extensions:toweringmedia-distance-delivery-magento-2-google-powered-logistics

Distance based Delivery costs (Magento 2) – Google-Powered Logistics User Guide for Magento 2

Extension context

Toweringmedia Magento 2 extension guide. Behavior described here matches the shipped module source, not marketing copy.

Package

  • Composer package: toweringmedia/module-distance-delivery
  • Magento module: Toweringmedia_DistanceDelivery
  • Version in source checkout: 1.1.8 (confirm the version you installed with composer show toweringmedia/module-distance-delivery.)

Overview

Sophisticated distance-based delivery rate calculator that integrates with Google Directions API for accurate routing calculations, featuring Haversine formula fallback for reliability

What this extension does

  • `docs/README.md`
  • `docs/PLAN.md`
  • `docs/TESTING_STRATEGY.md`
  • Google Maps Integration: Real-time distance calculation using Google Distance Matrix API
  • Haversine Fallback: Mathematical distance calculation when API is unavailable
  • Service Area Validation: Automatic validation of delivery addresses

Requirements

  • PHP: ^8.2 (from composer.json).
  • Magento 2.4.x unless your installed package declares different module dependencies.
  • Key Magento packages: magento/framework >=103.0.7-p0 <103.0.10; magento/module-backend >=102.0.7-p0 <102.0.10; magento/module-checkout >=100.4.7-p0 <100.4.10; magento/module-shipping >=100.4.7-p0 <100.4.10.
  • Toweringmedia Composer repository credentials and a license covering this package.

Installation

Install and validate in staging before production.

cd /path/to/magento
composer require toweringmedia/module-distance-delivery
php bin/magento module:enable Toweringmedia_DistanceDelivery
php bin/magento setup:upgrade
php bin/magento cache:flush

General Toweringmedia install notes: installation guide.

Configuration

  • Open Stores > Configuration and search for the extension name, or check Stores > Configuration > Towering Media if present.

Notes and limitations

  • Optional Store Pickup: In-store pickup is a separately sold SKU. Distance Delivery does not require it. ===== Validation checklist ===== * php bin/magento module:status shows the module enabled. * Admin configuration saves at the intended scope (default / website / store view). * Primary storefront or Admin workflow behaves as expected after cache flush. * Check var/log/ for PHP errors during the test flow. ===== Troubleshooting ===== * Feature not visible: confirm module enablement, cache flush, and static content deploy if frontend assets changed. * Config not applying: confirm scope and that full page cache / Varnish was cleared. * Composer package missing**: verify https://composer.toweringmedia.com/ credentials in auth.json.
magento2/extensions/toweringmedia-distance-delivery-magento-2-google-powered-logistics.txt · Last modified: by 127.0.0.1