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

#   In Stock checkbox, is not visible in front-end

##

- **[oxido](/forum/user/29793-oxido "View oxido's Profile")**
- [![oxido's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29793-oxido "View oxido's Profile") Topic Author
- [ Offline](/forum/user/29793-oxido)

Less More

- Posts: 285
- Thank you received: 42
-
-

5 years 8 months ago [\#330248](#330248) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  *[In Stock checkbox, is not visible in front-end](/forum/45-filters-search/902068-in-stock-checkbox-is-not-visible-in-front-end#330248 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hi  I have create a filter of type &quot; In Stock Checkbox &quot; and the checkbox is not visible in the front-end, only the label. Also, if I set the: Submit on click = No, in front-end I get this notecie:  This is the filter config: This is the module config: The front-end:")* was created by *[oxido](/forum/user/29793-oxido "View oxido's Profile")*

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.27

Hi

I have create a filter of type " **In Stock Checkbox** " and the checkbox is not visible in the front-end, only the label.
Also, if I set the: **Submit on click = No**, in front-end I get this notecie: Code:

Notice: Undefined variable: onClick in /administrator/components/com_hikashop/classes/filter.php on line 5519

This is the filter config:  [ ![in&#95;stock&#95;filter.jpg](/forum/attachment/52141) ](/forum/attachment/52141 "...ock&#95;filter.jpg")

This is the module config:  [ ![module&#95;filter&#95;config.jpg](/forum/attachment/52142) ](/forum/attachment/52142 "...ter&#95;config.jpg")

The front-end:  [ ![filter&#95;module&#95;frontend.jpg](/forum/attachment/52143) ](/forum/attachment/52143 "...e&#95;frontend.jpg")

- [ ![in&#95;stock&#95;filter.jpg](/forum/attachment/52141) ](/forum/attachment/52141 "...ock&#95;filter.jpg") [ ](/forum/attachment/52141?download=1 "...ock&#95;filter.jpg")
- [ ![module&#95;filter&#95;config.jpg](/forum/attachment/52142) ](/forum/attachment/52142 "...ter&#95;config.jpg") [ ](/forum/attachment/52142?download=1 "...ter&#95;config.jpg")
- [ ![filter&#95;module&#95;frontend.jpg](/forum/attachment/52143) ](/forum/attachment/52143 "...e&#95;frontend.jpg") [ ](/forum/attachment/52143?download=1 "...e&#95;frontend.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjA2OC1pbi1zdG9jay1jaGVja2JveC1pcy1ub3QtdmlzaWJsZS1pbi1mcm9udC1lbmQ/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
-
-

5 years 8 months ago [\#330249](#330249) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[In Stock checkbox, is not visible in front-end](/forum/45-filters-search/902068-in-stock-checkbox-is-not-visible-in-front-end#330249 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hi  I have create a filter of type &quot; In Stock Checkbox &quot; and the checkbox is not visible in the front-end, only the label. Also, if I set the: Submit on click = No, in front-end I get this notecie:  This is the filter config: This is the module config: The front-end:")*

Hi,

I'm not sure why the filter wouldn't display.
If you get the notice message, it means that the HTML for the checkbox is generated.
And I configured an "in stock" filter in the same way on my end and it displays fine.
So all I can think of is that it would be an issue linked to the template.
But if that was the case, the checkboxes of the other filter below should also not appear.
So it's probably not that.
Could you provide the URL of that page so that we could look at it ? Maybe there is some CSS targeting that checkbox ?

PS: regarding the notice message, we'll add a small patch for it. You can ignore it, it's nothing important. Just some variable initialisation issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjA2OC1pbi1zdG9jay1jaGVja2JveC1pcy1ub3QtdmlzaWJsZS1pbi1mcm9udC1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[oxido](/forum/user/29793-oxido "View oxido's Profile")**
- [![oxido's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29793-oxido "View oxido's Profile") Topic Author
- [ Offline](/forum/user/29793-oxido)

Less More

- Posts: 285
- Thank you received: 42
-
-

5 years 8 months ago [\#330339](#330339) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[In Stock checkbox, is not visible in front-end](/forum/45-filters-search/902068-in-stock-checkbox-is-not-visible-in-front-end#330339 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27  Hi  I have create a filter of type &quot; In Stock Checkbox &quot; and the checkbox is not visible in the front-end, only the label. Also, if I set the: Submit on click = No, in front-end I get this notecie:  This is the filter config: This is the module config: The front-end:")*

Completely my fault, sorry for bothering.
I didn't checked well, the problem is caused by a css class that I have created to customize the checkbox .

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjA2OC1pbi1zdG9jay1jaGVja2JveC1pcy1ub3QtdmlzaWJsZS1pbi1mcm9udC1lbmQ/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.055 seconds

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