Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Related Keywords
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #1  
Old 07-29-2005, 12:39 PM
 
PremiumPonyParts PremiumPonyParts is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 114
 

Default 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
Reply With Quote
  #2  
Old 07-29-2005, 03:40 PM
 
jeanne jeanne is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 85
 

Default Another way

I always put the misspellings and related words in hidden text in the long description. The search function will find the words.

__________________
Jeanne
4.1.8 Gold
Reply With Quote
  #3  
Old 08-01-2005, 02:45 PM
 
PremiumPonyParts PremiumPonyParts is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 114
 

Default

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.
__________________
Version 4.0.8
Reply With Quote
  #4  
Old 08-01-2005, 02:57 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hidden words are not advised.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-01-2005, 03:55 PM
 
PremiumPonyParts PremiumPonyParts is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 114
 

Default

Then in that case, this quick and easy mod helps out a lot.
__________________
Version 4.0.8
Reply With Quote
  #6  
Old 08-01-2005, 04:46 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Agreed, looks like a nice little hack
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 08-04-2005, 09:51 AM
 
jeanne jeanne is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 85
 

Default 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.
__________________
Jeanne
4.1.8 Gold
Reply With Quote
  #8  
Old 08-05-2005, 07:16 AM
 
jeanne jeanne is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 85
 

Default

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.
__________________
Jeanne
4.1.8 Gold
Reply With Quote
  #9  
Old 08-05-2005, 09:58 AM
 
PremiumPonyParts PremiumPonyParts is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 114
 

Default

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.
__________________
Version 4.0.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:53 PM.

   

 
X-Cart forums © 2001-2018