Switches: "Remove from Cart" or "Undo" Functionalities
We ran into a scenario where we used a switch to toggle whether an add-on item would be added to the cart or not -- but what ended up happening was that every time we toggled it, it would add another instance of it to the cart. There was no way to "undo" this properly
Comments2
Alicia Kranjc
May 14, 2024
Moved this ticket to completed as Replo already offers this functionality as Noah mentioned. Thanks!
Noah Gilmore
May 1, 2024
Great feedback, I believe this is what the "Clear Cart" action is for! Most likely, you'll want to add the Clear Cart before the Add To Cart action, to make sure that other previously-added products don't stay there. Documentation on the clear cart action is here: https://support.replo.app/hc/en-us/articles/17131164161805-Interactions