AddressSplitter (optional)
https://github.com/magesuite/address-splitter
This module uses viison/address-splitter repository to split street into street and house number in customer address entities.
Â
Installation
This module is optional.
composer require "creativestyle/magesuite-address-splitter" ^1.0.0
Admin settings
There are no admin settings, the module is active when installed.
Backend
Moved from existing readme, to be reviewed.
CLI commands
This module uses viision/address-splitter (https://github.com/pickware/address-splitter ) repository to split street into street and house number in customer address entities.
It allows using 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 extracts house number from the street and updates street in customer address entries in the database.
Â
Mode: - `preview` loads data from the database, parses them, and saves results into the CSV file - `execute` loads data from db, parses them, saves results into the CSV file, and update data in the database
Â
Frontend
There is no functionality on the front end side.