magento 2 Infortis ultimo theme display category tree menu on the left of the search result pageProduct 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
Why would five hundred and five be same as one?
Would this string work as string?
Why is participating in the European Parliamentary elections used as a threat?
Why does the Persian emissary display a string of crowned skulls?
Identifying "long and narrow" polygons in with PostGIS
Determining multivariate least squares with constraint
Would a primitive species be able to learn English from reading books alone?
How to I force windows to use a specific version of SQLCMD?
How do you justify more code being written by following clean code practices?
How can ruler support inventing of useful things?
Isometric embedding of a genus g surface
If Captain Marvel (MCU) were to have a child with a human male, would the child be human or Kree?
Should I assume I have passed probation?
How much do grades matter for a future academia position?
If A is dense in Q, then it must be dense in R.
Can you identify this lizard-like creature I observed in the UK?
Why is the principal energy of an electron lower for excited electrons in a higher energy state?
Grepping string, but include all non-blank lines following each grep match
Quoting Keynes in a lecture
Sound waves in different octaves
How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them
How do I tell my boss that I'm quitting in 15 days (a colleague left this week)
How do I prevent inappropriate ads from appearing in my game?
How do I fix the group tension caused by my character stealing and possibly killing without provocation?
magento 2 Infortis ultimo theme display category tree menu on the left of the search result page
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
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 7 hours ago
Kris Wen
asked 23 hours ago
Kris WenKris Wen
858
858
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 5 hours ago
answered 17 hours ago
Kris WenKris Wen
858
858
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