Skip to main content

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.

  1. Visit the NirSoft Country IP database
  2. Select your target country
  3. Copy any IP from the list

Here are some example IPs for common European countries:

CountryExample IP
France2.0.0.1
Germany2.16.0.1
Spain2.152.0.1
Italy2.224.0.1
United Kingdom2.24.0.1
Why NirSoft?

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.

tip

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

  1. Go to Back OfficeEstimated DeliveryDelivery Estimation Test
  2. Paste the test IP in the Force IP field
  3. Wait for the country to be detected
  4. Verify it matches your target country
  5. Save the configuration
  6. Clear your shop cache (PerformanceClear cache)

Step 3: Test Your Configuration

Visit your shop as a normal customer would and verify delivery estimates throughout the purchase flow:

  1. Product detail page — check that estimates appear with correct carriers and dates
  2. Product combinations — switch between combinations to verify estimates update
  3. Cart page — confirm the cart summary shows delivery information
  4. Checkout — verify carrier selection and estimated dates
  5. Different product states — test with in-stock, out-of-stock, and backorderable products

Step 4: Disable Force IP After Testing

Important

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.

  1. Go to Back OfficeEstimated DeliveryDelivery Estimation Test
  2. Disable the Force IP option
  3. Save the configuration
  4. Clear your shop cache

Troubleshooting

ProblemSolution
No estimates appearCheck that carriers are configured for the target country and that cache is cleared
Wrong country detectedTry a different IP from the list — ownership may have changed
Test results persist after disablingVerify 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:

  1. Product detail page (including combination changes)
  2. Add to cart
  3. Cart page summary
  4. Checkout carrier selection
  5. Order confirmation