cancel
Showing results for 
Search instead for 
Did you mean: 

Theme layout file for grouped product not working.

Theme layout file for grouped product not working.

I created/registered a new theme.  Then applied the theme to the store.

I have create a catalog_product_view.xml file.  However, it doesn't appear that it is making any changes.  I tried adding some random characters to the file just to see if the group product page would crash on loading.

Since it doesn't, doesn't that mean that the layout file isn't being processed?

 

I have the file location in: 

app/design/frontend/Local/brock/Magento_Catalog/layout

 

My custom theme shows the theme path as "Local/brock"

 

I also cleared out the /var/cache and /var/page_cache folders.

 

Since this is a group product, should I be doing something differently?


Once I see that it is changing the layout of the page, then I'll need to inquire further on how to move fields around.  But right now, I'm not convinced that the XML file is being processed.

3 REPLIES 3

Re: Theme layout file for grouped product not working.

Hello @ubcomputers,

 

Greetings of the day!

 

you can override by this way,
 app/code/Company/Module/view/frontend/layout/catalog_product_view.xml

 

I hope this will help you to solve your issue.

If not, feel free to contact us.

 

If solved, click KUDOS and accept as a solution. 

Thank you!

Re: Theme layout file for grouped product not working.

So far no luck.  This is for grouped product?

Also, will this inherit the formatting from the parent theme?

Re: Theme layout file for grouped product not working.

I need more guidance on the path you provided.  For starters, I am supposed to add custom files in the code subfolder?

Currently the code folder appears to be empty.  Should I be creating the folder structure exactly as you provided?