Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick match in search bar using something other than product name?


Fyod

Recommended Posts

Posted

I have OSCsearchsuggest and I would like if the serach suggest used another field for suggesting. Foe example I need printer models to be searched and return the correct products, but I don't want to write them in the product title.

Is there any way to solve this?

Posted

@@Fyod You need to have somewhere where the printer model is listed. If it is in the product description, you can change the search to look there (there are many examples of this in these forums). But that can slow the search down considerably if there are a lot of products. In that case, you should add a new field for the printer model, assuming it is not the same as the products model, and add that to the search. I would add it as a number, not text, for speed.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

What I need is a compatibility list (which is now in description) so for example product ABC is compatible with multiple models 123, 124, 125, 126.

So I could make a additional field called product_compatibility, which will have '123, 124, 125, 126'.

I would add this to the admin product edit page and also make it show up in the catalog, that should be fairly easy.

Then all I do is just point the search to also look at product_compatibility, instead of only product_name?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...