Search Results

  • Posts: 7
  • Thank you received: 0
9 years 5 months ago #233575

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Firefox 44.02
-- Error-message(debug-mod must be tuned on) -- : N/A

I am working on a website for a client where he needs to use two languages. I use Falang and the language switcher and most everything works perfect.

The issue I am having is when I search for a product in one language the results do not always match.

If I search for product N-03 in Vietnamese I get three search results. The three Hikashop products are correct but they link to the English version.

If I search for product N-03 in English I get three search results. The three Hikashop products are correct and they link to the English version.


If I search for product N-05 in Vietnamese I get three search results. The three Hikashop products are correct and they link to the Vietnamese version.

If I search for product N-05 in English I get three search results. The three Hikashop products are correct but they link to the Vietnamese version.


Does anyone know what is causing this? Does the search function work and display results of products per language?

This is pretty much all that is stopping me from going live with the web site.

Thank You for any help.

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 5 months ago #233580

Hello,

By reading you, I think I have the solution :
- Did you create one product for english speaker AND one of the same product for Vietnamese speaker ?
If yes, it's quite normal that you see ALL product results even when you are use search module and Falang isn't the cause of this.

=> Solution : create a module search for each language that will display only in his language, and will search in right language
category, BUT take care of your stock managing if your product are the same ! Because, when someone buy in vietnamese that
won't impact the french stock product...

If no, it's quite amazing and I need to have backend access to see your configuration, send us these references via our "Contact
us
" form, and use this topic subject to fill your message subject.

Awaiting news from you.

Regards,

Last edit: 9 years 5 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
9 years 5 months ago #233643

Thank You for the quick response.

I have one product for both languages, not one for each language. Is that the correct way?

Product 1 = N-03 #12
Product 2 = N-03 #14
Product 3 = N-03 #16

Search for N-03 and I get the three results but depending on language I searched from I get different language results. Search in English I get English but Vietnamese results in English. Then other products are opposite results.


I originally just had one search module set up and assigned to no language and no item id. After seeing your response I set up a second search module for Vietnamese and then assigned the item id to main Menu All /Products.
On the English module I set the language and then set the item id to Main Menu all/products


I still get those same results after the search module changes. I think it is in my set up by I just don't know where.
What controls the language of the search results for a product?

Thank you for the help.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
9 years 5 months ago #233644

If you need log in details I can send them. Just let me know how.

Please Log in or Create an account to join the conversation.

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #233687

Hi,

I don't think that the issue is linked to your search module.
I think that the problem is linked to the way you setup the canonical URL of your products.
I guess that you must have set a canonical URL in your products but not the translations of the canonical URL field and that you have the "force canonical URLs on listings" setting activated in the HikaShop configuration.
So the system uses the canonical URL of the product but since it's only available for one language, you can get the link for the wrong language.
If your situation is this, you should actually have the same issue on the products listings in fact.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
9 years 5 months ago #233717

I think you may have figured some of my issue out.

All my products being displayed in Product Listing view seem to link up properly in both languages.

I do not have the setting "force canonical URLs on listings" activated. I had to turn that off for some other reason.

I did not have the Canonical URL for each product is set in Hikashop lined up with the Canonical URL translation in Falang.

When I do change the URL in FaLang to Vietnamese it displays the URL in the search results instead of the Title. ??

How do I make the title show instead of the URL?

Please Log in or Create an account to join the conversation.

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #233720

Hi,

If you don't have canonical URL in your products and that option is turned off, then the problem must be elsewhere.
Could you provide the different URLs of your search results for your previous examples and allow us to see your frontend so what we can have a better look at what's going on ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum