WordPress.org

Ready to get started?Download WordPress

Forums

button remove item from the cart woocommerce (2 posts)

  1. Internauticos
    Member
    Posted 9 months ago #

    Hi everyone!.
    I want insert one function, when the client add the product in his basket (cart), automatically appears one button, or X for remove from the cart the product.
    If is possible to remove from 1 and 1, for example if you have 4 items, and you push the X for remove then you will have 3 items, and so..

    I think the place where is this function for add this is i
    /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.js
    but for don't touch core files, i make functions for have this file in my template directory.

    Thanks so much for you help ;)
    Best Regards!

  2. amsgator
    Member
    Posted 9 months ago #

Reply

You must log in to post.

About this Topic