LokiCheckout_EuVatWarning
This Magento 2 module is an add-on package to the LokiCheckout. It is a custom module, used in a specific scenario: To give a warning to shoppers when they enter a VAT ID while they actually should not. For instance, in a Dutch shop a Dutch customer does not need to enter a VAT ID. But, if a Dutch shop a German customer enters a company value, then entering a valid EU VAT ID is most likely a good idea. This module adds warnings depending upon the right circumstances.
Installation
Install this package via composer:
composer require loki-checkout/magento2-eu-vat-warning
Next, enable this module:
bin/magento module:enable LokiCheckout_EuVatWarning
Support
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/LokiCheckout_EuVatWarning.git
Loki Components
The following LokiComponents are created or references in this module:
loki-checkout.billing.address.company
loki-checkout.billing.address.country_id
loki-checkout.billing.address.eu_vat_warning
loki-checkout.billing.address.vat_id
loki-checkout.shipping.address.company
loki-checkout.shipping.address.country_id
loki-checkout.shipping.address.eu_vat_warning
loki-checkout.shipping.address.vat_id
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Loki_MapComponents
Magento_Backend
Magento_Catalog
Magento_Checkout
Magento_CheckoutAgreements
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Sales
Magento_SalesRule
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Vault
Yireo_CspUtilities
Composer details
LokiCheckout_EuVatWarningloki-checkout/magento2-eu-vat-warning
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.0
Releases
| 2.0.8 | 12 June 2026 |
| 2.0.7 | 12 June 2026 |
| 2.0.6 | 12 June 2026 |
| 2.0.5 | 12 June 2026 |
| 2.0.4 | 12 June 2026 |
| 2.0.3 | 12 June 2026 |
| 2.0.2 | 12 June 2026 |
| 2.0.1 | 12 June 2026 |
| 2.0.0 | 12 June 2026 |
| 1.0.0 | 12 June 2026 |
| 0.0.5 | 12 June 2026 |
| 0.0.4 | 12 June 2026 |
| 0.0.3 | 12 June 2026 |
| 0.0.2 | 12 June 2026 |
| 0.0.1 | 12 June 2026 |
Changelog
[2.0.8] - 12 June 2026
Fixed
- Add Luma LESS styling fixes
[2.0.7] - 12 January 2026
Fixed
- Add escaping
- Copy generic CI/CD files
- Clean CHANGELOG
[2.0.6] - 11 December 2025
Fixed
- Rename deprecated AddressState::save/load to set/get
- Translate warning
- Add icon to warning
[2.0.5] - 02 September 2025
Fixed
- Add CI files
- Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI
[2.0.4] - 26 August 2025
Fixed
- 5742841 Add GitLab CI files
[2.0.3] - 21 August 2025
Fixed
- Add dependency with loki/magento2-css-utils
- Fix duplicate import
- Replace LokiComponentsUtilBlockCssClass with LokiCssUtilsUtilCssClass
- Declare used PHP namespaces
- Document latest version of template
[2.0.2] - 19 August 2025
Fixed
- Lower requirements to PHP 8.1
[2.0.1] - 07 August 2025
Fixed
- Lower PHP requirement to PHP 8.2+
[2.0.0] - 22 July 2025
Fixed
- Rename PHP namespace from
Yireo_Loki*toLoki* - Rename composer package from
yireo/magento2-loki*toloki/magento2* - Bump loki/magento2-components to major 2.0
- Bump
LokiCheckout_Coreto 2.0.0
[1.0.0] - 26 May 2025
Fixed
- Generate new MODULE.json with simple test count
- Allow PHP 8.4 in CI
- Update composer and module deps
[0.0.5] - 25 April 2025
Fixed
- Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
[0.0.4] - 08 April 2025
Fixed
- Housekeeping changes
[0.0.3] - 11 March 2025
Fixed
- Fix missing checkout context
[0.0.2] - 11 March 2025
Fixed
- Argh, module was overriding all XML layout in shipping step
- Huge refactoring to move logic into new LokiFieldComponents
[0.0.1] - 26 February 2025
- Initial release