I'm completely new (like 3 days in) to Magento Development so I apologise in advance if i'm asking a silly question!
I've really struggled to find a good magento course online so now i'm at the stage of trying to figure it out myself (which is probably a bad idea, but if someone can point me in the direction of a great course, i'm all ears)
I'm currently trying to access my store information inside a custom template file
and i'm including it inside my
default.xml file like this
<referenceContainer name="header.panel"> <container name="custom.header.top" htmlTag="div" htmlClass="name-number"> <block class="Magento\Framework\View\Element\Template" name="custom.header.top.content" template="Magento_Theme::top_header.phtml" before="-" /> </container> </referenceContainer>
I have had a look at guides online such as
The bits of courses I have done haven't even mentioned the
code directory yet. How can I implement something like this to access my store information in my
If someone could explain to me how it works, i'll be forever in your debt!