cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a duplicate of the minicart container without breaking it!!!

How to create a duplicate of the minicart container without breaking it!!!

What's the best approach to creating a duplicate of the minicart without breaking it?

1 REPLY 1

Re: How to create a duplicate of the minicart container without breaking it!!!

The minicart is initialised with HTML selectors, you would need to add some JS to register your new minicart and make sure that it had it's own independent selectors: https://github.com/magento/magento2/blob/9c14af7a97bcf338662de365d2613c7ca9dbf8c6/app/code/Magento/C...

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!