Hide Search Order Form

Hi All,



In Orders Search dispatch page: the search form is opened by default. I want to hide it for default and open only when i click on the Open arrows.



Any idea to do this?

Hello Anand,



Thank you for your message.



Some code modifications are required to implement this feature. We would be happy to assist you in this matter within our technical support service. Please contact us via Customer Help Desk if you have support credits or an active support period.



Thank you.





Pavel Zyukin

CS-Cart Support team

only when u click through the expanded options it is showed again, how can that be an issue ?

I believe the same applies as here

[quote name='curribhoys' timestamp='1363927481' post='158463']

Hi All,



In Orders Search dispatch page: the search form is opened by default. I want to hide it for default and open only when i click on the Open arrows.



Any idea to do this?

[/quote]



as someone poted above,you need to edit /customer/common_templates/section.tpl.



but you just need to swap around the lines at the top that state true and false



so you end up with the following, just replacethecode with it.



{assign var=“id” value=$section_title|md5|string_format:“s_%s”}

{math equation=“rand()” assign=“rnd”}

{if $smarty.cookies.$id || $collapse}

{assign var=“collapse” value=false}

{else}

{assign var=“collapse” value=true}

{/if}




{$section_title}
{$lang.open_action}
{$lang.hide}

{$section_content}

Thank you all for the information. I've done it already.

How do you do this in MV version 4.2.4? I think those settings have moved since 2013.



Thanks in advance.

Found the answer here: