• Resolved Erik Losjist

    (@teaterlosjenn)


    Good day!
    I’m fairly new to this and so this might be an easy or stupid question, but I just can’t find any answers (or other people looking for the same thing??) anywhere. Maybe I just don’t know how to phrase it, so I’m trying here.

    Think of it this way.

    If a user adds a product to the cart I want there to be a button on the singular product page that can remove the product from the cart.

    It doesn’t have to be fancy, it could actually just be the same button as I have in the cart or it could be something completely different.
    It doesn’t even have to tell how many of the products you currently have in the cart. I just want it to be like the add to cart button, but that it just somehow turns to a remove item after you’ve added it.

    Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    Can you share a bit more on the use-case here? Usually, shop owners are keen to add products to the shopping cart (more sales) instead of removing products. With that said, removing a product from the cart can be done on the cart page itself. Here’s what that looks like on my local testing website:


    Link to image: https://d.pr/i/yciznd

    Thread Starter Erik Losjist

    (@teaterlosjenn)

    Hi there @riaanknoetze !
    Thank you for such a fast response. I’m truly impressed.

    I am building a shop for very specific artistic services where most of the time you would only purchase one single item at a time. So I’m trying to avoid the actual cart as much as possible, however, there will be cases where it is necessary. So it will (sometimes) be left as the last step of the user flow and never in between products.

    This is why I’m looking for a way to “remove this specific product” on its respective singular product page. Is there a way to copy that button from the cart and just place it on the product page instead?

    I don’t know much about coding, but maybe this is possible to do with a URL string and just place a button that targets the current product ID and > removes it from the cart?

    Hi @teaterlosjenn

    I understand your goal. However, there isn’t an easy solution to add “Remove product from cart” button to the single product page. This is something that would require some custom coding. We recommend getting in touch with a web developer or one of the services listed here to have that custom developed for you.

    Hi @teaterlosjenn

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding a “Remove product from cart” button?’ is closed to new replies.