Home › Forums › Support › Slide out shopping cart menu This topic has 5 replies, 2 voices, and was last updated 1 year, 8 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 19, 2019 at 8:56 pm #873944 blademike Hi, How do I enable the woocommerce shopping cart menu on the menu to be slide out instead of going to the cart page when clicked. April 20, 2019 at 9:11 am #874380 TomLead Developer Lead Developer Hi there, So if you click the cart icon in the menu, it would open the off canvas panel? Let me know ๐ April 23, 2019 at 5:34 pm #877054 blademike Hi Tom, Yes, correct. April 24, 2019 at 7:21 am #877682 TomLead Developer Lead Developer Try adding this function: add_action( 'wp_enqueue_scripts', function() { $script = "jQuery( document ).ready( function($) { $( '.wc-menu-item a' ).on( 'click', function( e ) { e.preventDefault(); generateOffside.open(); } ); } );"; wp_add_inline_script( 'generate-offside', $script ); } ); Let me know ๐ August 22, 2022 at 8:21 am #2320274 johnaps How can we add the cart contents to show on the off canvas menu?? Edit (never mind i found a custom way) August 22, 2022 at 9:51 am #2320375 LeoStaff Customer Support Glad to hear. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) The topic ‘Slide out shopping cart menu’ is closed to new replies.