0

i want to move , related product before product tabs, as highlighted by line in image.

I tried below code but it seems not working and even the related product section is not showing:

<move element="content.aside" destination="content" after="product.info.media"/>

enter image description here

1

If you want to move related product above product info tab on product detail page. Go to catalog_product_view.xml file

<move element="product.info.details" destination="content.aside"  after="catalog.product.related"/>

This will move related product above product info tabs.

0

Try this:-

<move element="catalog.product.related" destination="content" after="product.info.media"/>

And if it comes under "add to cart" use this

.your-block-class{clear:both;}
1
  • this is moving relates block above to top – user1799722 Dec 31 '20 at 14:38
0

Add this,

  <move element="catalog.product.related" destination="content" before="product.info.details" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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