Add/Remove item from cart list

Hey guys,

I created an action that takes some values from the product slice, change the text format (bold/sub) and add to the cart list on one click. Once the item is added, is it possible to create another action to delete the item from the cart by clicking again?

Here is how I made the ADD action:

COPEN_0-1685558827847.png

COPEN_1-1685558854420.png

COPEN_2-1685558891004.png

Thank you!

 

0 1 226
1 REPLY 1

Use an 'execute an action on a set of rows' type action, to run a delete action on the existing cart record.

Top Labels in this Space