magento 2 Infortis ultimo theme display category tree menu on the left of the search result page Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Product view and search result on the sameMagento 2: Hook into price display on category pageMagento 2.x Layered Navigation in Advance Search Resultleft bar is not showing any content in it just showing the place ofMagento 2 Layered Navigation in Advance Search ResultSearch result page not displaying items defined in different default.xml files for themeMagento 2 - Layered Navigation is not coming on search pagesChanging the layout of the product category page by editing an XML fileMagento2.3 - Layout Updates in Child Theme don't workcatalog_product_view.xml is loading from vendor folder, instead of theme folder
What is the numbering system used for the DSN dishes?
Book with legacy programming code on a space ship that the main character hacks to escape
State of Debian Stable (Stretch) Repository between time of two versions (e.g. 9.8 to 9.9)
Where did Arya get these scars?
Putting Ant-Man on house arrest
Is there a verb for listening stealthily?
Writing a T-SQL stored procedure to receive 4 numbers and insert them into a table
Mistake in years of experience in resume?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
AI positioning circles within an arc at equal distances and heights
What to do with someone that cheated their way though university and a PhD program?
Trigonometric and Exponential Integration
What was Apollo 13's "Little Jolt" after MECO?
401(k) cost basis
Align column where each cell has two decimals with siunitx
Why did Europeans not widely domesticate foxes?
"Working on a knee"
What is the ongoing value of the Kanban board to the developers as opposed to management
Where to find documentation for `whois` command options?
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
Second order approximation of the loss function (Deep learning book, 7.33)
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Do I need to protect SFP ports and optics from dust/contaminants? If so, how?
Is it OK if I do not take the receipt in Germany?
magento 2 Infortis ultimo theme display category tree menu on the left of the search result page
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Product view and search result on the sameMagento 2: Hook into price display on category pageMagento 2.x Layered Navigation in Advance Search Resultleft bar is not showing any content in it just showing the place ofMagento 2 Layered Navigation in Advance Search ResultSearch result page not displaying items defined in different default.xml files for themeMagento 2 - Layered Navigation is not coming on search pagesChanging the layout of the product category page by editing an XML fileMagento2.3 - Layout Updates in Child Theme don't workcatalog_product_view.xml is loading from vendor folder, instead of theme folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am using the Infortis ultimo theme, in the included feature, i was able to add the category tree menu on the left bar of each category page, but how can i add it to the search result page?
is this something i can find using template hint & add to the layout file in Magento_CatalogSearch/layout/catalogsearch_result_index.xml
?
the shortcode to add it to the CMS Page or Static Block is this, how do I use it to add to the search result page?
block class="InfortisUltraMegamenuBlockNavigation" template="categories.phtml" parent="X"
depth="X" block_name="X"
magento2 layout search category-tree ultimo
add a comment |
I am using the Infortis ultimo theme, in the included feature, i was able to add the category tree menu on the left bar of each category page, but how can i add it to the search result page?
is this something i can find using template hint & add to the layout file in Magento_CatalogSearch/layout/catalogsearch_result_index.xml
?
the shortcode to add it to the CMS Page or Static Block is this, how do I use it to add to the search result page?
block class="InfortisUltraMegamenuBlockNavigation" template="categories.phtml" parent="X"
depth="X" block_name="X"
magento2 layout search category-tree ultimo
add a comment |
I am using the Infortis ultimo theme, in the included feature, i was able to add the category tree menu on the left bar of each category page, but how can i add it to the search result page?
is this something i can find using template hint & add to the layout file in Magento_CatalogSearch/layout/catalogsearch_result_index.xml
?
the shortcode to add it to the CMS Page or Static Block is this, how do I use it to add to the search result page?
block class="InfortisUltraMegamenuBlockNavigation" template="categories.phtml" parent="X"
depth="X" block_name="X"
magento2 layout search category-tree ultimo
I am using the Infortis ultimo theme, in the included feature, i was able to add the category tree menu on the left bar of each category page, but how can i add it to the search result page?
is this something i can find using template hint & add to the layout file in Magento_CatalogSearch/layout/catalogsearch_result_index.xml
?
the shortcode to add it to the CMS Page or Static Block is this, how do I use it to add to the search result page?
block class="InfortisUltraMegamenuBlockNavigation" template="categories.phtml" parent="X"
depth="X" block_name="X"
magento2 layout search category-tree ultimo
magento2 layout search category-tree ultimo
edited Mar 20 at 17:12
Kris Wen
asked Mar 20 at 0:36
Kris WenKris Wen
1739
1739
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I was able to make the category tree shows in the search result page by copying the catalogsearch_result_index.xml
layout file to the ultimo theme folder with the following content:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<!-- add category to left -->
<referenceContainer name="sidebar.main">
<block class="InfortisUltraMegamenuBlockNavigation" before="-" template="categories.phtml"/>
</referenceContainer>
</body>
</page>
Since I was not able to assign the "parent" "depth" and "block_name" values in the XML file above. I then duplicate the "categories.phtml" and create a new template called "categories_searchresult.phtml" and assign the value of "parent" "depth" and "block_name" directly into the template file. Finally, change the template path in the xml to the new one.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266585%2fmagento-2-infortis-ultimo-theme-display-category-tree-menu-on-the-left-of-the-se%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I was able to make the category tree shows in the search result page by copying the catalogsearch_result_index.xml
layout file to the ultimo theme folder with the following content:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<!-- add category to left -->
<referenceContainer name="sidebar.main">
<block class="InfortisUltraMegamenuBlockNavigation" before="-" template="categories.phtml"/>
</referenceContainer>
</body>
</page>
Since I was not able to assign the "parent" "depth" and "block_name" values in the XML file above. I then duplicate the "categories.phtml" and create a new template called "categories_searchresult.phtml" and assign the value of "parent" "depth" and "block_name" directly into the template file. Finally, change the template path in the xml to the new one.
add a comment |
I was able to make the category tree shows in the search result page by copying the catalogsearch_result_index.xml
layout file to the ultimo theme folder with the following content:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<!-- add category to left -->
<referenceContainer name="sidebar.main">
<block class="InfortisUltraMegamenuBlockNavigation" before="-" template="categories.phtml"/>
</referenceContainer>
</body>
</page>
Since I was not able to assign the "parent" "depth" and "block_name" values in the XML file above. I then duplicate the "categories.phtml" and create a new template called "categories_searchresult.phtml" and assign the value of "parent" "depth" and "block_name" directly into the template file. Finally, change the template path in the xml to the new one.
add a comment |
I was able to make the category tree shows in the search result page by copying the catalogsearch_result_index.xml
layout file to the ultimo theme folder with the following content:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<!-- add category to left -->
<referenceContainer name="sidebar.main">
<block class="InfortisUltraMegamenuBlockNavigation" before="-" template="categories.phtml"/>
</referenceContainer>
</body>
</page>
Since I was not able to assign the "parent" "depth" and "block_name" values in the XML file above. I then duplicate the "categories.phtml" and create a new template called "categories_searchresult.phtml" and assign the value of "parent" "depth" and "block_name" directly into the template file. Finally, change the template path in the xml to the new one.
I was able to make the category tree shows in the search result page by copying the catalogsearch_result_index.xml
layout file to the ultimo theme folder with the following content:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<!-- add category to left -->
<referenceContainer name="sidebar.main">
<block class="InfortisUltraMegamenuBlockNavigation" before="-" template="categories.phtml"/>
</referenceContainer>
</body>
</page>
Since I was not able to assign the "parent" "depth" and "block_name" values in the XML file above. I then duplicate the "categories.phtml" and create a new template called "categories_searchresult.phtml" and assign the value of "parent" "depth" and "block_name" directly into the template file. Finally, change the template path in the xml to the new one.
edited Mar 20 at 19:32
answered Mar 20 at 7:00
Kris WenKris Wen
1739
1739
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266585%2fmagento-2-infortis-ultimo-theme-display-category-tree-menu-on-the-left-of-the-se%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown