cancel
Showing results for 
Search instead for 
Did you mean: 

Bundle Product Layout change

Bundle Product Layout change

Maybe this was asked before, but couldn't find the thread.

i am new to magento, and i am using magento 2; how do I change the template to update how bundle product page looks (frontend). right now if i need to update the XML file (catalog_product_view.xml) and let's say add a css class, it will be added on both the simple product, and the bundle product. how can i change the layout or the structure of bundle product page only? i want it to look differently.

1 REPLY 1

Re: Bundle Product Layout change

Hi,

 

Create layout file for grouped product handle.

Like for - vendor/magento/module-catalog/view/frontend/layout/catalog_product_view_type_simple.xml

 

This may help https://stackoverflow.com/questions/8355168/set-different-layout-for-different-product-type-in-magen...

Best regards