Enable Navbar Badges
How-to Guide
Author:
Fluent Commerce
Changed on:
13 Dec 2023
Key Points
- Overview
- Who is this guide for?
- Steps to enable navigation bar badges with an example

Author:
Fluent Commerce
Changed on:
13 Dec 2023

`waves` queryName will show data about waves.`waves` query to filter data. For Example: `processingLocation {ref}` is taken to filter data according to the location.`status` to `PICK`,`PACK`,`DISPATCH`.`Any Number` to show a green color badge if the result is less than this threshold. For Example, 3 (If the result is less than 3, the badge will be green color.)`Any Number` to show a red color badge if the result is more than this threshold. For Example, 5 (If the result is more than 5, the badge will be red color but if the result is between 3 and 5 the badge will be orange.)1"nav": {
2 "label": "i18n:fc.sf.ui.waves.index.nav",
3 "icon": "store",
4 "badge": {
5 "queryName": "waves",
6 "variables": {
7 "processingLocation": {
8 "ref": "{{activeLocation.ref}}"
9 },
10 "status": [
11 "PICK",
12 "PACK",
13 "DISPATCH"
14 ]
15 },
16 "thresholds": {
17 "thresholdHigh": 5,
18 "thresholdLow": 3
19 }
20 }
21 }
`waves` GraphQL query on Waves navigation bar badge.