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

#   how to display Stock availability in product page

##

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

Less More

- Posts: 159
- Thank you received: 0
-
-

7 years 10 months ago -  7 years 10 months ago [\#302422](#302422) by [Shafan Hameed](/forum/user/26922-shafan-hameed "View Shafan Hameed's Profile")  *[how to display Stock availability in product page](/forum/26-product-category-display/896635-how-to-display-stock-availability-in-product-page#302422 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : chrome  Hi, i want show &quot;Stock Available&quot; / &quot;Out of Stock&quot; in product page. how can i do that in hikashop ?  also i am getting this error in my error.log file which is regarding to hikashop  &#91;05-Dec-2017 07:04:14 UTC&#93; PHP Warning: Creating default object from empty value in .../components/com&#95;hikashop/views/category/view.feed.php on line 119 &#91;05-Dec-2017 07:43:47 UTC&#93; PHP Warning: Creating default object from empty value in .../components/com&#95;hikashop/views/category/view.feed.php on line 119")* was created by *[Shafan Hameed](/forum/user/26922-shafan-hameed "View Shafan Hameed's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.6
-- PHP version -- : 5.6
-- Browser(s) name and version -- : chrome

Hi,
i want show "Stock Available" / "Out of Stock" in product page. how can i do that in hikashop ?

also i am getting this error in my error.log file which is regarding to hikashop

[05-Dec-2017 07:04:14 UTC] PHP Warning: Creating default object from empty value in .../components/com_hikashop/views/category/view.feed.php on line 119
[05-Dec-2017 07:43:47 UTC] PHP Warning: Creating default object from empty value in .../components/com_hikashop/views/category/view.feed.php on line 119

Last edit: 7 years 10 months ago by [Shafan Hameed](/forum/user/26922-shafan-hameed "View Shafan Hameed's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTY2MzUtaG93LXRvLWRpc3BsYXktc3RvY2stYXZhaWxhYmlsaXR5LWluLXByb2R1Y3QtcGFnZT90bXBsPW1hcmtkb3du) 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: 86584
- Thank you received: 14325
-
-

7 years 10 months ago [\#302427](#302427) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to display Stock availability in product page](/forum/26-product-category-display/896635-how-to-display-stock-availability-in-product-page#302427 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : chrome  Hi, i want show &quot;Stock Available&quot; / &quot;Out of Stock&quot; in product page. how can i do that in hikashop ?  also i am getting this error in my error.log file which is regarding to hikashop  &#91;05-Dec-2017 07:04:14 UTC&#93; PHP Warning: Creating default object from empty value in .../components/com&#95;hikashop/views/category/view.feed.php on line 119 &#91;05-Dec-2017 07:43:47 UTC&#93; PHP Warning: Creating default object from empty value in .../components/com&#95;hikashop/views/category/view.feed.php on line 119")*

Hi,

The stock should display automatically on the product page if you enter a quantity in your product.
Then, if you want to change the text "X items in stock" displayed by default to "stock available", you can use a translation override:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)

Thank you for the feedback on the warning. We'll add a patch for that in the next release. You can ignore the warning for now, it's nothing important.

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

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