How to add Quick search on the product page?

Hi,

I would like to add the Quick search (in the top left column) of the Product Page, do you know how I could do to achieve that?
I found this code:

Code:

<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"  />

in the page.xml file but don’t know what to do for this to show on the product page.

Any help is much appreciated.

1 answer

Profile photo of Saguaros 0.00 $tone August 15, 2012
Public

Hi again,

Please open file: \app\design\frontend\default\jm_painite (your default theme)\layout\catalog.xml

Find this reference:

Code:

<reference name="right">
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
<action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (084) 912-939-475.</alt></action>
<action method="setLinkUrl"><url>checkout/cart</url></action>
</block>
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml" before="-" />
</reference>

after all, flush all magento cache.

Hope it helps

#1

Please login or Register to Submit Answer

Written By

Comments