Testing Delivery Estimates for Other Countries
The Estimated Delivery module includes a Force IP feature that lets you simulate visits from any country directly from your back office. This is essential for verifying that carriers, delivery dates, and restrictions are correctly configured for each country you serve.
Understanding IP-Based Country Detection
The module determines which carriers and delivery dates to show based on the visitor's IP address geolocation, not the shop language or domain they are viewing. This means:
- A customer in France sees French delivery options, even on
yourstore.de(German domain) - A customer in Germany sees German delivery options, even on
yourstore.fr(French domain) - If no carriers are configured for a visitor's country, no delivery estimate appears
This IP-based approach ensures accurate delivery information, but it also means you need the Force IP feature to verify configurations for countries other than your own.
Step 1: Get a Test IP Address
To simulate visits from another country, you need a real IP address from that country.
- Visit the NirSoft Country IP database
- Select your target country
- Copy any IP from the list
Here are some example IPs for common European countries:
| Country | Example IP |
|---|---|
| France | 2.15.0.0 |
| Spain | 2.152.0.1 |
| Italy | 2.224.0.1 |
| United Kingdom | 2.24.0.1 |
| Germany | 2.160.0.0 |
| Poland | 31.0.0.0 |
NirSoft provides publicly available IP ranges organized by country. These are real IP addresses currently assigned to specific countries, updated regularly. They cover all countries worldwide and are free to use for testing.
If the detected country doesn't match your target, the IP may have been reassigned since the database was last updated. Simply select a different IP from the same country's range.
Step 2: Configure Force IP
- Go to Back Office → Estimated Delivery → Delivery Estimation Test
- Paste the test IP in the Force IP field
- Wait for the country to be detected
- Verify it matches your target country
- Save the configuration
- Clear your shop cache (Performance → Clear cache)
Step 3: Test Your Configuration
Visit your shop as a normal customer would and verify delivery estimates throughout the purchase flow:
- Product detail page — check that estimates appear with correct carriers and dates
- Product combinations — switch between combinations to verify estimates update
- Cart page — confirm the cart summary shows delivery information
- Checkout — verify carrier selection and estimated dates
- Different product states — test with in-stock, out-of-stock, and backorderable products
Step 4: Disable Force IP After Testing
Once you finish testing, disable the Force IP option so the module returns to detecting real visitor IPs. Leaving Force IP enabled will affect the delivery estimates shown to all visitors.
- Go to Back Office → Estimated Delivery → Delivery Estimation Test
- Disable the Force IP option
- Save the configuration
- Clear your shop cache
Troubleshooting
| Problem | Solution |
|---|---|
| No estimates appear | Check that carriers are configured for the target country and that cache is cleared |
| Wrong country detected | Try a different IP from the list — ownership may have changed |
| Test results persist after disabling | Verify Force IP is disabled, save, and clear both PrestaShop and browser cache |
Common Testing Scenarios
Multi-Country Store Configurations
If you operate shops in multiple countries (e.g., .fr, .de, .es, .it), use Force IP to verify that:
- Each country's visitors see the appropriate carriers
- Delivery dates calculate correctly with country-specific holidays
- Carrier restrictions work as configured
Verifying Carrier Restrictions
When you restrict carriers to specific countries or zones, Force IP lets you confirm:
- Carriers appear only for intended countries
- Excluded countries show no delivery estimates (or show alternative carriers)
- Zone configurations work correctly
Testing Before Launch
Before launching in a new country or adding new carriers, use Force IP to:
- Verify the complete customer experience from that country's perspective
- Test edge cases (out of stock, heavy products, special categories)
- Confirm date formatting for that locale
- Validate carrier selection logic
Best Practices
Keep a List of Working Test IPs
Maintain a reference of working test IPs for countries you frequently support. This saves time when you need to test different markets. Verify them periodically, as IP ownership can change.
Clear Cache Between Tests
Always clear the PrestaShop cache when switching test IPs or after configuration changes. Consider using a private/incognito browser window during testing to avoid browser cache issues.
Test the Complete User Journey
Don't only check the product page. Verify delivery estimates appear correctly through the entire purchase flow:
- Product detail page (including combination changes)
- Add to cart
- Cart page summary
- Checkout carrier selection
- Order confirmation
Do I need a VPN to test delivery estimates for other countries?
No. The Force IP feature in the module lets you simulate visits from any country directly from your back office. You paste a real IP address from that country and the module treats all page loads as if they were coming from that location.
Where do I find test IP addresses for specific countries?
The NirSoft Country IP database at nirsoft.net lists publicly available IP ranges organized by country. Pick any IP from your target country's range. If the detected country doesn't match, the IP may have been reassigned — just try a different one from the same list.
What happens if I forget to disable Force IP after testing?
All visitors to your store will see delivery estimates as if they were located in the forced country. This means real customers may see incorrect carriers and delivery dates. Always disable Force IP and save the settings as soon as you finish testing.
Should I clear the cache after enabling or disabling Force IP?
Yes. Clear the PrestaShop cache after any Force IP change so the module recalculates delivery estimates fresh. Without clearing the cache, customers may still see stale results from the previous configuration.
Which pages should I test when simulating a country?
Test the full purchase flow: the product detail page, product combination changes, the cart page, checkout carrier selection, and order confirmation. Delivery estimates appear on all of these and each has its own calculation context.