Streaming live at 10am (PST)

Ecommerce Shopping Cart - "Empty Cart" or "Clear Cart" button

Hello,

Does anyone have any idea of how clear all items in the shopping cart? I’m thinking of either a way to clear the users cache or a buttons that reloads the page and empties the shopping cart.

Any help would be great, thanks


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

hey did you find out how to do this… I’ve been struggling with this

Can any one help with doing this please?? I don’t mind custom code or anthing. I just want a feature where I can clear basket as I get more and more clients who keep asking why the clear basket option is not integrated in the shopping cart. Any help please? @WebDev_Brandon @rileyrichter

:wave: I wrote a free plugin that clears the cart!

Just create a free account on the Flow Phantom Dashboard, authorize your site, and then follow the instructions to install the “Clear Cart” tool.

I added the plugin to my demo website Flow Phantom if you want to see what it looks like.

Let me know if there any issues with it, I’m happy to help!

2 Likes

Amazing.

I kinda gave up on the feature. But that works perfectly when I tried the implementation. Thank you soo much, youre a lifesaver

1 Like

Yes Thank you HEAPS! Lifesaver :wink:

1 Like

Can i Implement this bootstrap shopping cart in my Shopify eCommerce website?

Hi Andrew,

Is it possible to clear just one product?

Thanks

Hi Andrew,

Is it possible to clear just one product?

Thanks

Hey Sebastiao!

Just to make sure I understand you correctly, I wanted to clarify. When you say “one product” do you mean one item in the cart? If that’s the case Webflow has a built in “Remove” button in the cart component. As seen here: Cart Component .

Or do you mean all the items in the cart that fall under one product? For example clear all sizes under the product “t-shirt”?

1 Like

Hey Andrew,

Thank you for your answer!

I needed to create a button that would remove products from the cart. Not a normal button, a button outside the cart that removes the selected product.

I leave here a video:
https://share.vidyard.com/watch/LE7kJmfhHD2VpN9JtrWJfj?

Share link:

Thank you very much

Can anyone help? It’s really important

This doesn’t seem to work any longer. Not even on the demo site.

Hey @tag915 !

I updated my original post (see solution above) to show you how to access the tool. I ended up just making it a free tool in the Flow Phantom Dashboard. If you have issues setting up let me know!