Defining the Action in UI Design
- Log in to the Kuika platform.
- Select your project from the Apps screen.
- Go to the UI Design module.
- Open the screen where you want to check the basket (e.g. Home Page, Basket Button, Checkout Screen).
- Add an action to a suitable element (e.g. a button whose visibility is conditional).
- + ADD ACTION → select the appropriate trigger (Initial Actions, OnClick, etc.) → Bag → Bag Has Key action.
Configuring Action Parameters
- Bag Key (Required – Symbol Picker): The key of the cart whose existence will be checked. For example:
- ‘default’
- currentUser.id + “_bag”
- screenInput.selectedCategory + ‘_bag’
- Bag Key should be obtained dynamically via Symbol Picker based on the user or the situation.