I am trying to move the minicart from the header into the header panel. To do this, I need to update the
default.xml file located here:
I believe this is done by copying this file to my local theme directory, here:
However, when making this copy (and no code changes), I am seeing errors related to knockoutjs and the minicart modal no longer renders correctly when the cart is clicked.
That said, changes to this overriding file do correctly render, e.g. renaming the reference container to
header.panel does move the minicart icon.
What am I doing wrong?