User Tools

Site Tools


magento2:extensions:toweringmedia-module-distance-delivery

Magento 2 Distance Delivery Extension

Extension context

This is a Toweringmedia Magento 2 extension guide in the Store Operations category. Use this page for distance-based delivery setup and pricing validation.

  • Module name: `Toweringmedia_DistanceDelivery`
  • Composer package: `toweringmedia/module-distance-delivery`

Overview

Distance Delivery extends Store Locator with distance-based shipping logic for merchant-managed local delivery. It supports Google API routing, fallback distance calculation, and configurable pricing models.

Core capabilities:

  • Delivery rate calculation using distance.
  • Optional Google Maps/Distance Matrix integration with fallback logic.
  • Delivery order workflows and scheduling support.
  • Compatibility with mixed fulfillment (pickup + delivery) operations.

Installation

cd /path/to/magento
composer require toweringmedia/module-distance-delivery:<VERSION>
php -d memory_limit=-1 bin/magento setup:upgrade
php -d memory_limit=-1 bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Versioning notes

  • Pick the version you are licensed for.
  • To see available versions for your credentials:
    • `composer show -a toweringmedia/module-distance-delivery`

Configuration

Primary admin areas:

  • Stores > Towering Media > Store Locator > Delivery Orders
  • Stores > Configuration > Towering Media > Store Locator (delivery rules)

Recommended setup order:

  1. Ensure Store Locator locations and delivery schedules are configured.
  2. Configure delivery rule set (service radius, cutoff, minimums).
  3. Configure pricing mode (flat/tier/per-distance).
  4. Configure Google API key/settings if using map-based distance calculations.
  5. Test checkout delivery quotes for near/far addresses.

Validation checklist

  • Delivery option appears only for valid serviceable addresses.
  • Delivery cost is calculated according to selected pricing model.
  • API and fallback behavior are acceptable when route service is unavailable.
  • Delivery metadata persists to order/admin views.

Troubleshooting

  • No delivery quote: verify service radius/rules and address validity.
  • Unexpected delivery cost: check pricing mode configuration and tier/rate data.
  • Google API failures: verify API key scope, enabled APIs, and quota limits.
  • Schedule issues: verify location hours and blackout dates in Store Locator.
magento2/extensions/toweringmedia-module-distance-delivery.txt · Last modified: by 127.0.0.1