Hi,
I want to show sub categories with image on category page. Please refer the below link for reference:
https://www.magearray.com/media/catalog/product/cache/757ea7d2b7282843694bdb6de7a23598/e/a/easy_cata...
I'm using magento 2.3.3
To achieve requested functionality you have to customize your Magento as this is not possible with native magento. You can customize your list.phtml. Follow below shared post to get this, you can customize according to your requirement.
https://meetanshi.com/blog/display-magento-2-subcategories-with-image-on-category-page/
@Manish Mittal Thanks for your reply
I already tried this but i'm getting empty on category page. I'm new to M2 so dont know how to fix this.
Hello @gkarthick87
Please check error logs in Magento VAR folder what is the issue or Please check Magento mode should be developer if not please run below shared command to change so you can see error here:
To check mode, php bin/magento deploy:mode:show
To change mode, php bin/magento deploy:mode:set developer
Once you will get error you can fix to get results. Thanks
Hi,
I'm getting this error on category page after changed to developer mode
1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'handle': Character content other than whitespace is not allowed because the content type is 'element-only'. Line: 1
Hello @gkarthick87
Please check your copied data, its seems invalid content or tag.
For more detail please check below post:
How can I find that XML file? I'm new to magento 2.3.3 so i dont have any idea about that. Can you please explain about that? Whereas, this page is working on Production Mode.
Please do a study of Magento xml and modules how to work. How you can call block and categories in CMS page. That will help you do such kind of customizations its not easy to development without know magento file structure. follow magento docs here:
https://docs.magento.com/m2/ce/user_guide/getting-started.html
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/xml-instructions.html
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/xml-manage.html
for specific error if you need help we can help you here, Thanks