creativestyle/magesuite-address-splitter

Tool allows to split customer addresses into two parts, street and house number.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 0

Open Issues: 0

Type:magento2-module

v1.0.1 2021-05-19 08:22 UTC

This package is auto-updated.

Last update: 2024-12-08 08:35:17 UTC


README

This module uses viison/address-splitter (https://github.com/pickware/address-splitter) repository to split street into street and house number in customer address entities.

It allows to use two commands:

  • address:splitter:split
    Test command, can be used to check the address-splitter logic.
    Example:
bin/magento address:splitter:split "test address 11"

will return

Array
(
    [0] => test address
    [1] => 11
)
  • address:extract:housenumber mode
    Command extract house number from street and updates street in customer address entries in the database.

Mode: - `preview` loads data from database, parses them and saves result into the CSV file - `execute` loads data from db, parses them, saves result into the CSV file and updats data in the database