| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I change a default in the search function? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi all,
I wish to change an option in the search page to always default to selected, regardless of what the last person may have clicked in their last search. I had the x-cart people give me a "publisher" choice which goes on the same line as the Product Title etc (straight under the search box), I played with search.php so now it will come up as ticked if no-one else has chosen to untick it in their last search. What file do I have to change to have it so it is always selected when someone first goes to the search? I have done a search for a particular publisher on my site, then chosen the "this url" link so I see the search parameters and then added that as a link to a list of publishers. Unfortunately that relies on the publisher option being selected to work, and sometimes it isn't automatically selected. Can anyone help? Thanks
__________________
-- Sandy Cummins XCart Pro 4.1.5 [linux] |
|||||||
#2
|
|||||||||
|
|||||||||
![]() We need to do to search options (when you update the page) were active always?
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi yes,
That is what I am after, that that particular search option is always active.
__________________
-- Sandy Cummins XCart Pro 4.1.5 [linux] |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
1. First backup file "skin1/customer/main/search_result.tpl". 2. Please edit this file and add next line to begin of the file: PHP Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|