Hello Team,
We have upgrade Magento from 2.3.6 to 2.4.3. As we are changing the category layout from the XML. there's an issue with 2.4.3 as Magento Default Layout 2columns-left only working there's no chance of XML or Default Page Layout from the admin, Both of the ways is not working after the upgrade?
Let me know if anyone has face the issue before?
Solved! Go to Solution.
Hi @uttam_desai ,
Basically, this issue occur because now Magento added the Pagebuilder module as part of the Magento version 2.4.3 onwards CE edition, hope you using CE Magento, by the way, the same issue is there in CLoud version also.
In Magento Pagebuilder Module catalog_category_view.xml file added in page_layout folder
vendor/magento/module-page-builder/view/frontend/page_layout/catalog_category_view.xml
... <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> ...
but logically this file should add to the layout folder instead page_layout
Might this be the miss from Team and not reviewed as to its not impact any majorly.
For Quick/Smart Fix - Override the same file in theme under Magento_PageBuilder module, for reference follow below path
app/design/frontend/[VENDOR]/[THEME]/Magento_PageBuilder/page_layout/catalog_category_view.xml
and add below content as need is to make all product list with 1column
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="1column"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> </page>
Note: We can change the layout from admin also at each category level by updating layout, but to avoid manual work because what if categories are more, as it was working fine before older version so to make consistency, we can go with this solution and fix in code level.
Please do reply if still have any concerns,
if it matches your expectation please mark is a valid solution, so others also can get benefits for valid data.
Thanks
Hi @uttam_desai.,
Greetings!
You need to do the followings changes.
1.General->Status = Enabled
2.general->Visibility = Catalog,Search
3.Inventory->Qty > 0
4.Inventory->Stock Availability = In Stock
5.Websites = checking your site
6.Catgories = checking your category.
You have to remove the var folder from the root and try commands using CLI:
php bin/magento setup:static-content:deploy php bin/magento indexer:reindex
Hope this will help you!
If not, feel free to contact us.
Solved?
Click KUDOS and accept as a solution.
Thanks!
There's an issue with the category layout, all products are working fine but the layout change from XML or store configuration is not working as expected.
Sure @namitapare2a78 , The issue with native Magento 2.4.3 as well.
please find the attachment as below:
Hey @uttam_desai,
I have seen your screenshots and you are doing minor mistakes in that. You can change the layout of the category from admin, follow the below steps.
Check the screenshot for a better understanding.
Add more than 1 product to the list.
Hope this will work for you now.
Thank you!
Yes, we have to use the default settings from the configuration.
If we are changing from the category level, then it's working fine but about the default configuration for all categories. That's not working as expected.
Hello @uttam_desai,
I have seen your screen captures and you are doing minor missteps in that. You can change the design of the class from administrator, follow the beneath steps.
Go To Products - > Categories
Select your classification, for which you need to change the format.
Select Design tab
to uncheck Use Parent Category Settings, whenever checked
from design select 2columns-left and save class
Hi @uttam_desai ,
Basically, this issue occur because now Magento added the Pagebuilder module as part of the Magento version 2.4.3 onwards CE edition, hope you using CE Magento, by the way, the same issue is there in CLoud version also.
In Magento Pagebuilder Module catalog_category_view.xml file added in page_layout folder
vendor/magento/module-page-builder/view/frontend/page_layout/catalog_category_view.xml
... <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> ...
but logically this file should add to the layout folder instead page_layout
Might this be the miss from Team and not reviewed as to its not impact any majorly.
For Quick/Smart Fix - Override the same file in theme under Magento_PageBuilder module, for reference follow below path
app/design/frontend/[VENDOR]/[THEME]/Magento_PageBuilder/page_layout/catalog_category_view.xml
and add below content as need is to make all product list with 1column
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="1column"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> </page>
Note: We can change the layout from admin also at each category level by updating layout, but to avoid manual work because what if categories are more, as it was working fine before older version so to make consistency, we can go with this solution and fix in code level.
Please do reply if still have any concerns,
if it matches your expectation please mark is a valid solution, so others also can get benefits for valid data.
Thanks