Title: Ship Distance
Author: Kaleem Ullah
Published: <strong>18 dezembro, 2024</strong>
Last modified: 18 dezembro, 2024

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/ship-distance/assets/icon-128x128.png?rev=3209681)

# Ship Distance

 Por [Kaleem Ullah](https://profiles.wordpress.org/kaleemullah05/)

[Baixar](https://downloads.wordpress.org/plugin/ship-distance.1.0.zip)

 * [Detalhes](https://br.wordpress.org/plugins/ship-distance/#description)
 * [Avaliações](https://br.wordpress.org/plugins/ship-distance/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/ship-distance/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/ship-distance/#developers)

 [Suporte](https://wordpress.org/support/plugin/ship-distance/)

## Descrição

Ship Distance is a powerful plugin that allows you to limit shipping to addresses
within a specified distance from your store location. Key features include:

 * Set a maximum delivery distance using latitude and longitude
 * Customize error message for addresses outside delivery range
 * Secure encryption of sensitive configuration data
 * Fully internationalized and translation-ready
 * Compatible with WooCommerce HPOS and Remote Logging

### How It Works

 1. Enter your store’s latitude and longitude
 2. Provide a Google Maps API key
 3. Set the maximum allowable delivery distance
 4. Customize the error message shown to customers

When a customer proceeds to checkout, the plugin:
 – Calculates the distance between
the store and shipping address – Blocks checkout if the distance exceeds your specified
limit – Displays a customized error message

### Requirements

 * WordPress 5.8+
 * WooCommerce 7.1+
 * PHP 7.4+
 * Google Maps API Key

### External Services

This plugin connects to the Google Maps Distance Matrix API to calculate the distance
between the store and the customer’s shipping address. This is necessary to determine
if the customer’s location is within the allowable delivery distance set by the 
store owner.

Data Sent:

 1. Store’s latitude and longitude (provided by the store owner in the plugin settings).
 2. Customer’s shipping address (entered by the customer during checkout).

When Data is Sent:

 1. Data is sent to the Google Maps Distance Matrix API whenever a customer enters 
    a shipping address at checkout.

Service Provider:

 1. Service: Google Maps Distance Matrix API
 2. Terms of Service: https://cloud.google.com/maps-platform/terms/
 3. Privacy Policy: https://policies.google.com/privacy

This disclosure ensures compliance with privacy and legal guidelines and allows 
users to understand the nature of the data exchange with Google Maps services.

### Translations

The plugin is translation-ready. If you’re interested in translating the plugin,
please contact the author.

### Support

For support, feature requests, or bug reports, please visit:
 https://kaleemullah.
in/contact

## Capturas de tela

 * [[
 * Plugin settings page

## Instalação

 1. Upload the plugin files to the `/wp-content/plugins/ship-distance` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to Settings > Ship Distance
 4. Configure your store location, API key, and delivery distance
 5. Save settings

## Perguntas frequentes

### Do I need a Google Maps API Key?

Yes, you must obtain a Google Maps API key and enter it in the plugin settings to
calculate distances.

### How do I find my store’s latitude and longitude?

You can use online tools like Google Maps or GPS coordinates to find your exact 
location’s latitude and longitude.

### Can I customize the error message?

Yes! You can fully customize the error message shown when an address is outside 
the delivery range.

### Is the plugin translation-ready?

Absolutely! All strings are internationalized and ready for translation.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Ship Distance” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

 *   [ Kaleem Ullah ](https://profiles.wordpress.org/kaleemullah05/)

[Traduzir o “Ship Distance” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/ship-distance)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/ship-distance/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/ship-distance/) ou
assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/ship-distance/)
por [RSS](https://plugins.trac.wordpress.org/log/ship-distance/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0

 * Initial release

## Meta

 *  Versão **1.0**
 *  Última atualização **1 ano atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 5.8 ou superior **
 *  Testado até **6.7.5**
 *  Versão do PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ship-distance/)
 * Tags
 * [delivery](https://br.wordpress.org/plugins/tags/delivery/)[distance](https://br.wordpress.org/plugins/tags/distance/)
   [Google Maps](https://br.wordpress.org/plugins/tags/google-maps/)[shipping](https://br.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://br.wordpress.org/plugins/tags/woocommerce/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/ship-distance/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Your review](https://wordpress.org/support/plugin/ship-distance/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/ship-distance/reviews/)

## Colaboradores

 *   [ Kaleem Ullah ](https://profiles.wordpress.org/kaleemullah05/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/ship-distance/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://kaleemullah.in)