Fluent Commerce Logo
Docs
Sign In

Hide UserAction button via OMS Manifest

How-to Guide

Author:

Randy Chan

Changed on:

1 May 2025

Key Points

  • The below example demonstrates how to hide a specific user action button via OMS manifest setup in Fluent OMS or STORE.

Steps

Step arrow right iconHiding an specific user Action Button on the UI

Here is the waves screen, which displays two user action buttons:

CREATE WAVE BY EXPIRY

CREATE CUSTOM WAVE

No alt provided

Let's say I would like to hide the CREATE WAVE BY EXPIRY button temporarily but do not wish to update the workflow.  This can be achieved by updating the page manifest with    

`"condition": "{{and false}}",`

No alt provided


1"actions": {
2    "primary": [
3        {
4            "type": "userAction",
5            "label": "i18n:fc.sf.ui.wave.createWave.createWaveByExpiry",
6            "name": "CreateWaveByExpiry",
7            "condition": "{{and false}}",
8            "extensions": {
9                "postSubmit": {
10                    "type": "navigate",
11                    "link": "/waves/{{wavesInProgress.edges.0.node.id}}"
12                }
13            }
14        }
15    ]
16}

Language: json

Name: "condition": "{{and false}}",

Description:

            "condition": "{{and false}}", in userAction section


No alt provided