Other than that, this guide just requires you to have a running plugin installed, e.g. our plugin from the plugin base guide:
Plugin Base Guide
Imagine we wanted to exclude the
// <plugin root>/src/Resources/app/storefront/src/main.js window.PluginManager.deregister('OffCanvasCart', '[data-offcanvas-cart]');
After building the Storefront anew, you shouldn't be able to open the offcanvas cart anymore. Another useful way of testing this is using your browser's devtools. Just open your devtool's console and type in
PluginManager.getPluginList() in order to get a list of all registered plugins.
In our case, we shouldn't find
OffCanvasCart in the listed plugins anymore.
Did you already take a look at our other storefront guides? They can give you some neat starting points on how to extend and customize Shopware's storefront.