// auto open the shopping cart when adding a product to the cart jQuery(document).ready(function($){ $( document.body ).on( 'added_to_cart', function(){ $('.elementor-menu-cart__container').addClass('elementor-menu-cart--shown'); }); });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter