cancel
Showing results for 
Search instead for 
Did you mean: 

Category Page issue

Category Page issue

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

7 REPLIES 7

Re: Category Page issue

@gkarthick87 

 

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
https://www.manishmittal.com/

Re: Category Page issue

@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. 

Re: Category Page issue

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

Manish Mittal
https://www.manishmittal.com/

Re: Category Page issue

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

Re: Category Page issue

Hello @gkarthick87 

 

Please check your copied data, its seems invalid content or tag.

For more detail please check below post:

https://magento.stackexchange.com/questions/177261/magento-2-how-to-solve-the-message-character-cont...

Manish Mittal
https://www.manishmittal.com/

Re: Category Page issue

@Manish Mittal 

 

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. 

Re: Category Page issue

@gkarthick87 

 

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

Manish Mittal
https://www.manishmittal.com/