Skip to content

rapidez/experius-postcode-nl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapidez Experius Postcode NL

Implementation of the Postcode NL API with the Magento 2 Experius-Postcode-NL module for Rapidez.

Requirements

Make sure the Magento 2 Experius-Postcode-NL and Mage2-Module-Experius-PostcodeGraphQl modules have been installed and configured in your Magento installation.

Installation

composer require rapidez/experius-postcode-nl

If you haven't published the Rapidez views yet, publish them with:

php artisan vendor:publish --provider="Rapidez\Core\RapidezServiceProvider" --tag=views

Add a event listener on the postcode and housenumber fields:

    <x-rapidez::input
        name="{{ $type }}_postcode"
        label="Postcode"
        v-model.lazy="checkout.{{ $type }}_address.postcode"
+       v-on:change="$root.$nextTick(() => window.app.$emit('postcode-change', checkout.{{ $type }}_address))"
        required
    />