Changed on:
7 Sept 2023
`ExtendedAddressInput`
Plugin Name | Core |
---|
The standard library of mystique components.
Initial changelog entry.
ExtendedAddressInput
Step 1. Configure Workflow:
`"EXTENDEDADDRESS"`
1"rulesets": [
2 {
3 "name": "OrderAddressChange",
4 "description": "Order address is changed from admin console",
5 "type": "ORDER",
6 "subtype": "HD",
7 "eventType": "NORMAL",
8 "rules": [
9 {
10 "name": "<ACCOUNTID>.order.ChangeOrderDeliveryAddress",
11 "props": null
12 }
13 ],
14 "userActions": [
15 {
16 "attributes": [
17 {
18 "name": "deliveryAddress",
19 "label": "Address",
20 "type": "EXTENDEDADDRESS",
21 "source": "",
22 "defaultValue": "",
23 "mandatory": false
24 }
25 ]
26 }
27 ]
28 }
29 ]
30}
Language: json
Name: Example
Description:
[Warning: empty required content area]Step 2. Configure Manifest (
`fc.mystique.manifest.oms.fragment.ordermanagement`
`deliveryAddress`
`deliveryAddress`
None
1{
2 "type": "userAction",
3 "name": "OrderAddressChange",
4 "overrides": {
5 "deliveryAddress": {
6 "defaultValue": {
7 "companyName": "{{orderById.fulfilmentChoice.deliveryAddress.companyName}}",
8 "name": "{{orderById.fulfilmentChoice.deliveryAddress.name}}",
9 "email": "{{orderById.fulfilmentChoice.deliveryAddress.email}}",
10 "street": "{{orderById.fulfilmentChoice.deliveryAddress.street}}",
11 "street2": "{{orderById.fulfilmentChoice.deliveryAddress.street2}}",
12 "city": "{{orderById.fulfilmentChoice.deliveryAddress.city}}",
13 "postcode": "{{orderById.fulfilmentChoice.deliveryAddress.postcode}}",
14 "state": "{{orderById.fulfilmentChoice.deliveryAddress.state}}",
15 "country": "{{orderById.fulfilmentChoice.deliveryAddress.country}}"
16 }
17 }
18 }
19}
Language: json
Initial changelog entry.
This component was designed to be used on order details page.
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.