mediarox/module-checkout-street-number

Divides the first street line into street & house number.

0.0.11 2023-07-29 09:38 UTC

This package is auto-updated.

Last update: 2024-04-29 11:09:07 UTC


README

Description

Short

Divides the first street line into street & house number.

Long

We use a checkout LayoutProcessor to find all street fields and insert the new fields "street_main" and "street_number" in front of them. Matching knockout components street-main and street-number exist, where street-main contains the logic for updating the original street field. CSS is then used to hide the original first street field.

Installation

composer require mediarox/module-checkout-street-number
bin/magento setup:upgrade

Configuration

Backend

STORES > (Settings) Configuration > SALES > Checkout > Checkout Options

Shell

bin/magento config:set checkout/options/split_street_into_name_and_number 1

Before

without_extension

After

with_extension

Compatible with

Notes

General

The extension was created from various live projects with themes based on Luma. It is to be considered as "beta" and does not claim to be perfect. The main reason of the release is to share this module with others and improve it together.

Helpful posts on the topic