In Shopware 5, under Responsive/public/src/js you could find all js files of the theme. Where are the js files of Shopware 6 ?
hey,
have a look here: platform/src/Storefront/Resources/app/storefront/src at 6.1 · shopware/platform · GitHub
Best regards from Schöppingen
Michael Telgmann
Thank you, do you also know where is the implementation for the shopping card icon click? When the offcanvas shopping card is being opened after click [@Michael Telgmann](http://forum.shopware.com/profile/17553/Michael Telgmann „Michael Telgmann“) ?
Hello,
just have a look at the template file: platform/buy-widget-form.html.twig at 6.1 · shopware/platform · GitHub
There you could find a data attribute on the form element. This usually is an indicator for a Javascript plugin which is set to this element. If you now search in the main.js file which is located in the directory, I showed you before, you will find this line: platform/main.js at 6.1 · shopware/platform · GitHub Here is the plugin registered to the HTML element. If you now go up a bit in the main.js file you will find this line: platform/main.js at 6.1 · shopware/platform · GitHub Here is the plugin imported and you see the file from where it is imported. Which is this one: platform/add-to-cart.plugin.js at 6.1 · shopware/platform · GitHub
I hope this makes the structure more clear and will help you to find the specific files you need on your own
Best regards from Schöppingen
Michael Telgmann
Thank you for your fast feedback!