No reviews yet

Sylius Geo Plugin

Product Sylius Geo Plugin Image

Fill the Sylius checkout address from the visitor's IP. Country, city and postcode, before they type.

Published
06.03.2018
Latest version
v2.2.0
Last update
20.03.2024
Sylius version
1.12 - 1.14
Downloads
1K+

This plugin adds IP geolocation to your Sylius store, on top of MaxMind's GeoIP2 database. When a visitor reaches the addressing step of checkout with no address yet, the country, city and postcode fields come back already filled in from where they are connecting. The same lookup is exposed to your templates, so the rest of the storefront can react to it too.

Features

  • The address step starts filled in: Country, city and postcode are prefilled on a new address, which is the field a buyer is most likely to abandon over.
  • Only when there is nothing to overwrite: An address being edited is left alone. The prefill applies to new addresses only.
  • City and postcode are optional: Both can be switched off in configuration if you would rather only preselect the country.
  • The country has to exist in Sylius: If the detected country is not enabled in your store, nothing is preselected rather than choosing something you do not ship to.
  • Six Twig functions: geo_continent_code(), geo_country_code(), geo_city_name(), geo_postal_code(), geo_latitude() and geo_longitude(), usable from any template.
  • A local database, not an API call: Lookups hit MaxMind's GeoIP2 file on your own server, updated with a console command, so there is no per-request latency and no third-party call at checkout.

Requires a MaxMind licence key (the free GeoLite2 tier is enough) and one bin/console geoip2:update to download the database.

Compatible with Sylius 1.12+ · PHP 8.0+.

Built by Odiseo, working with Symfony and Sylius since 2014. 660,000+ downloads across our open-source packages.

Reviews

No reviews yet

No reviews yet. Be the first to review this product!

Loading
  • MIT license
  • Free updates
  • Community support

Have already account? Sign in
See how it works
Compatibility & requirements
  • Compatible with Sylius 1.12 and higher

No reviews yet
15 plugins
Since 24.02.2026

Odiseo is a software development company specialized in building tailor-made digital solutions, ranging from web and eCommerce platforms to complex business applications and third-party system integrations. We design scalable and maintainable architectures using modern technologies such as PHP, Symfony, Node.js, React, and Vue, combined with solid DevOps practices and cloud-based deployments. We work closely with our clients to deliver robust, business-oriented products, streamline operational processes, and support the long-term evolution of their technology platforms through reliable and customized solutions.

Read more
Sylius Addons Marketplace

Discover plugins, themes, and resources from trusted vendors, helping you get the most out of your work.

© 2026 Sylius. All rights reserved.

Powered by Stripe