Remove multiple products from cart together

Remove multiple products from cart together

TestBinary
Shopify Partner
2 0 0

I want to add loader untill multiple products removing from cart?
how can i do that can anyone help ?

Replies 2 (2)

Sam_Cnet
Shopify Partner
129 3 6

Hi @TestBinary,

 

You can use JavaScript addEventListener()

 

Look for the class name of the remove button and use the event listener to display a loading gif. Another option is to hook onto Ajax calls.

Lead Developer @ Achieve Applabs.
https://achieveapplabs.com
TestBinary
Shopify Partner
2 0 0

I am using checkout Ui extension,  so i can't use addEventListener() & class .
Do you have any solution using checkout Ui extension ?