![]() |
Search Box
I want to add a simple search box so customers can search and quickly find a certain product.
According to the Xcart manual, the search.tpl template should be located in the skin1/customer folder but it's not there. Is there somewhere I can get it? |
Re: Search Box
Enable debugging mode in general settings.
You can see what files are called on a page, including the search template. |
Re: Search Box
Thank you for your reply.
I enabled the debugging console but I don't see a search.tpl listed there either. I'm working on this with another person and I'm wondering if it was deleted by accident. Is there a way I can get the original search.tpl file back? I see a search_sort_by.tpl but I don't think that's what I'm currently looking for. |
Re: Search Box
Could be that its because its not in an actual template file.
Look in /skin1/customer/head.tpl and search for "search" without the quotes. Quote:
That would be my search form. |
Re: Search Box
I looked in skin1/customer/head.tpl and this is the only reference to search I found.
Quote:
It seems like this would be a simple feature, easily enabled. |
Re: Search Box
the search function is automatically enabled in x-cart. And by the looks of the code you should see the search box.
can you provide the URL? |
Re: Search Box
|
Re: Search Box
Your whole header is redesigned and the original code for search.tpl is deleted. Open skin1_original/customer/head.tpl, get the code from there and inserted back to skin1/cusotmer/head.tpl
Or even better copy the original head.tpl to skin1/customer and start over. You are using 4.2.x and it's css based and you are putting back tables - no good |
Re: Search Box
Thank you everyone for your input. Problem solved.
|
All times are GMT -8. The time now is 07:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.