1

I want to show related products in product view page after product details. I added the below code in

app/design/frontend/default/your_theme/layout/catalog_product_view.xml

page

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

then cache is cleared.its move successfully sill not show product

4
  • You mean after product tabs or after add to cart, wishlist etc? Jul 17, 2018 at 7:29
  • after product tabs Jul 17, 2018 at 9:08
  • Can you check my updated answer? Jul 17, 2018 at 9:22
  • yeah! its working Jul 17, 2018 at 10:12

1 Answer 1

0

Try the below code this will add your related products at the end of product info main(After short description):

<move element="catalog.product.related" destination="product.info.main.wrapper"  after="-"/>

If you want the related products to show after the product tabs then use the below code:

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

OR

<move element="catalog.product.related" destination="content"  after="-"/>
0

Your Answer

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

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