| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() 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?
__________________
x-cart gold vers.4.2.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() Enable debugging mode in general settings.
You can see what files are called on a page, including the search template. |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
x-cart gold vers.4.2.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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. |
|||||||
#5
|
|||||||
|
|||||||
![]() 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.
__________________
x-cart gold vers.4.2.2 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() 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?
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||
|
|||||||
![]()
__________________
x-cart gold vers.4.2.2 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() 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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||
|
|||||||
![]() Thank you everyone for your input. Problem solved.
__________________
x-cart gold vers.4.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|