"This is an interesting scenario! For decrementing the line item quantity, you might need to listen for a different broadcast action, such as one specifically for quantity updates or item changes. If Clover doesn’t provide a direct action for this, you could track the changes by maintaining the previous state of the cart and comparing it whenever you receive a broadcast action like com.clover.intent.action.LINE_ITEM_UPDATED
. This way, you can determine if the change was an increment or decrement.
For more insights and helpful discussions, check out Anitalks Official!"
3 People are following this question.