• Resolved Genbuz

    (@buznetwork)


    Hi first thanks for the plugin it saved me having to code one myself, I am however having a little issue, I have some code snippet for adding the plus and minus button to either side of the quantity input and they work great on the product page however I cant get them to load on the quick view

    I am not great at jquery but what I think is that I need a trigger so I can call the script to add the button after the quick view has loaded.

    I have tried the following in my js code but to no avail, can you help on this

    
    	$(document).on('openQuickViewPopup', function() {
    		woocommerce_custom_quantity();// my function to add plus minus buttons
    	})
    

    Kind regards

    Wayne

Viewing 1 replies (of 1 total)
  • Thread Starter Genbuz

    (@buznetwork)

    Hi no need to worry got it working with the following

    // Make the code work after executing AJAX.
    $(document).ajaxComplete(function () {
    	woocommerce_custom_quantity();
    });

    Thanks for the plugin.

    Kind regards

    Wayne

Viewing 1 replies (of 1 total)
  • The topic ‘Quantity buttons not showing’ is closed to new replies.