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

#   (no) display items in stock

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 3 months ago [\#164015](#164015) by [jokesofie](/forum/user/32975-jokesofie "View jokesofie's Profile")  *[(no) display items in stock](/forum/25-install-update/869697-no-display-items-in-stock#164015 "Hi, I just updated to the latest version of Hikashop Essential and now suddenly the website shows the number of items in stock at every product page. As it is an art website the number is always 1, so...")* was created by *[jokesofie](/forum/user/32975-jokesofie "View jokesofie's Profile")*

Hi, I just updated to the latest version of Hikashop Essential and now suddenly the website shows the number of items in stock at every product page. As it is an art website the number is always 1, so we'd like to turn this off. How can I do that?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#164023](#164023) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[(no) display items in stock](/forum/25-install-update/869697-no-display-items-in-stock#164023 "Hi, I just updated to the latest version of Hikashop Essential and now suddenly the website shows the number of items in stock at every product page. As it is an art website the number is always 1, so...")*

Hi,

It means you have modified an HikaShop core file and you do not use a view override.
Please do not edit core files and use view overrides, the system has been made to avoid such problem during updates.

So you will have to customize the view "product &#124; quantity" in order to do not display the product stock
[ www.hikashop.com/support/support/documen...-display.html#layout](https://www.hikashop.com/support/support/documentation/153-customize-the-display.html#layout)
You will find the line Code:

if($this-&gt;row-&gt;product_quantity==-1){

And in your case you will change it to Code:

if(true){

so the product stock won't be displayed anymore.

Like you did the first time but without a view override.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 3 months ago [\#164261](#164261) by [jokesofie](/forum/user/32975-jokesofie "View jokesofie's Profile")  Replied by *[jokesofie](/forum/user/32975-jokesofie "View jokesofie's Profile")* on topic *[(no) display items in stock](/forum/25-install-update/869697-no-display-items-in-stock#164261 "Hi, I just updated to the latest version of Hikashop Essential and now suddenly the website shows the number of items in stock at every product page. As it is an art website the number is always 1, so...")*

Hi Jerome,
Thanks, that worked well.
AND.... you have to know I never modified a core file. I never do. I am sure. I just updated. So it must be the update that changed it. Please check this out.

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

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

[](#top)
