All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
34 views

Reorganizing the header on the default.xml of Magento 2

I was using Magento 1.9 and now I'm migrating to Magento 2. I ready Magento devdocs for frontend and tried a lot of things but none works for me. Probably I forgot some details but I'm completely ...
1
vote
2answers
2k views

Xml Element reference is not allowed here

I am new to Magento & I am using Magento version 2.1.7 in my Windows 8.1 system with Xampp while creating a new module I am getting an error in my XML file located in the app/code/vendor/module/...
2
votes
2answers
2k views

Magento 2 - Custom Homepage block not showing

I have developed a custom homepage layout and applied to the homepage. I've tried to add a created block in Magento_theme/templates/html/homepage.html but it is not displaying. Can anyone check ...
1
vote
1answer
453 views

Magento 2 Layout XML <container> “as” attribute

What exactly is the "as" attribute in <container> for in a layout xml? When do I need to reference this one contrary to "name"? <container name="sidebar.additional" as="sidebar_additional" ...
11
votes
1answer
11k views

Magento 2: How to add text within container via XML

I am attempting to render a single line of text prior to a Link list in the footer. Creating a template file to do this seems to be a waste of resources for this task. As I understood it, I could ...
1
vote
1answer
1k views

What referenceContainer are the product page breadcrumbs in?

I want to add a banner to the top of all the product pages. So far I've added <referenceContainer name="columns.top"> to the default.xml that links to my template file. This displays the ...