[color=#282828][font=arial, verdana, tahoma, sans-serif]I want the “search options” on my customers “orders” page to be seen collapsed (hide) by default.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]Which tpl file needs to be edited and how?[/font][/color]
Some help without “support credits” will be very appreciate.
thanks.
Another thread without solution: here
CS-CART V3.6
-------------------------------------------------------------------------------------------------------------------------------
edit: solved!
I found the solution:
is simply edit: skins/{your skin}/customer/common_templates/[color=#FF0000]section.tpl[/color]
FIND:
<br />
{if $smarty.cookies.$id || $collapse}<br />
{assign var="collapse" value=true}<br />
{else}<br />
{assign var="collapse" value=false}<br />
{/if}<br />
```<br />
<br />
[b]REPLACE WITH:[/b]<br />
```php
<br />
{if $smarty.cookies.$id || $collapse}<br />
{assign var="collapse" value=true}<br />
{else}<br />
{assign var="collapse" value=true}<br />
{/if}<br />
```<br />
<br />
Then clear caché with: http://[b]your.domain.here[/b]/index.php?cc<br />
<br />
done.