Post by HAO » Mon Jun 17, 2024 5:33 pm

I own a store with Taiwanese traditional Chinese characters.

For Taiwanese stores, we are used to entering two related keywords at the same time.

Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件

If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器

But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件

This is impractical for Taiwan’s usage habits, Is there a possible solution?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by nonnedelectari » Mon Jun 17, 2024 6:57 pm

HAO wrote:
Mon Jun 17, 2024 5:33 pm
I own a store with Taiwanese traditional Chinese characters.

For Taiwanese stores, we are used to entering two related keywords at the same time.

Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件

If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器

But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件

This is impractical for Taiwan’s usage habits, Is there a possible solution?
Difficult as search generally splits the search term up by spaces and chinese generally doesn't use spaces between characters.

Best middle way would be to enter the eligible reach terms like "野狼 化油器" as product tags and search would find those.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by nonnedelectari » Mon Jun 17, 2024 7:06 pm

nonnedelectari wrote:
Mon Jun 17, 2024 6:57 pm
HAO wrote:
Mon Jun 17, 2024 5:33 pm
I own a store with Taiwanese traditional Chinese characters.

For Taiwanese stores, we are used to entering two related keywords at the same time.

Just like this product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件

If I were to do an efficient search, I would hope that I only need to enter these two keywords to find related products:
野狼 化油器

But the default OpenCart seems to only search complete keywords:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125
Or
150 化油器總成 化油器 化油氣 SANYANG 正廠零件

This is impractical for Taiwan’s usage habits, Is there a possible solution?
Difficult as search generally splits the search term up by spaces and chinese generally doesn't use spaces between characters.

Best middle way would be to enter the eligible reach terms like "野狼 化油器" as product tags and search would find those.
besides, if you have a space between keywords, default search in OC is keyword AND keyword :

Code: Select all

				if ($implode) {
					$sql .= " " . implode(" AND ", $implode) . "";
				}
you might consider changing that to OR.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by HAO » Mon Jun 17, 2024 10:51 pm

Using spaces is required for Taiwan stores, Because the ultimate goal is to allow the complete product name to be individually searched for multiple matching search results.

Product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件

Search:
狼 化油器

or
野狼 化油器總成

No suitable search module?

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by nonnedelectari » Fri Jun 21, 2024 11:13 pm

HAO wrote:
Mon Jun 17, 2024 10:51 pm
Using spaces is required for Taiwan stores, Because the ultimate goal is to allow the complete product name to be individually searched for multiple matching search results.

Product name:
機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件

Search:
狼 化油器

or
野狼 化油器總成

No suitable search module?
Using spaces is required for Taiwan stores? what is that about?
If that is your product name and those are the search terms, they should show, they work like that on our traditional chinese site.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by HAO » Sun Jun 23, 2024 12:31 am

What my boss needs is like using Google Translate, Regardless of whether there are spaces or hyphens, as long as the search keyword matches, it needs to be listed. (Full-text search)

Because the usage habit in Taiwan is that there is no need to distinguish the order of words. As long as there are matching words, we need to list them.

HAO
Active Member

Posts

Joined
Fri Jun 03, 2011 2:52 pm

Post by halfhope » Mon Jun 24, 2024 9:39 am

Hi!

You may use Manticore search engine for this purposes. But it requires vps/vds and integration into your store.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego
Who is online

Users browsing this forum: No registered users and 16 guests