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.
__________________
Version 4.0.8
|