Author:
Esma Tuzovic
Changed on:
5 June 2024
This video demonstrates Fulfilment filtering, Wave summary, and Wave creation.
This guide is designed for Implementers who are enabling Store Associates to select Fulfilments to add to Waves.
You need to make sure you have the latest Fulfilment Module installed, you will then have access to the `CreateWaveByFulfillmentIds`
There are two ways to add the CreateWaveByFulfillmentIds rule to the Location workflow:
Option 1: Update to version 2.0.2 or above of the Location workflow contained in the Fulfilment Module
The following how-to guide Adding a Workflow to your Retailer via API provides instructions on updating a workflow. You can find the locations workflow to upload within the Fulfilment Module zip file.
Option 2: Add the rule to a new ruleset in your existing Locations workflow
An example of how to configure the ruleset can be found on the CreateWaveByFulfilmentIds page under the Configuration Example section.
Otherwise, you can manually construct a ruleset:
`CreateWaveByFulfillmentIds`
`FULFILMENT_IDS`
In the desired location you would like the Store Associate to launch the Wave Creation process from add an action extension of
`type`
`navigation`
In the below example, an action extension has been added to the 'CreateWaveByUserSelection' action in the waves manifest that will enable a Store Associate to launch the Wave creation functionality from the dashboard in Fluent Store.
In this example, '/waves/create' is specified as the URL suffix that the user will land on.
1"actions": {
2 "primary": [
3 {
4 "type": "userAction",
5 "label": "i18n:fc.sf.ui.wave.createWave.createCustomWave",
6 "name": "CreateWaveByUserSelection",
7 "extensions": {
8 "action": {
9 "type": "navigate",
10 "link": "/waves/create"
11 }
12 }
13 }
14 ]
15}
Language: json
Name: Page action link
Description:
[Warning: empty required content area]This step causes a ‘Create Custom Wave' button to now appear on the Waves page of Fluent Store:
At this stage, when clicking onto the page action, the following screen will not work yet as it has not been configured.
To display the Wave creation form, add a new page in your manifest fragment with the URL you specified earlier. By default, this will be
`/waves/create.`
In the example below a snippet is provided defining a new page for the Waves manifest fragment. This is a 1-step wizard page that is associated with the URL path '
`/waves/create`
In the
`actions`
`CreateWaveByUserSelection`
As the Fulfiment List Field Component has a summary, the Wizard page is configured to show a summary alongside the Wizard form field.
You can also configure all the properties available in the Wizard Component here. For example, you can update the width of the Summary.
1{
2 "type": "page",
3 "path": "waves/create",
4 "fullScreen": true,
5 "component": "fc.page.wizard",
6 "props": {
7 "actions": true,
8 "closePath": "waves",
9 "steps": [
10 {
11 "title": "i18n:fc.sf.ui.wave.createWave.createCustomWave",
12 "icon": "MdShoppingBasket",
13 "action": {
14 "name": "CreateWaveByUserSelection",
15 "config": {
16 "noSuccessMessage": false,
17 "extension": {
18 "postSubmit": {
19 "type": "navigate",
20 "link": "/waves/{{wavesInProgress.edges.0.node.id}}"
21 }
22 }
23 }
24 },
25 "descendants": [
26 {
27 "component": "fc.page.wizard.summary",
28 "props": {
29 "noCard": true,
30 "width": 5,
31 "sticky": true
32 }
33 },
34 {
35 "component": "fc.page.wizard.action",
36 "props": {
37 "width": 7
38 }
39 }
40 ]
41 }
42 ]
43 },
44 "data": {
45 "query": "query ($locationRef: String!, $status: [String]!, $locationId: ID!) { locationById(id: $locationId) { ref } wavesInProgress: waves(processingLocation: {ref: $locationRef}, status: $status) { edges { node { id ref status location { id ref } } } } }",
46 "variables": {
47 "locationId": "{{activeLocation.id}}",
48 "locationRef": "{{activeLocation.ref}}",
49 "status": [
50 "PICK"
51 ]
52 }
53 }
54}
Language: json
Name: Wizard component for CreateWaveByUserSelection
Description:
[Warning: empty required content area]After adding this snippet to the waves manifest fragment, clicking on “Create Custom Wave” will navigate the user to this page:
For any additional properties, you can extend fc.mystique.fields.fulfilmentlist with more customizable keys. Please refer to this article for detailed information: Fulfilment List Field Component.
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.