what3words / module-what3words
what3words/module-what3words
Module adding custom shipping attribute for what3words address
what3words Magento 2 Extension
v.1.0.1 Updated 01/07/19
Configuration
- Found under 'what3words' in Store Configuration
- Enable and enter your what3words API key - http://accounts.what3words.com/register
- Choose which countries to display the field to
- Choose your display settings
Frontend usage
- Displays in customer address book and with autosuggest plugin while editing a customer address
- Displays with autosuggest plugin in shipping form in checkout
- Validates input based on country, regex match and existence in the what3words database
- Shows against orders in customer account area
Admin usage
- Displays against orders
- Displays against possible shipments
- Prints onto shipment labels
- Can be added to a customer address by an admin user without autosuggest plugin
- Despite the lack of plugin, the above will still run through the same validation as the frontend
Technical and data storage
- Stores to 3 tables throughout a w3w lifecycle - quote, order and customer.
- Saves to w3w_sales_quote from shipping address form via a JS mixin and AJAX call
- Saves to w3w_sales_order from order placement via an Observer
- Saves to w3w_customer_address from the above two, from the customer account area and from the admin
- A customer address attribute is required to edit this value from the admin; this is populated with a plugin in the above areas.
Implementation
- Field is added to checkout with a LayoutProcessorPlugin linked to a JS component,
shipping.js. - Field is added to customer form using an HTML script tag, appended with jQuery. This is linked to a JS component,
customer/edit.js. - Custom jQuery validation system is used to handle AJAX results.
- The
SaveToVarcharplugin handles saving the address attribute. - The
AddressRendererPluginhandles displaying the saved 3 word address against addresses on orders.
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 4.0.1 | stable | Fail | 2025-07-10 11:40:30 |
| 3.0.12 | stable | Not tested | 2024-09-04 07:23:29 |
| 3.0.11 | stable | Not tested | 2024-08-20 08:50:20 |
| 3.0.10 | stable | Not tested | 2024-07-11 13:18:53 |
| 3.0.9 | stable | Not tested | 2024-02-08 16:39:10 |
| 3.0.8 | stable | Not tested | 2024-02-07 17:00:29 |
| 3.0.7 | stable | Not tested | 2023-08-28 11:20:42 |
| 3.0.6 | stable | Not tested | 2023-08-12 09:31:46 |
| 3.0.5 | stable | Not tested | 2023-07-02 20:45:18 |
| 3.0.4 | stable | Not tested | 2023-06-16 15:07:28 |
| 3.0.2 | stable | Not tested | 2023-01-31 14:11:44 |
| 3.0.1 | stable | Not tested | 2022-08-31 18:41:38 |
| 3.0.0 | stable | Not tested | 2022-07-05 13:03:35 |
| 2.0.4 | stable | Not tested | 2021-12-22 07:30:38 |
| 2.0.3 | stable | Not tested | 2021-02-01 13:39:32 |
| 2.0.2 | stable | Not tested | 2020-08-28 12:19:52 |
| 2.0.1 | stable | Not tested | 2020-06-10 09:43:19 |
| 2.0.0 | stable | Not tested | 2020-05-21 10:32:47 |
| 1.0.3 | stable | Not tested | 2019-07-25 14:35:51 |
| 1.0.2 | stable | Not tested | 2019-07-05 13:24:45 |
| 1.0.1 | stable | Not tested | 2019-07-01 10:51:14 |
| 1.0.0 | stable | Not tested | 2018-06-06 15:06:16 |
Requires 2
| Package | Constraint |
|---|---|
| magento/framework | ^102.0.0 || ^103.0.0 |
| php | ~8.1.0||~8.2.0||~8.3.0||~8.4.0 |
No QA results yet
QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.