> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.bglobale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.**

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/vhiwVFSofQQTfWIF/images/uuid-a4c84950-a228-2466-ca53-8842da9a593e.png?fit=max&auto=format&n=vhiwVFSofQQTfWIF&q=85&s=f6cfd1f59a8808b4e3b3550d75598ebc" width="1895" height="756" data-path="images/uuid-a4c84950-a228-2466-ca53-8842da9a593e.png" />
   </Frame>

   Disable Set default country from browser language.

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/X_jditTJssq_GTcj/images/uuid-5e6dc6b9-6e89-c2e5-6078-b37d386f8c83.png?fit=max&auto=format&n=X_jditTJssq_GTcj&q=85&s=61bde1fa69a8246b3cca09ff2bbaee4e" width="1877" height="909" data-path="images/uuid-5e6dc6b9-6e89-c2e5-6078-b37d386f8c83.png" />
   </Frame>

   Disable Geolocation by IP address.
3. Move the position of the hook actionDispatcherBefore for the Global‑e plugin to be before JPresta.

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/hjqDl82-X0YUzXdP/images/uuid-79e3389e-c92a-1ef8-3ca6-8e9f0e9087f9.png?fit=max&auto=format&n=hjqDl82-X0YUzXdP&q=85&s=1203abb6d989a21d84713a56a414190b" width="1881" height="931" data-path="images/uuid-79e3389e-c92a-1ef8-3ca6-8e9f0e9087f9.png" />
   </Frame>
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.
