The remove button in my cart not working, it takes me to checkout page

When i click remove button for removing items on cart it simply redirects to checkout page without removing items. Please help me to fix this out.

Thanks my website is https://www.peppystamps.com/

@KetanKumar @websensepro @Jasoliya

Hi @herbovedam

i can see its because you taken remove as form chnage it from button to input type from cart page , right now its button so submitting form to cehckout

best regard

Now, nothing is happening, when i click the button, here is the code which I fixed and also the entire car.liquid code please help @websensepro

@Jasoliya



{% unless settings.shipping_calculator == 'Disabled' %}

{{ 'shipping-cart.js' | asset_url | script_tag }}

{% endunless %}

Yes, this kind of button will simply submit the form. I have not found any JS handler as well.

You’d probably want to try this code instead of a button:


    {{ 'cart.general.remove' | t }}

Thanks, it worked, but the button looks disoriented now. please fix the CSS and give me the code, @tim_1

Amended the code above, try it.

Thank You sooo much, everything is fixed now.