# Adding the what3words Shopify app

Adding and configuring the what3words Shopify Plus and Shopify Basic apps.

Topics: Shopify, E-Commerce

Source: https://developer.what3words.com/tools/e-commerce/shopify

Updated: 2026-11-27

The what3words Shopify app allows a what3words address field to be added to a Shopify store. Customers can then provide a what3words address with orders for faster and more reliable deliveries.

## 1. Add app to your Store

Add a what3words address field to your checkout page on Shopify by clicking this button below

[Install](https://apps.shopify.com/what3words-address-field)

## 2. Select your theme (instructions will show based on theme selected)

### Basic Theme OS 2.0

For a quick walkthrough, please watch [this tutorial](https://youtu.be/VAheKz1ryn8)

### Installation process

1\. Go to the what3words app on the Shopify app store and click on **Install**

2\. From your Shopify admin, go to **Online Store > Themes**

3\. Click **Customize**

4\. Navigate to the **Cart** page

5\. Under **Apps**, select **Add Block > what3words Widget**

6\. Drag the what3words app block so it’s above the checkout button on the Cart page

7\. Click the **I have completed the steps** button to finalise the installation.

**Note:** You can now add the what3words address to your cart drawer page instead of your cart page by following these easy steps:

1\. From your Shopify admin, go to **Online Store > Themes**

2\. Click  **… > Edit code**

3\. In the **Templates** directory, click **cart-drawer.liquid**. Find a suitable place in your theme where you want to use the widget and insert the following code shown below. We recommend placing it above the **customer** **note** or **checkout** button:

<div id="w3w\_\_\_container" data-alignment="right" data-width="350px"></div>

**data-alignment** is used to align the field to the right, left, or center **data-width** is used to specify the width of the field, e.g. 350px.

### Basic Theme OS 1.0

For a quick walkthrough, please watch [this tutorial](https://youtu.be/RywrHXet0sE)

### Installation process

1\. Go to the what3words app on the Shopify app store and click on **Install**

2\. From your Shopify admin, go to **Online Store > Themes**

3\. Click  **… > Edit code**

4\. In the **Templates** directory, click **cart.liquid**. Find a suitable place in your theme where you want to use the widget and insert the following code shown below. We recommend placing it above the **checkout** button:

<div id="w3w\_\_\_container" data-alignment="right" data-width="450px"></div>

**Note:** If you have a **cart-drawer.liquid** you could add this code snippet to it, then the what3words address field will be visible on your cart drawer page instead of your cart page.

5\. Click the **I have completed the steps** button to finalise the installation.

### Plus - Checkout Extension

For a quick walkthrough, please watch [this tutorial](https://youtu.be/-acIEiMvchs)

### Installation process

1\. Go to the what3words app on the Shopify app store and click **Install.**

2\. From your Shopify admin left-hand panel, open **Online** **Store** in a new tab to keep the **Installation process** page open.

3\. The page will open on **Themes**, click **Customize**.

4\. In the dropdown menu at the top of the page, select **Checkout**.

5\. Click **Add** **app** **block** in the bottom left and select ‘**checkout-ui-extension**’ by what3words from the list.

6\. We also strongly recommend enabling the following feature:

- ***Store address in notes***

This is to pass what3words addresses on to carriers and order management software.

![shopify-notes](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/49cec7bfb05b136bd4ba47127354a75a5493d4601941ce218495e187894ae7f2.w1600.webp)

7\. Scroll back up and click the arrow at the top of the left-hand panel to **go back** to your sections

8\. Click and drag **checkout-ui-extension** down to below Shipping address.

9\. Click **Save** at the top right of the page.

10\. Return to the **Installation****process** tab and click **I have completed the steps.**

## 3. Customisation and extra features

### Customisable settings

There are several settings that can be altered via the “Settings” page of the app:

**Enable what3words field:** By default, the what3words address field will be visible on your site. Uncheck this to remove the what3words field.

**Enable tooltip**: By default an `(i)` icon will appear next to the field with a tooltip to explain what3words and a link to the what3words Map Site. Uncheck this to remove the icon and tooltip.

**Custom field label**: By default the field label is `what3words address (optional)`. We recommend keeping this as is but it can be changed if desired.

**Custom placeholder**: Changes the placeholder text of the field.

**AutoSuggest Focus**: If the website knows the user’s location then use the location to provide better what3words address suggestions.

**Add what3words address to your Order Notes**: You can easily add the what3words address as an optional note that a shop owner can attach to the order. Currently, the what3words address is added by default as extra information in the `Additional details` section of an order details page.

**Save Recent what3words Addresses:** You can choose whether recent what3words addresses should be saved and shown in the app block, cart snippet and checkout for logged-in customers. When enabled, saved addresses will be suggested for future purchases. Merchants can now save recent what3words addresses within orders by adding what3words order metafields, supporting internal reporting, location analytics, and improved customer experience.

**Clipping options**: Restrict suggestions to a country, circle, bounding box, or polygon

![shopify-basic-settings.png](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/a3baedc594d0d1e8e2213ed3b438b1d7a5a4aaeb06140112f851491069f2508d.w1600.webp)

### Viewing the what3words address for an order

The what3words address is saved against an order within the **Additional Details** section of the order page. This can then be printed on order summaries or exported with orders to pass on to delivery companies.

![Orders Admin page](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/e8cd113aa72bce76d703cb7f6c33baca29155c35e938bf6c7e5e0b9202121ce0.w1600.webp)

### Adding what3words Addresses to Order Notes

To enhance order tracking and reporting, you can add a what3words address as an optional Order notes attached to each order. By default, the what3words address is included as extra information in the `Additional details section` of the order details page. For a more customised setup, consider adding the what3words address to your order notes. This setup not only allows shop owners to easily view and manage precise location data within their order records but also enables seamless transfer of what3words addresses to carriers or any other Order Management Systems (OMS). This supports internal reporting, and location-based analytics, and improves customer experience by simplifying accurate address management and integration with delivery workflows.

![shopify-add-orders-notes](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/ab7a93be98fe6e46edbe0a3a28c20ad7dc066093106057dac11ca93bdf841f19.w1600.webp)

### Saving Recent what3words Addresses to Orders and as Order Metafields

You can allow recent what3words addresses to be saved and displayed in the app block, cart snippet, and checkout for logged-in customers. Here is the settings page of the plugin in a Shopify Plus store:

![shopify-plus-save-recents-on-settings](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/4b2baf8c0c3a9fceb9d3a36ae6593423b86dec53123852d5cdf1d5817c3cd122.w1600.webp)

When enabled, these saved addresses will appear as suggestions for future purchases, enhancing user convenience. Additionally, merchants can save recent what3words addresses within orders by creating a dedicated what3words orders metafield. This enables internal reporting, supports location analytics, and enhances customer experience with streamlined, location-specific data.

Here’s a step-by-step guide to adding an orders metafield for what3words addresses in Shopify:

1\. Access Metafields: Start by navigating to `Settings` and searching for `Metafields`.

2\. Define Metafields: Go to Metafield Definitions and select `Orders` from the list.

3\. Unstructured Metafields: Within Orders, select `View unstructured metafields`.

4\. Add what3words Address: Locate the new definition `what3words.address`. Click `Add Definition`.

5\. Set Name and Description: Provide a clear name (e.g., “what3words Address”) and description (e.g., “Stores the 3 word address for each order”).

6\. Select Data Type: Choose `Single line text` as the data type. You may also add a JavaScript regex for validating the format of a what3words address:

``[^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:£§º©®\s]{1,}[.｡。･・︒។։။۔።।][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:£§º©®\s]{1,}[.｡。･・︒។։။۔።।][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:£§º©®\s]{1,}``

You can find out more on how to find what3words within a text in this [tutorial](https://developer.what3words.com/tutorial/detecting-if-text-is-in-the-format-of-a-3-word-address#ai-llms-no-real-time-autosuggest).

7\. Configure Access Options: In the options section, select **Read** for *Storefront Access* to allow customers to view the address, and **Read and Write** for *Customer Accounts Access* to enable saving and updating addresses. This setup ensures that customer data is secure while allowing necessary access for updates.

8\. Save: Click `Save` to finalise the metafield configuration.

Once saved, return to Orders to see your new what3words order metafield. This field will automatically populate whenever customers add a what3words address, giving merchants easy access to precise location data for order processing and reporting.

![Shopify-add-order-metafield](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/67f1a53d8f289629d91d37dbd5d0e4f91989eddacf45f55181434c48a11d5be7.w1600.webp)

### Enabling the what3words Field in Shop Pay for Shopify Plus (Checkout Extension)

Our checkout extension can now be integrated with Shop Pay for Shopify Plus stores using the checkout extension. Shop Pay offers a fast, secure checkout experience, allowing customers to save their information for streamlined future purchases. By updating the checkout behaviour of the what3words plugin, you can include a dedicated what3word field at the bottom of the Shop Pay form, enabling precise location data collection right at checkout.

Steps to Enable the what3words Field in Shop Pay:

1\. Access Your Checkout Page: Start by navigating to your checkout page in your Shopify admin.  
2\. Locate the what3words App Block: Find the what3words app block within the checkout page configuration.  
3\. Configure Settings:  
• Open the Settings page for the what3words plugin.  
• Go to **Checkout Behavior** and enable the option to **Include App Block in Shop Pay**.  
4\. Preview Shop Pay: Verify that Shop Pay is enabled in your payment settings, then preview the checkout to confirm that the what3words field appears within the Shop Pay form.

Once configured, the what3words field will display on the Shop Pay checkout form, storing the precise 3 word address directly in the order details as standard, ready for use in order processing and reporting.

![shopify-plus-shop-pay](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/a9fe777d53f3063caa57eee9e1de62a52a778d852a3ad9bbed2362995ed247aa.w1600.webp)

### Adding what3words to your order confirmation email

1. Go to the **Dashboard** of the plugin.
2. From your Shopify admin, go to **Settings > Notifications > Order** confirmation.
3. Find the Liquid variable `{{ shipping_address | format_address }}` that references the shipping address.
4. Insert this code immediately below:

    {% if attributes\["what3words address"\] %} 
       <h4\>what3words address</h4\> 
       <p\>{{ attributes\["what3words address"\] }}</p\> 
    {% endif %}

### Adding what3words to your order invoice

1. Go to the **Dashboard** of the plugin.
2. From your Shopify admin, go to **Settings > Notifications > Order** confirmation.
3. Find the Liquid variable `{{ shipping_address | format_address }}` that references the shipping address.
4. Insert this code immediately below:

    {% if attributes\["what3words address"\] %} 
        <h4\>what3words address</h4\> 
      <p\>{{ attributes\["what3words address"\] }}</p\> 
    {% endif %}

### Sharing the what3words address with Order Management Systems

**Note:** This section is for customers that would like to share the what3words address of each order with Order Management Systems.

In Shopify, the what3words address attributes are stored in the customers’ orders of the Shopify Orders REST API as `note_attributes` and also as `note`.

For more information on how endpoints and requests to the Shopify REST ADMIN API, please [follow this guide](https://shopify.dev/api/admin-rest#endpoints).

The API request to make to the Shopify Orders REST API should be: `GET {{your-shopify-site}}/admin/api/2022-07/orders/{{your-order-number}}.json`

The API response should be:

"note": "what3words address: ///filled.count.soap"
"note\_attributes": \[{
    "name": "what3words address",
    "value": "filled.count.soap"
}\]

Another way to display easily what you can retrieve from the Shopify REST ADMIN API is by going to the `Admin page > Orders > (number of order)` and adding at the end of this path `.json`.

For example: `https://<your-store-site>.myshopify.com/admin/orders/4253206970468.json`.

Search for `note` and `note_attributes`, your what3words address will be stored within this parameter.

**Note:** By attaching what3words address to the `note` the store owner can now print shipping labels and packaging slips with the what3words address as a note of the order.

![Shopify Orders API](https://kpcwlqbjuaezxoatdmqy.supabase.co/storage/v1/object/public/devsite-media/wp/3cb4cbb1332aa58f295c806342ee14376427015d4f3cc3e292c58663809474dc.w1600.webp)

### Troubleshooting

If you are stuck with the installation of our plugin or are using a custom theme, you can give our support team collaborator access to your Shopify admin directly through your own Partner Dashboard or using the Shopify app. These collaborator permissions give our support team access to only the sections of your store that you want us to see.

Only the store owner or staff with **Manage collaborator requests** permission, can view collaborator access requests or grant collaborator access to a store.

Otherwise, contact our [support team](mailto:support@what3words.com) they will be able to submit a request to access your store, and you will receive an email about the request and a notification on your Shopify Home. Please make sure you mentioned your store website.

Alternatively, if you have a collaborator request code enabled, then you need to provide the collaborator request code to our [support team](mailto:support@what3words.com).
