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

#   Filter show alert when product does not exist

##

- **[Jabatec](/forum/user/5180-jabatec "View Jabatec's Profile")**
- [![Jabatec's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5180.png)](/forum/user/5180-jabatec "View Jabatec's Profile") Topic Author
- [ Offline](/forum/user/5180-jabatec)

Less More

- Posts: 91
- Thank you received: 15
-
- [](https://jabatec.com)
-

8 years 3 weeks ago [\#299927](#299927) by [Jabatec](/forum/user/5180-jabatec "View Jabatec's Profile")  *[Filter show alert when product does not exist](/forum/45-filters-search/896123-filter-show-alert-when-product-does-not-exist#299927 "Hi, I am working with a filtering module with 2 filters. and I wanted to ask the possibility of showing an alert when product filter does not exist (product), instead of showing a blank space in the component area.  Thank you very much. Javier")* was created by *[Jabatec](/forum/user/5180-jabatec "View Jabatec's Profile")*

Hi,
I am working with a filtering module with 2 filters.
and I wanted to ask the possibility of showing an alert when product filter does not exist (product), instead of showing a blank space in the component area.

Thank you very much.
Javier

---

Javier Ballester

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NjEyMy1maWx0ZXItc2hvdy1hbGVydC13aGVuLXByb2R1Y3QtZG9lcy1ub3QtZXhpc3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

8 years 2 weeks ago [\#299929](#299929) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter show alert when product does not exist](/forum/45-filters-search/896123-filter-show-alert-when-product-does-not-exist#299929 "Hi, I am working with a filtering module with 2 filters. and I wanted to ask the possibility of showing an alert when product filter does not exist (product), instead of showing a blank space in the component area.  Thank you very much. Javier")*

Hi,

Normally you have the HIKASHOP_NO_RESULT translation key that should be displayed on the page when no results are found after using the filter system.
It's displayed by that code in the product/listing.php view file: Code:

} elseif(( !$this-&gt;module &#124;&#124; hikaInput::get()-&gt;getVar('hikashop_front_end_main',0) ) &amp;&amp; ($ctrl == 'product' &#124;&#124; $ctrl == 'category') &amp;&amp; $task == 'listing' &amp;&amp; !empty($this-&gt;filters) &amp;&amp; count($this-&gt;filters) &amp;&amp; !empty($this-&gt;filter_set)) { if(!empty($htmlFilter)) echo $htmlFilter; echo JText::_('HIKASHOP_NO_RESULT'); }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NjEyMy1maWx0ZXItc2hvdy1hbGVydC13aGVuLXByb2R1Y3QtZG9lcy1ub3QtZXhpc3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.054 seconds

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