Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having the same issue. My Empty Cart button was working fine until I updated to the latest Woocommerce. When I click “?mpty Cart” there is no response.

    sdbish

    (@sdbish)

    I have the same problem. Empty cart button not working. Using woocommerce and woo storefront theme if that matters. here is my shop:
    https://www.airgunproshop.com/shop/

    BillMc

    (@billmc)

    Just discovered my empty cart button is broken too.

    mireillechiroleu

    (@mireillechiroleu)

    Mine is also broken.

    This is good to know, thank you guys, saved me a lot time to figure out what was wrong with my webpage but it’s WooCommerce Poor Guys Swiss Knife that needs an update ;).

    Hi guys, had same problem & resolved. Issue arises because WC-PGSK use hook woocommerce_after_cart_table for empty buttons, which falls outside form. Here what works for me:

    – Copy woocommerce/templates/cart/cart.php to your theme as woocommerce/cart/cart.php
    – Modify theme cart.php, moving div cart-collaterals block into form like this:

    <div class="cart-collaterals">
    	<?php do_action( 'woocommerce_cart_collaterals' ); ?>
    	<?php woocommerce_cart_totals(); ?>
    </div>
    </form>

    Hope this helps

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cart Settings: Add empty cart button’ is closed to new replies.