| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Search results page? | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Search results page?
Hi. I simply want to add a link like "Didn't find what you were looking for? Click here" when a user gets zero results from a search. Can anyone tell me that template? Thank you.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#2
|
|||||||
|
|||||||
I believe its products.tpl or products_t.tpl
__________________
Mod King |
|||||||
#3
|
|||||||
|
|||||||
Look in /skin1/customer/main/search_result.tpl. Replace the third to the last line:
Code:
with: Code:
Don't put any quotes inside the a href tag. That'll do it.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#4
|
|||||||
|
|||||||
Thank you very much, greatly appreciated.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#5
|
|||||||
|
|||||||
Worked like a charm, thank you.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#6
|
|||||||
|
|||||||
I've learned to take the new knowledge and run with it because not everyone will respond, but if I could ask one more tiny question, is it possible some how to insert html in there?
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#7
|
|||||||
|
|||||||
Yeah, you sure can, but just be careful to not include any double quotes. Tell me what you want to include and we can work on it, or at least I'll give you an example.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#8
|
|||||||
|
|||||||
This is what I'd like to add (I've edited the urls, so they're not correct, but will fix them of course).
Code:
Thank you very much (also, for what it's worth, I tried playing around with this to add it myself all with errors ).
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#9
|
|||||||
|
|||||||
I'm not sure if this will work, but try this out. I escaped all " and '.
Code:
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#10
|
|||||||
|
|||||||
dang, nope. Here's what it says:
Code:
Do you think the pop up window script could be messing it up? (the xxx was edited of course)
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|