Address Zone

Categories

Component ID

2833943

Component name

Address Zone

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

235

Component created

Component changed

Component body

This module integrates the Zone PHP library of CommerceGuys with Drupal, allowing you to define territorial groupings mostly used for shipping or tax purposes.

For example, a set of shipping rates associated with a zone where the rates
become available only if the customer's address matches the zone.

This module provides Drupal Commerce integration through a submodule and also supports inline conditions and discounts. You could use to check if a given address belongs to a given zone to give a discount.

Requirements

  1. PHP >= 5.4
  2. Download and extract the following libraries into sites/[all]/libraries:
  3. The following Drupal modules are required:

Configuration and usage instructions

  1. Add a new rule
  2. Add the condition 'Entity has field' -> [your_addresfield_name]
  3. Add the condition 'Address field belong to zone' -> [your_zone]

This module has been sponsored by Lanas y Ovillos