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

#   Automat. show icon "Available" if item in stock

##

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

Less More

- Posts: 47
- Thank you received: 4
-
-

10 years 5 months ago -  10 years 5 months ago [\#241354](#241354) by [amigo](/forum/user/36119-amigo "View amigo's Profile")  *[Automat. show icon "Available" if item in stock](/forum/26-product-category-display/884762-automat-show-icon-available-if-item-in-stock#241354 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi, actually my question is written in the subject of this topic: I wish to force Hikashop display icon (that I choose) to any product that is in stock now. I know a long way - create a category, add icon &quot;available&quot; to it and add or remove this category from a product whenever a product is available or out of stock. Is my manager sentenced to do it all the time? :(")* was created by *[amigo](/forum/user/36119-amigo "View amigo's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1

Hi, actually my question is written in the subject of this topic: I wish to force Hikashop display icon (that I choose) to any product that is in stock now.
I know a long way - create a category, add icon "available" to it and add or remove this category from a product whenever a product is available or out of stock. Is my manager sentenced to do it all the time? ![:(](/media/kunena/emoticons/22.png ":(")

- [ ![available&#95;products.jpg](/forum/attachment/31685) ](/forum/attachment/31685 "...e&#95;products.jpg") [ ](/forum/attachment/31685?download=1 "...e&#95;products.jpg")

Last edit: 10 years 5 months ago by [amigo](/forum/user/36119-amigo "View amigo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODQ3NjItYXV0b21hdC1zaG93LWljb24tYXZhaWxhYmxlLWlmLWl0ZW0taW4tc3RvY2s/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

10 years 5 months ago [\#241377](#241377) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Automat. show icon "Available" if item in stock](/forum/26-product-category-display/884762-automat-show-icon-available-if-item-in-stock#241377 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1  Hi, actually my question is written in the subject of this topic: I wish to force Hikashop display icon (that I choose) to any product that is in stock now. I know a long way - create a category, add icon &quot;available&quot; to it and add or remove this category from a product whenever a product is available or out of stock. Is my manager sentenced to do it all the time? :(")*

Hi,

You can add such icons with the Products&gt;Badges system.
In the "Quantity" setting, you can define the quantity you want the badge to appear for and all the products with that quantity will get the badge. So if you put 0 in there, all the products without stock will get the badge.

But you can say "items in stock" in that. So you need to do it in a diverted way:
- create an unpublished category that will be added as second category to the products without stock
- add it to the "available" badge
- create a mass action via the menu System&gt;Mass action with a trigger like "every hour", and a filter on the product_quantity field being different from 0 and an action to add that category to the products.
- create a mass action via the menu System&gt;Mass action with a trigger like "every hour", and a filter on the product_quantity field being equal to 0 and an action to remove that category to the products.

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

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

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