Yireo_LokiCheckoutGeoIpAutocomplete

Jump to User Docs

Core

This is an add-on package to the LokiCheckout. It is only a dummy to kickstart new modules easily.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require yireo/magento2-loki-checkout-geo-ip-autocomplete

Next, enable this module:

bin/magento module:enable Yireo_LokiCheckoutGeoIpAutocomplete

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Yireo_LokiCheckoutGeoIpAutocomplete

Configuration Options

The following options of this module can be configured via the Store Configuration:

GeoIP autocompletion > Enabled
yireo_loki_checkout/geo_ip_autocomplete/enabled
Enable or disable this functionality on the fly
GeoIP autocompletion > Provider
yireo_loki_checkout/geo_ip_autocomplete/info_provider
Backend provider to translate an IP address into actual address information
GeoIP autocompletion > ipinfo.io token
yireo_loki_checkout/geo_ip_autocomplete/ip_info_io_token
Token as generated in your ipinfo.io account. This is only used if the "Provider" is set to "ipinfo.io" and can be left blank otherwise.
GeoIP autocompletion > Success message
yireo_loki_checkout/geo_ip_autocomplete/success_message
Text to display when the addressed is modified successfully based on the IP address
Module Dependencies

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

Magento_Backend Magento_Config Magento_Quote Magento_Store Yireo_LokiCheckout
Composer details
Magento module name
Yireo_LokiCheckoutGeoIpAutocomplete
Composer name
yireo/magento2-loki-checkout-geo-ip-autocomplete
Composer version
1.0.0
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-quote: ^101.0
magento/module-config: ^101.0
guzzlehttp/guzzle: ^6.0 | ^7.0
yireo/magento2-loki-checkout: ~0.0 | ^1.0
ext-json: *
Releases
dev-main 24 May 2025
1.0.0 24 May 2025
0.0.3 10 April 2025
0.0.2 10 April 2025
0.0.1 09 April 2025
Changelog

[1.0.0] - 24 May 2025

Fixed

  • Update admin settings with tooltip and regenerate new MODULE.json
  • Generate new MODULE.json with simple test count
  • Add PHP 8.4
  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • Reduce dependencies with CheckoutState::saveQuote()

[0.0.3] - 10 April 2025

Fixed

  • Undo dev hack

[0.0.2] - 10 April 2025

Fixed

  • Add CLI command
  • Add dummy provider
  • Add enabled flag
  • Pick provider in backend
  • Add success message

[0.0.1] - 09 April 2025

  • Initial release
Jump to User Docs

Last modified: April 30, 2025