search text box is missing


https://forum.kartris.com/Topic6535.aspx
Print Topic | Close Window

By MaurizioPGH - Mon 6 Jun 2016
I'm a Kartris noob and I inherited the support of a site from somebody who left my company. Anyway...

My main page does not contain a search box. I think the previous developer modified the skin and removed it accidentally. Once I select a product category I can search by product attributes or price name, but even on the advanced search page I don't have the ability to do a text search.

All I want to do is add a search text box and button to the main page - any thoughts?

Thank you!
By Supermac - Tue 7 Jun 2016
Not sure about advanced search issue, however to add the search box to main page browse /Skins folder, open the directory named like the skin your site is running, open Template.Master file.
Inside it you should find
<user:SearchBox runat="server" ID="UC_SearchBox" EnableViewState="False" />
If it has been removed you have to add it where you want to show the search textbox.

Check Template.Master file in /Skins/Kartris folder for reference.
By Paul - Tue 7 Jun 2016
Seems strange the search text box is missing from the advanced search too. Do you have a link to the site? It could be they've deliberately removed that for some reason, but doesn't seem to be any reason I could think of why someone would deliberately remove the text box from a search page. So I'm thinking could be some other issue.
By MaurizioPGH - Tue 7 Jun 2016
Thank you very much for the information!

So there's definitely some weirdness going on. When I added the search box code manually to the Template.master, it displays the advance search box (again, without the ability to search by text.) Please see the attached screen shot.

The live site is www.nicholascoffee.us.

Any additional feedback is greatly appreciated!
By Paul - Tue 7 Jun 2016
Looks like that page has been modified to dynamically display the 'type' if you select a category radio button. So I imagine the issue is somewhere in that code, because stock Kartris doesn't have any of this.
By Supermac - Wed 8 Jun 2016
Probably Kartris's text search and Kartris's advanced search have been deliberately removed from pages as Paul said: the code portion I suggested you to put in template's header is visible in all pages and it's a Kartris's standard feature.
That search by price range/category in your site is visible only in category pages and doesn't seem to be a Kartris feature... there is surely a more complex customization behind.
By MaurizioPGH - Wed 8 Jun 2016
Thanks again guys - I'll keep digging.