Support » Plugin: WooCommerce Quantity Increment » Quantity spinners disappear after click add to cart.

Viewing 2 replies - 1 through 2 (of 2 total)
  • BackuPs

    (@backups)

    It seems to me that the add to cart button in the cart page does not trigger any event. Could this be a woo bug that got into one of the latests build?

    I found another trigger and that fixes the issue. However am i using the right trigger? Is there a better one to act upon?

    If i add this in the quantity-increment.js around line 18

    	$( document.body ).on( 'cart_page_refreshed', function() {
    		wcqi_refresh_quantity_increments();
    	});

    So now i have this

    	$( document ).on( 'updated_wc_div', function() {
    		wcqi_refresh_quantity_increments();
    	} );
    
    	$( document.body ).on( 'cart_page_refreshed', function() {
    		wcqi_refresh_quantity_increments();
    	});
    BackuPs

    (@backups)

    You can download the updated files here

    save this as wc-quantity-increment.js https://pastebin.com/D17NQwnp

    save this as wc-quantity-increment.min.js https://pastebin.com/h3Jfx2Ft

    replace by ftp these same two files in the plugins folder called

    wp-content\plugins\woocommerce-quantity-increment\assets\js

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quantity spinners disappear after click add to cart.’ is closed to new replies.