You can do it in the following ways:
- When you click on the “Add” button, go to (“Navigate to” action) the screen with the “Basket with badge” icon.
- Or create a component set, which should contain Variant 1: “Add” button and “Empty Basket”; Variant 2: “Add” or “Remove” button and “Basket with a badge”, in which, when you click on the “Add” button, Option 1 will change to Option 2.