Update cart drawer without refreshing page

html code for remove button:


Hi there,
I m learning ajax with jquery cart api, i have cart where remove button is there that removes multiple line items for individual product. Above scripts helps in removing multiple cart items but it refreshes the whole page. Can anyone please provide solution when i press remove button cart do not refreshes automatically yet it update cart drawer and remove cart line.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.