4

If it's a grouped product then how do I show the products table above the details tab in the Luma theme?

See this image to for a better explanation: Move grouped product table to details area magento2 luma theme

Basically, I want it to work as follows: If the product type is 'grouped' then display grouped product in its own row that is full-width.

2
  • 1
    could you Share image what you want Or code you have tried so far ?
    – Pawan
    Aug 6, 2018 at 3:27
  • I updated the post for a better explanation. Thank you for your help! Aug 6, 2018 at 20:56

1 Answer 1

1

Add below code before </body> tag in below file :

app/code/design/frontend/[Package]/[Theme]/Magento_GroupedProduct/layout/catalog_product_view_type_grouped.xml

<move element="product.info" destination="content" as="grp" before="product.info.details"/>

It will move grouped products with add to cart. For reference see attached image:

enter image description here

Hope above will help!

1
  • Welcome @WillCousin, Good know it worked :)
    – Pawan
    Aug 9, 2018 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.