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

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

1 Answer 1

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> 
1
  • oops, i thought on search list the design changed, let me edit the answer Feb 27, 2018 at 12:30

Your Answer

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

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