Drawer methods

Open the Drawer

jQuery( document).ready( function( $ ){
    $( '#whatever' ).on( 'click' , function() {
        window.CartPops.drawer.show();
    });
});

Closer the Drawer

jQuery( document).ready( function( $ ){
    $( '#whatever' ).on( 'click' , function() {
        window.CartPops.drawer.hide();
    });
});

It's time to improve your WooCommerce Cart

CartPops is a WooCommerce Add To Cart Popup, that helps every shop owner improve their user experience, increase conversions & maximize profits.

Was this page helpful?