elgentos/magento2-openkvk

Extension to load KVK (Dutch Chamber of Commerce) data into Magento

Installs: 1 678

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 11

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.1 2021-03-22 12:20 UTC

README

This integration makes it possible to fetch OpenKvk data for Dutch companies into your Magento project. Using an API key from Overheid.io you can fetch the company data based on KVK number (Chamber of Commerce) or by postcode and house number.

Note: The basic implementation for this project is based on Hyva and will not work with Magento's Luma or Blank theme at this moment. This can be added in the future.

Installation

This package can be installed using Composer with the following command.

composer require elgentos/magento2-openkvk
bin/magento2 setup:upgrade

Usage

To use this package, you need to get an API key from Overheid.io and you need to configure the extension in Stores > Configuration > Customer Configuration > OpenKvk.

Also, to display this in the account pages, make sure you add this line to the file app/design/frontend/[Namespace]/[Theme]/Magento_Customer/templates/address/form.phtml:

<?= $block->getChildHtml('openkvk_js'); ?>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT