Is there anyway some one can post the code into the forum here?
Also, has anyone done a search mod for 1.4.7?
It has some folder in it called MacOS so maybe it is a mac/windows compatibility issue?
I will try and open it on a mac box tonight to see if I get anywhere with that.
Otherwise if anyone has done this to an opencart 1.4.6 install and got it working can they post the code here.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
It uses AND, so all terms have to be present.900pixels wrote:Nice of you to share spikeachu.
Can I ask, does your enhanced search use AND for the search terms or does it use OR?
i.e do all terms have to be present or just any of the terms?
You can easily change the ANDs to ORs in the model file, but for my purposes, that returns too many results.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
I think without a provision for synonyms, using AND often gets zero results.
For example:
People who spell one word incorrectly get no results.
People who may use a generic term for one of your products get no results.
People who include just one term that is not in your desctription get no results.
People who put an 's' at the end of a term get no results.
Of course you can try and make provisions for all of these errors by including synonyms, plurals, generic terms, simple words like the,at,or,and etc in the product tags but this is really labour intensive.
I also think having many search results would not be a bad thing if those that matched the most terms were listed first, but I don't think there is any sorting of this sort in Opencart's search results, which actually really cripples the effectiveness of using OR search operators.
It is a big problem that has many different solutions, but unfortunately a good search engine with features such as synonyms, keyword and page ranking, ignored terms, in itself is a very complex bit of code and not really something we can expect the opencart developers to devote a years work to doing.
Edit: added paragraph re: sorting results
Users browsing this forum: No registered users and 5 guests