Skip to main content

Documentation Portal

Third-Party Integration

JPresta Page Cache Ultimate and Global‑e Plugin Configuration

Here is how to configure PrestaShop to work with both the JPresta and Global-e modules.

  1. Go to IMPROVE > International > Localization.

  2. In the configuration area, disable Set default country from browser language and Geolocation by IP address.

    image13.png

    Disable Set default country from browser language.

    prestashop_disable_geo_location.png

    Disable Geolocation by IP address.

  3. Move the position of the hook actionDispatcherBefore for the Global‑e plugin to be before JPresta.

    image14.png

  4. Modify the Global‑e Global‑e GEM code:

    Add the countryCode and currencyCode or glCountry and glCurrency query params when the country is changed in the shipping switcher.

  5. Empty the PrestaShop and the JPresta caches.

  6. Set $EXPIRES_MIN = 0; in modules/pagecache/static.config.php. In purpose to disable browser cache for product and categories pages.