• Resolved StudioWorks

    (@studioworks)


    Hello,
    I have been trying to figure out something today and I was unable to do so. I am trying to add the possibility for the user to remove a product directly from the mini cart as well as allowing the user to change the quantity of the product.

    Right now my mini cart only contains the product, a checkout button, and it displays the total.

    Can you please point me in the right direction ?

    • This topic was modified 7 years, 2 months ago by StudioWorks.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter StudioWorks

    (@studioworks)

    Nobody ?

    The WooCommerce mini-cart comes with a delete-item cross against each mini-cart item, and a proceed-to-cart button, so it sounds like you have a custom implementation, probably from your theme.

    To change the mini-cart, you’ll need to copy
    themes/your-parent-theme-name/woocommerce/cart/mini-cart.php
    or
    plugins/woocommerce/templates/cart/mini-cart.php
    to
    themes/your-child-theme-name/woocommerce/cart/mini-cart.php
    and recode the copy. You’ll need some Javascript to listen for user changes and, if so, send an ajax call to the server to update the cart.

    PHP and Javascript skills or a developer will be needed.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add remove product & update quantity in the mini cart’ is closed to new replies.