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

#   Show product inventory

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

3 years 10 months ago [\#348522](#348522) by [CarterKoths1](/forum/user/65633-carterkoths1 "View CarterKoths1's Profile")  *[Show product inventory](/forum/26-product-category-display/905744-show-product-inventory#348522 "-- url of the page with the problem -- :   www.mason-lakeconservation.org/index.php...ry/24-50-tree-bundle  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Microsoft Edge  Is there a setting to show available inventory on product listings?")* was created by *[CarterKoths1](/forum/user/65633-carterkoths1 "View CarterKoths1's Profile")*

-- url of the page with the problem -- : [ www.mason-lakeconservation.org/index.php...ry/24-50-tree-bundle](https://www.mason-lakeconservation.org/index.php/hikashop-menu-for-products-listing/category/24-50-tree-bundle)
-- HikaShop version -- : 4.7.0
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : Microsoft Edge

Is there a setting to show available inventory on product listings?

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

3 years 10 months ago [\#348525](#348525) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product inventory](/forum/26-product-category-display/905744-show-product-inventory#348525 "-- url of the page with the problem -- :   www.mason-lakeconservation.org/index.php...ry/24-50-tree-bundle  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Microsoft Edge  Is there a setting to show available inventory on product listings?")*

Hi,

If you activate the display of the add to cart button on the listing (under the "products options" tab of the menu item), it will also display the stock there (if it's not unlimited).
Otherwise, if you want to add the stock, without adding the add to cart button there, you would have to edit the product / listing_img_title view file via the menu Display&gt;Views and add such code where you want to display the stock: Code:

&lt;?php echo $this-&gt;row-&gt;product_quantity; ?&gt; items in stock

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

3 years 10 months ago [\#348543](#348543) by [CarterKoths1](/forum/user/65633-carterkoths1 "View CarterKoths1's Profile")  Replied by *[CarterKoths1](/forum/user/65633-carterkoths1 "View CarterKoths1's Profile")* on topic *[Show product inventory](/forum/26-product-category-display/905744-show-product-inventory#348543 "-- url of the page with the problem -- :   www.mason-lakeconservation.org/index.php...ry/24-50-tree-bundle  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Microsoft Edge  Is there a setting to show available inventory on product listings?")*

Thank you, Nicholas. If in the future I would like the Add to Cart button, but not the inventory to be visible, is that possible?

Is it possible to move the inventory count to a different location on the product listing?

Thank you

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

3 years 10 months ago [\#348550](#348550) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product inventory](/forum/26-product-category-display/905744-show-product-inventory#348550 "-- url of the page with the problem -- :   www.mason-lakeconservation.org/index.php...ry/24-50-tree-bundle  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : Microsoft Edge  Is there a setting to show available inventory on product listings?")*

Hi,

The code I gave can be moved easily anywhere in the view file to display it in a different location.

If you want the add to cart button and not the inventory, that's easier. Just activate the add to cart display setting of the menu item, and if you want to hide the stock, you can use a bit of CSS to hide it.

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

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