| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Search feature - How to enable these check boxes by default? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi guys,
I looked but couldn't figure out how to enable these search "check boxes" on by default. Can someone please point me to the right direction? Thanks -Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Tuan,
you can do very easy by modifying the skin1/customer/main/search_result.tpl. Look for Code:
Code:
Thats it.
__________________
v 4.1.8 and v 4.1.9 WIN XP: Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45 UNIX: Apache 1.3, PHP 4.4.4, MySQL 5.0.22 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks again.
![]()
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() No Problem. Therefor you can pimp my ride.
![]()
__________________
v 4.1.8 and v 4.1.9 WIN XP: Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45 UNIX: Apache 1.3, PHP 4.4.4, MySQL 5.0.22 |
|||||||||
#5
|
|||||||
|
|||||||
![]() Maybe someone can help me with the syntax for 4.1.9 for this same issue (making all the check boxes ON for the Advanced Search.)
The 4.19 code now looks like this, pulling whatever is in the POST, which is empty by default. We want to default the check boxes on, even if they've searched previously: PHP Code:
I tried changing it to PHP Code:
Any ideas -- do I have the name wrong?
__________________
X-Cart Gold Version 4.0.19 X-Cart Gold Version 4.1.9 X-Cart Pro Version 4.1.9 Unix |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Did you try leaving the id and name the same as they were and just removing the if statement?
Jason |
|||||||||
#7
|
|||||||
|
|||||||
![]() Thank you for your reply, and I'm sorry I'm so late coming back. I had given up on this and I still feel it's so important to usability to have them "on" for new
Actually, yes, I tried that, for example, as above, instead of PHP Code:
I now have PHP Code:
And the fields still do not default to "checked". I am stimeyed by this one ![]() If you or anyone else can help me with this, I would be so grateful.
__________________
X-Cart Gold Version 4.0.19 X-Cart Gold Version 4.1.9 X-Cart Pro Version 4.1.9 Unix |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|