{"id":1674,"date":"2021-04-04T05:58:04","date_gmt":"2021-04-04T05:58:04","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/move-related-products-above-product-tabs-in-magento-2\/"},"modified":"2025-07-17T09:25:52","modified_gmt":"2025-07-17T03:55:52","slug":"move-related-products-above-product-tabs-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/move-related-products-above-product-tabs-in-magento-2\/","title":{"rendered":"How to Move Related Products Above Product Tabs in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In today\u2019s E-commerce market, having a great product or service is simply not enough because the conversion rate for customers can only be increased by a visually appealing online store as well as a convenient purchase process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Providing convenience to the customers while purchasing any product and pushing them towards conversion quickly is one of the most important aspects that directly affect the sales ratio.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, optimizing the store design to increase the average order value is a real thing!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if you are&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/ecommerce-cross-selling\/\" target=\"_blank\" rel=\"noreferrer noopener\">cross-selling products<\/a>&nbsp;in your Magento 2 store by displaying related products, you can&nbsp;<em><strong>move related products above product tabs in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By doing so, you decrease\u00a0the irrelevant need for scrolling,\u00a0 increase the average order value, provide your customer a chance to purchase the product they may need, and eventually increase the sales of your\u00a0Magento 2\u00a0store; using the below solution.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method to Move Related Products Above Product Tabs in Magento 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The default Magento 2 shows related products as shown below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/03\/before-SS-1024x543.jpg\" alt=\"How to Move Related Products Above Product Tabs in Magento 2\" class=\"wp-image-14040\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Add below code to existing Module or Theme layout file&nbsp;<strong>catalog_product_view.xml<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;move element=\"product.info.details\" destination=\"content.aside\"  after=\"catalog.product.related\"\/><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">OR you can also use this<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;move element=\"catalog.product.related\" destination=\"content\" before=\"product.info.details\"\/><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If a related product block gets overlapped or added into product info\/product media content then just add CSS like mentioned below:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">.block.related{\nclear: both;\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to move upsell products above the product tab then use the below code.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;move element=\"product.info.details\" destination=\"content.aside\"  after=\"product.info.upsell\"\/><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The output will be display as shown below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/03\/after-sS-1024x803.png\" alt=\"How to Move Related Products Above Product Tabs in Magento 2\" class=\"wp-image-14041\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><br>That\u2019s easy, right?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank You.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s E-commerce market, having a great product or service is simply not enough because the conversion rate for customers can only be increased by&#8230;<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1674","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1674"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1674\/revisions"}],"predecessor-version":[{"id":18146,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1674\/revisions\/18146"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}