Unpublished products showing in search

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327563

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3
-- Browser(s) name and version -- : chrome

I have read the other messages in this category. My dev site will display unpublished products pulling 404s. I have unpublished filters and only using Hikashop smart search plugin. Any more ideas please.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 2 months ago #327602

Hi,

I've worked on that issue for quite a while today and made an extensive patch to the smart search plugin to handle this properly.
The issue was that the elements were not reindexed when saving them from the interface.
So once you had indexed them once, the changes you would made to the products would be ignored by the smart search.

So what you need to do is this:
- download again the install package of the 4.4.0 on our website and install it on yours
- click on the "index" button of the smart search component to resynchronize the products
Then, it should hopefully work fine.

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

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327614

hi Nicolas I downloaded, reinstalled, reindexed with no change to the problem. You have a Super Admin logon for this site from previous support, do you want to check it out?

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

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327626

Pls advise Nicolas.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
4 years 2 months ago #327636

Hi,

I had a look at your website and made a test there but it's working fine as far as I can see.
For example:
- I went to this page: index.php/component/finder/search?q=deadliest&Search=
- I don't get the product "Top 50 Deadliest Creatures" because it is unpublished.
- I temporarily publish that product
- I see that product in the results if I refresh that smart search results page
- I unpublish that product again
- I again don't see that product in the results
This wasn't working previously. So the patch I made is definitely working.

Now maybe you're talking about another issue ? In that case, I would need more information on how to reproduce it on your website because as far as I can see, it seems to be working fine.

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

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327717

Thx for looking Nicolas. I think it is performing better now. It is not perfect though as I seem to have duplicates showing in smart search results. When I go to menu>Smart Search and search on a title I can see the duplicated search data. Is this relating to another issue?

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

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327718

I cleared the index, reindexed and the dup data has gone.

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

  • Posts: 23
  • Thank you received: 2
4 years 2 months ago #327719

I have retested and smart search is running correctly now Nicolas. Many thanks.

The following user(s) said Thank You: nicolas

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

Time to create page: 0.067 seconds
Powered by Kunena Forum