0

I have an issue in Magento 1.9.

If I click on a product in the category page the product page loads fine with the 3 column layout. Great.

But if I search for the same product using the search box the layout on the product page changes to 2-column right.

I've got the layout set to apply to products in the admin panel Admin Panel

This is the product page after I click the product in the category page Correct Layout

This is the product page layout after clicking on the product on the search page Incorrect layout after search

  • 1
    check the catalog.xml <catalog_product_view translate="label"> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> </reference> – Rahul Singh Feb 27 '18 at 12:36
  • @RahulSingh Should be added as an answer ;) – sv3n Feb 27 '18 at 19:36
  • @sv3n Yeah added :) – Rahul Singh Feb 28 '18 at 4:03
1

Check the setTemplate in catalog.xml (your theme layout folder)

<catalog_product_view translate="label"> 
   <reference name="root"> 
     <action method="setTemplate"><template>page/2columns-right.phtml</template></action> 
   </reference>
...
...
...
</catalog_product_view> 
  • oops, i thought on search list the design changed, let me edit the answer – Rahul Singh Feb 27 '18 at 12:30

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.