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

#   Show 'in stock' and 'out of stock'

##

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

Less More

- Posts: 25
- Thank you received: 2
-
-

13 years 2 months ago [\#123989](#123989) by [mgainey](/forum/user/22191-mgainey "View mgainey's Profile")  *[Show 'in stock' and 'out of stock'](/forum/26-product-category-display/862102-show-in-stock-and-out-of-stock#123989 "-- Website on a local server -- HikaShop version -- : Business edition Downloaded June 2013 -- Joomla version -- : 3.1  Instead of showing the amount of stock there is avilable and then having nothing showing at all when there is no stock, is there a way to do the following:  Show a message 'In stock' when it is available Show message 'Out of stock' when it is currently out of stock  But I would also like it to automatically display a variation of the item that is in stock when selecting the product so the browser sees the in stock items first rather than seeing an out of stock item and leaving the page before checking the other variants.  I did look through the forum, but couldn't find post needing this solution.  Many thanks")* was created by *[mgainey](/forum/user/22191-mgainey "View mgainey's Profile")*

-- Website on a local server
-- HikaShop version -- : Business edition Downloaded June 2013
-- Joomla version -- : 3.1

Instead of showing the amount of stock there is avilable and then having nothing showing at all when there is no stock, is there a way to do the following:

Show a message 'In stock' when it is available
Show message 'Out of stock' when it is currently out of stock

But I would also like it to automatically display a variation of the item that is in stock when selecting the product so the browser sees the in stock items first rather than seeing an out of stock item and leaving the page before checking the other variants.

I did look through the forum, but couldn't find post needing this solution.

Many thanks

- [ ![h1e6e62e.jpg](/forum/attachment/12322) ](/forum/attachment/12322 "h1e6e62e.jpg") [ ](/forum/attachment/12322?download=1 "h1e6e62e.jpg")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#124053](#124053) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show 'in stock' and 'out of stock'](/forum/26-product-category-display/862102-show-in-stock-and-out-of-stock#124053 "-- Website on a local server -- HikaShop version -- : Business edition Downloaded June 2013 -- Joomla version -- : 3.1  Instead of showing the amount of stock there is avilable and then having nothing showing at all when there is no stock, is there a way to do the following:  Show a message 'In stock' when it is available Show message 'Out of stock' when it is currently out of stock  But I would also like it to automatically display a variation of the item that is in stock when selecting the product so the browser sees the in stock items first rather than seeing an out of stock item and leaving the page before checking the other variants.  I did look through the forum, but couldn't find post needing this solution.  Many thanks")*

Hi,

You have to make a translation override on the key "X_ITEMS_IN_STOCK", regarding the "out of stock" it's already displayed by default.
[ www.hikashop.com/support/faq.html#tran](http://www.hikashop.com/support/faq.html#tran)

Actually we cannot select the variants with stock by default in the dropdown, it will require custom code.
What can be done is selecting another way to display the variants in the configuration, I think that display in table can be the alternative. By this way the customers will see all the variants and their stock on one page.

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

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

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