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
- PHP >= 5.4
- Download and extract the following libraries into sites/[all]/libraries:
- Addressing - https://github.com/commerceguys/addressing
- Collections - https://github.com/doctrine/collections
- Zone - https://github.com/commerceguys/zone
- The following Drupal modules are required:
Configuration and usage instructions
- Add a new rule
- Add the condition 'Entity has field' -> [your_addresfield_name]
- Add the condition 'Address field belong to zone' -> [your_zone]
This module has been sponsored by Lanas y Ovillos
