cancel
Showing results for 
Search instead for 
Did you mean: 

catalog_product_view overrules the catalog_category_view_id_x file

catalog_product_view overrules the catalog_category_view_id_x file

In my theme I have the file Magento_Catalog/layout/catalog_product_view.xml. Now I need another category view and created a file catalog_category_view_id_43.xml in the same map.

 

The problem is that the category with ID 43 loads the catalog_category_view.xml file instead of the catalog_category_view_id_43.xml file. How do I fix this? I need the id_43 to overrule the catalog_product_view file.

2 REPLIES

Re: catalog_product_view overrules the catalog_category_view_id_x file

Hi @Yasp0,

 


Since this has been posted several weeks ago, I would like to know if you were able to find the solution.


Please let us know.
Best regards.
Gabriel

If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".

Re: catalog_product_view overrules the catalog_category_view_id_x file

I created multiple catalog_category_view_id_X.xml files where the X is the category number and this works fir me.

I can't remember why it didn't worked the time I created this topic ;-)