How to hide button for particular time period
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 06:04 AM
Hiding the button according to the stores closing and opening timing on SNOW and stores timings is dynamic but the timing is in string . Can any suggest me how can I write the script in UI action.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 11:22 AM
@Manu Shukla Create a Script Include in which define a function checkStoreTiming:function(). In this function compare the store timing with the current time and return true/false based on the evaluation. In the condition field of your UI Action call the script include method.