[Skip to main content](#vessel-content)

#   Empty Smart Search titles

##

- **[Rixters](/forum/user/28762-rixters "View Rixters's Profile")**
- [![Rixters's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28762.jpg)](/forum/user/28762-rixters "View Rixters's Profile") Topic Author
- [ Offline](/forum/user/28762-rixters)

Less More

- Posts: 209
- Thank you received: 14
-
-
-
- [](http://www.r2h.nl)
-

1 year 11 months ago [\#364441](#364441) by [Rixters](/forum/user/28762-rixters "View Rixters's Profile")  *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#364441 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")* was created by *[Rixters](/forum/user/28762-rixters "View Rixters's Profile")*

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.2.1
-- PHP version -- : 8.2.x

I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.

[ ![empty-search.jpg](/forum/attachment/59994) ](/forum/attachment/59994 "empty-search.jpg")

- [ ![empty-search.jpg](/forum/attachment/59994) ](/forum/attachment/59994 "empty-search.jpg") [ ](/forum/attachment/59994?download=1 "empty-search.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 11 months ago [\#364442](#364442) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#364442 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Hi,

That's probably the variants indexed which you're looking at.
So no worries. It's normal that the title is empty for variants if you don't specify a name in them.

The following user(s) said Thank You: [Rixters](/forum/user/28762-rixters "View Rixters's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Rixters](/forum/user/28762-rixters "View Rixters's Profile")**
- [![Rixters's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28762.jpg)](/forum/user/28762-rixters "View Rixters's Profile") Topic Author
- [ Offline](/forum/user/28762-rixters)

Less More

- Posts: 209
- Thank you received: 14
-
-
-
- [](http://www.r2h.nl)
-

1 year 11 months ago [\#364460](#364460) by [Rixters](/forum/user/28762-rixters "View Rixters's Profile")  Replied by *[Rixters](/forum/user/28762-rixters "View Rixters's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#364460 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Thanks for the info!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5807_2014-05-02.jpg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

1 year 9 months ago [\#365351](#365351) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#365351 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Variants without a title cause problems in the front-end search results.

Apparently, the variant's main product name combined with characteristic options becomes the description, and the text for the title link is blank.
[ ![Clipboard02&#95;2025-01-24.jpg](/forum/attachment/60173) ](/forum/attachment/60173 "...2025-01-24.jpg")

The &lt;a href&gt; is still there, but the title text is blank.
[ ![Clipboard05.jpg](/forum/attachment/60174) ](/forum/attachment/60174 "Clipboard05.jpg")

.

If I fill in each variant's title, it will be included as the title for the link.

Doing so on would be a rather massive undertaking as some of our products have 100s of variant combinations.

It seems like the description being generated for the variant in the index should be the title, especially since each variant can have a separate description.

Note one can click on the image and still get to the product, but it isn't intuitive.

Ideally, the link would also go to a variant URL (i.e.,/billiard-felt-cloth/simonis/product/860.html?cid=5852) and not the main product too, but mainly it is the title/description issue I wanted to point out.

- [ ![Clipboard02&#95;2025-01-24.jpg](/forum/attachment/60173) ](/forum/attachment/60173 "...2025-01-24.jpg") [ ](/forum/attachment/60173?download=1 "...2025-01-24.jpg")
- [ ![Clipboard05.jpg](/forum/attachment/60174) ](/forum/attachment/60174 "Clipboard05.jpg") [ ](/forum/attachment/60174?download=1 "Clipboard05.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 9 months ago [\#365354](#365354) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#365354 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Hi,

The reason why the name is not generated is because it would be computationally difficult.
Generating the name of a variant requires loading the parent product data, the characteristics data and the links between the variant and the values of the characteristics.
That's fine for one variant, or a bunch. But when you run an indexation, and you need to do this for each variant of each product, it takes a lot of time.
Also, this is normally not a problem because by default both the name AND the URL are displayed. For example:
[ i.imgur.com/O2IJeqS.png](https://i.imgur.com/O2IJeqS.png)
So the name of the variant not being filled is not really a problem.
Since you don't have the URL on your website, I suppose that you must have a view override of the Smart search results page which removes it from there.
Check if you have the folder templates/YOUR_TEMPLATE/html/com_finder/search via FTP. If you do, try renaming that folder to something else in order to deactivate the view overrides for the smart search.
Then, try again, and you should have the results with the clickable URL, like by default on Joomla.
Also, note that the URL generated is the URL of the variant, not the URL of the product.
So, when I click on the URL you can see on my screenshot, I do end up on the page of the product with the variant automatically selected.
However, for this to happen, the id needs to available in the SEF URLs on your website, because the system needs to be able to provide the id of the variant in the URL. So, if you have the "Remove category and product ids from URLs" setting turned on in the HikaShop configuration, it would explain why it's not directing to the URL of the variant.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5807_2014-05-02.jpg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

1 year 9 months ago [\#365371](#365371) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#365371 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

It appears the name is being calculated for variants and placed in the description of the results (p class=result__description).

i.e., "*860HR™ Billiard Cloth- Pool (bed cloth &amp; 6 rail cloths) Tournament Blue 10'* "

In our case, the parent product name is "*860HR™ Billiard Cloth*."
And the characteristics are "*Pool (bed cloth &amp; 6 rail cloths) Tournament Blue 10*'"

I checked for any template overrides before posting, but there are none.
I checked another site, and it has the same issue.
I tried the default Cassiopeia as well, and I got the same results.

Even in your example, the "blah blah" doesn't look like the title font/style/size (in the p class="result__title-text") but instead the description.
And it is in the title; shouldn't it be linked if it was the title?

Maybe I misunderstood how the description and the title are built.
But it appears to me that work is being done, just placed in the description field instead of the title.

I could turn the Result URL back so there was a visible link, but we'd rather have a name (shown in the description) in the title (&lt;p class="result__title-text") to look like the rest.

If we could hide the variants in the search, that would solve this, too, but it doesn't appear that has been implemented yet.

Note I do have the category/product ID turned off, so that seems fine. I cannot turn them back on now; otherwise, it would break many things. However, I can live with that. As it stands, the issue is the one with the title/description above.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 9 months ago [\#365372](#365372) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#365372 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Hi,

On my end, the name of this variant is "Star stilettosGreen 4.5":
[ i.imgur.com/DvT5JhY.png](https://i.imgur.com/DvT5JhY.png)
"blabla" is the text I've added to the description for the purpose of searching for that particular variant of the product.
And as you can see on my previous screenshot, the name of the variant doesn't appear at all.

So I thought your situation had to come from a template override.
I've looked deeper into the situation today and I was actually surprised that the name of the variant is actually already generated in the plugin. Looking at the code of the plugin, the generated name goes into the "summary" column of smart search, and the description goes into the "body" column of smart search, and I think that's where the problem is.
I've changed the code to use "title" and "summary" instead, and leave "body" out of the equation and it seems to work better:
[ i.imgur.com/8TjMGVg.png](https://i.imgur.com/8TjMGVg.png)
So, I've made a patch on our end with the necessary changes. Download the install package of HikaShop on our website and install it on yours and you'll get the patch. Then, clear your index in the Smart search component, and click on the button to reindex all your content. The search results should then have the clickable generated name of the variants.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5807_2014-05-02.jpg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

1 year 9 months ago [\#365376](#365376) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Empty Smart Search titles](/forum/45-filters-search/908865-empty-smart-search-titles#365376 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.2.1 -- PHP version -- : 8.2.x  I noticed that smart search is working on the products, but if you look at the titles in the indexer all the titles are empty. It's not a big problem as search is working, but it looks odd.")*

Confirmed quickly that the title and the variant characteristics are both now showing and linked.

Thanks!

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwODg2NS1lbXB0eS1zbWFydC1zZWFyY2gtdGl0bGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
