diff --git a/CHANGELOG.md b/CHANGELOG.md index f761936..b374936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,16 @@ # Changelog +## 2.0.3 - 2023-09-27 + +### Added + +- Support for setting a custom phone number field that will be included within the address info sent to Shipstation + ## 2.0.2 - 2023-09-01 ### Fixed - Fixed issue where custom shipping methods were not showing up in generated XML ([#54](https://github.com/FosterCommerce/shipstation-connect/pull/54)) - ## 2.0.1 - 2022-07-19 ### Added diff --git a/README.md b/README.md index 9ded80f..228f708 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ![Screenshot](resources/img/new-plugin-header.png) -# ShipStation Connect for Craft CMS 3 and Commerce 2/3 +# ShipStation Connect for Craft CMS 4 and Commerce 4 A plugin for Craft Commerce that integrates with a ShipStation Custom Store. ## Requirements -This plugin requires Craft CMS 3 and Commerce 2 or later +This plugin requires Craft CMS 4 and Commerce 4 or later ## Installation @@ -115,6 +115,13 @@ plugin will add the shipping information to the Shipping Information field on the order and set the order to the Craft status paired with your ShipStation stores Shipped status. + +## Adding phone numbers to addresses sent to Shipstation + +Addresses are now part of Craft rather than Commerce, and the Phone number field was dropped from the address model. It is now necessary to add a custom field to the Address fields to store phone numbers. + +The plugin setting gives you the option to set the field handle that you are using for phone numbers. The contents of this field will then be sent to Shipstation within the address portions of the order data. + ## Custom Fields You can customize the data that is sent to ShipStation by listening to the `OrderFieldEvent` event in a custom module or plugin, and set the values that you want per field, like in the following example: diff --git a/composer.json b/composer.json index d453dd3..646e0ee 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "A Craft CMS plugin for integrating Craft Commerce with ShipStation", "homepage": "https://github.com/fostercommerce/shipstation-connect", "type": "craft-plugin", - "version": "2.0.2", + "version": "2.0.3", "keywords": ["craft","plugin","shipstation"], "license": "proprietary", "support": {