Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Make Search Feature Works On Both Default And Non Default Language? Rate Topic   - - - - -

 

Posted 16 June 2019 - 01:15 PM #1

Greetings developers!

 

I was assign a task of investigating why search feature does not work when a product name in English, and when it is searched on Arabic language search. 

 

Our website default language is determined by geo location. By default Arabic will be used most of the time since we are based on Middle East.

 

 

The problem is when a user( Arabic language) search a product in English name(English keyword), website does not show any results. But the same product is available in the store. When the language is  changed to English and then do the search it would appear.

 

How do I rectify this issue? 

 

Appreciate your support and guide lines on this regards,

 

Cheers,

 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19389 posts

Posted 17 June 2019 - 01:27 PM #2

Do you mean that product has English name on Arabic language? Do you experience any issue with the search of products with the name in Arabic?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 17 June 2019 - 02:03 PM #3

Do you mean that product has English name on Arabic language? Do you experience any issue with the search of products with the name in Arabic?

 

Thank you for your reply,

 

Actually each product has both Arabic and English names. When the exact name (the string) is used it shows up. 

What I'm looking for is to display search results when a user type partially and when do the search results show show up.

 

Any Idea on how to do this?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19389 posts

Posted 18 June 2019 - 01:13 PM #4

If you mean suggestions, we offer two solutions
 

https://www.ecom-lab...ree-add-on.html

 

https://www.ecom-lab...rch-add-on.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 18 June 2019 - 01:53 PM #5

Thanks for your reply,

 

I was able to find out the actual cause for this issue.

 

The issue is not with search function. It was with product entry page.

 

There is one 'Extra' section, under that 'Search word' field is available. All what I did was I added both Arabic and English names for both Arabic and English version of the product.

 

And that resolved the issue.

 

:)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19389 posts

Posted 19 June 2019 - 01:17 PM #6

Thank you for letting us know it.


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.