Related Keywords
For those that have come to grasp that the search function in x-cart lacks funcitionality that most of us need, I figured out a quick and easy way for my website to deal with a problem I needed fixing. It's kinda like googles
did u mean?? First step: Create and extra field and label it Related. Do not Show it. Otherwise, your related keywords will show up in the product page. Next Open: search.tpl in /customer and add this line <INPUT type="hidden" name="posted_data[extra_fields][xx]" value="Y"> You will see exactly where to put it, if you miss it then look again. Replace xx with the field number. You can find this by opening your db in phpmyadmin and looking at the extra_fields table. Helpful when maybe customers search for an item you no longer sell or one that you recommend more. Also, can help with misspellings. I get a lot of people misspelling carberuator, and myself probably just misspelt it. |
Another way
I always put the misspellings and related words in hidden text in the long description. The search function will find the words.
|
I may be mistaken and if thats the case your way would work. But one SEO guru told me that using hidden words can hurt SEO rank.
If Im wrong, please let me know. |
Hidden words are not advised.
|
Then in that case, this quick and easy mod helps out a lot.
|
Agreed, looks like a nice little hack :)
|
Thanks
Thanks guys.
I didn't realize that using to hide words would be as bad putting them in the same color as the background. The x-cart forum is so much more informative than the forum about the current cart that I am using. |
Using 4.0.14 I cannot get this to work.
Looking at the code it seems like it should, but the search terms are not found. No errors, just no search results. Back to commenting out the words. |
Did u make sure you have the right number replacing xx ??
If you dont use the right number, example 01, or 02, it won't work. |
All times are GMT -8. The time now is 05:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.