How to show product category description below list of products bottom of page?
I am trying to add category description on listing page on under pagination bar.
product magento2.2
add a comment |
I am trying to add category description on listing page on under pagination bar.
product magento2.2
add a comment |
I am trying to add category description on listing page on under pagination bar.
product magento2.2
I am trying to add category description on listing page on under pagination bar.
product magento2.2
product magento2.2
asked Mar 15 '18 at 6:35
Umesh KumarUmesh Kumar
2,3491328
2,3491328
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You can try to move the block in the layout
Add this code to app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="category.products" />
However, it should work for default luma theme. For custom theme it maybe will not work.
EDIT
Also, you can try to add to this layout next lines:
<referenceContainer name="content">
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
</referenceContainer>
Hope this will help.
add a comment |
For a theme that has a parent Magento_Blank
you can simply move the element within the layout file Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="-" />
this will tell the block to move in the content
container after all the other blocks
add a comment |
Open this file
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
Find this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" before="-" />
Replace above code with this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
After Clear cache and check
3
Please, stop suggesting the use of$objectManager
in frontend, that is aHUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
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%2f217418%2fhow-to-show-product-category-description-below-list-of-products-bottom-of-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try to move the block in the layout
Add this code to app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="category.products" />
However, it should work for default luma theme. For custom theme it maybe will not work.
EDIT
Also, you can try to add to this layout next lines:
<referenceContainer name="content">
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
</referenceContainer>
Hope this will help.
add a comment |
You can try to move the block in the layout
Add this code to app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="category.products" />
However, it should work for default luma theme. For custom theme it maybe will not work.
EDIT
Also, you can try to add to this layout next lines:
<referenceContainer name="content">
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
</referenceContainer>
Hope this will help.
add a comment |
You can try to move the block in the layout
Add this code to app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="category.products" />
However, it should work for default luma theme. For custom theme it maybe will not work.
EDIT
Also, you can try to add to this layout next lines:
<referenceContainer name="content">
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
</referenceContainer>
Hope this will help.
You can try to move the block in the layout
Add this code to app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="category.products" />
However, it should work for default luma theme. For custom theme it maybe will not work.
EDIT
Also, you can try to add to this layout next lines:
<referenceContainer name="content">
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
</referenceContainer>
Hope this will help.
answered Mar 15 '18 at 6:45
Ігор КлимчукІгор Климчук
1,137615
1,137615
add a comment |
add a comment |
For a theme that has a parent Magento_Blank
you can simply move the element within the layout file Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="-" />
this will tell the block to move in the content
container after all the other blocks
add a comment |
For a theme that has a parent Magento_Blank
you can simply move the element within the layout file Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="-" />
this will tell the block to move in the content
container after all the other blocks
add a comment |
For a theme that has a parent Magento_Blank
you can simply move the element within the layout file Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="-" />
this will tell the block to move in the content
container after all the other blocks
For a theme that has a parent Magento_Blank
you can simply move the element within the layout file Magento_Catalog/layout/catalog_category_view.xml
:
<move element="category.description" destination="content" after="-" />
this will tell the block to move in the content
container after all the other blocks
answered Mar 15 '18 at 7:04
Vlad PatruVlad Patru
808416
808416
add a comment |
add a comment |
Open this file
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
Find this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" before="-" />
Replace above code with this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
After Clear cache and check
3
Please, stop suggesting the use of$objectManager
in frontend, that is aHUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
add a comment |
Open this file
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
Find this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" before="-" />
Replace above code with this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
After Clear cache and check
3
Please, stop suggesting the use of$objectManager
in frontend, that is aHUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
add a comment |
Open this file
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
Find this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" before="-" />
Replace above code with this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
After Clear cache and check
Open this file
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_category_view.xml
Find this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" before="-" />
Replace above code with this code:-
<block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml" after="category.products" />
After Clear cache and check
edited Mar 15 '18 at 12:53
answered Mar 15 '18 at 6:35
Umesh KumarUmesh Kumar
2,3491328
2,3491328
3
Please, stop suggesting the use of$objectManager
in frontend, that is aHUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
add a comment |
3
Please, stop suggesting the use of$objectManager
in frontend, that is aHUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
3
3
Please, stop suggesting the use of
$objectManager
in frontend, that is a HUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
Please, stop suggesting the use of
$objectManager
in frontend, that is a HUGE NO-NO!!!!
– Vlad Patru
Mar 15 '18 at 7:00
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
@VladPatru, I have changed the code, thank you
– Umesh Kumar
Mar 15 '18 at 12:41
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
You should use the move like I posted above, you shouldnt have the block redeclared in your theme since it is already in the Magento default
– Vlad Patru
Mar 15 '18 at 12:55
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
This one working more convenient
– Umesh Kumar
Mar 15 '18 at 13:00
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f217418%2fhow-to-show-product-category-description-below-list-of-products-bottom-of-page%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