LokiCheckout_EuVatWarning

Other
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Latest Release 2.0.5

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

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.shipping.address.eu_vat_warning loki-checkout.shipping.address.country_id loki-checkout.shipping.address.company loki-checkout.shipping.address.vat_id loki-checkout.billing.address.eu_vat_warning loki-checkout.billing.address.country_id loki-checkout.billing.address.company loki-checkout.billing.address.vat_id
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Customer Magento_Store LokiCheckout_Core Loki_Components
Composer details
Magento module name
LokiCheckout_EuVatWarning
Composer name
loki-checkout/magento2-eu-vat-warning
Composer version
2.0.5
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
loki-checkout/magento2-core: ^2.0
Releases
dev-main#b1f61169e7b7961cfe11e2c4f692332d69b293d2 20 October 2025
2.0.5 20 October 2025
2.0.4 20 October 2025
2.0.3 20 October 2025
2.0.2 20 October 2025
2.0.1 20 October 2025
2.0.0 20 October 2025
1.0.0 20 October 2025
0.0.5 20 October 2025
0.0.4 20 October 2025
0.0.3 20 October 2025
0.0.2 20 October 2025
0.0.1 20 October 2025
Changelog

[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* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump LokiCheckout_Core to 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

Last modified: September 1, 2025