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

  • You mean after product tabs or after add to cart, wishlist etc? – Sukumar Gorai Jul 17 '18 at 7:29
  • after product tabs – kim na na Jul 17 '18 at 9:08
  • Can you check my updated answer? – Sukumar Gorai Jul 17 '18 at 9:22
  • yeah! its working – kim na na Jul 17 '18 at 10:12
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="-"/>

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.