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

#   Quantity Removal in Category View

##

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

Less More

- Posts: 41
- Thank you received: 1
-
-

12 years 7 months ago [\#150070](#150070) by [wild4gsus](/forum/user/28153-wild4gsus "View wild4gsus's Profile")  *[Quantity Removal in Category View](/forum/26-product-category-display/867012-quantity-removal-in-category-view#150070 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not sure what I'm doing wrong, as it is probably something simple. When I click on a category in the front end and it displays my products, it displays the quantity in stock (or &quot;no stock&quot; if there are none). I'm looking to remove the quantity. Where do I do this? I have made sure everything says &quot;No&quot; under &quot;Show the Number of Products&quot;.")* was created by *[wild4gsus](/forum/user/28153-wild4gsus "View wild4gsus's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2
-- PHP version -- : 5.4
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Not sure what I'm doing wrong, as it is probably something simple. When I click on a category in the front end and it displays my products, it displays the quantity in stock (or "no stock" if there are none). I'm looking to remove the quantity. Where do I do this? I have made sure everything says "No" under "Show the Number of Products".

[ ![h6d46843.png](/forum/attachment/16342) ](/forum/attachment/16342 "h6d46843.png")

- [ ![h6d46843.png](/forum/attachment/16342) ](/forum/attachment/16342 "h6d46843.png") [ ](/forum/attachment/16342?download=1 "h6d46843.png")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#150259](#150259) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Quantity Removal in Category View](/forum/26-product-category-display/867012-quantity-removal-in-category-view#150259 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not sure what I'm doing wrong, as it is probably something simple. When I click on a category in the front end and it displays my products, it displays the quantity in stock (or &quot;no stock&quot; if there are none). I'm looking to remove the quantity. Where do I do this? I have made sure everything says &quot;No&quot; under &quot;Show the Number of Products&quot;.")*

Hello,
1. Did you done some modifications through the files of the product view of your front-end template via "*Hikashop-&gt;Display-&gt;Views*" ? If that's the case, can you remove them and test it again ?
2. Can you show me some screenshots of how did you configured your :
- Category listing content menu
- Product listing associated module
3. Can you give me a link to the page where you are having that issue so that I can directly test it ?

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

12 years 7 months ago [\#150260](#150260) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Quantity Removal in Category View](/forum/26-product-category-display/867012-quantity-removal-in-category-view#150260 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not sure what I'm doing wrong, as it is probably something simple. When I click on a category in the front end and it displays my products, it displays the quantity in stock (or &quot;no stock&quot; if there are none). I'm looking to remove the quantity. Where do I do this? I have made sure everything says &quot;No&quot; under &quot;Show the Number of Products&quot;.")*

Hi,

You have to make a translation override on the key: X_ITEMS_IN_STOCK like:

> X\_ITEMS\_IN\_STOCK=""

[ www.hikashop.com/support/faq.html#tran](http://www.hikashop.com/support/faq.html#tran)

If you still want to display this text in the product page, so you will have to edit the view "product / quantity" via the menu Display &gt; Views and add an if condition around the line: Code:

echo '&lt;span class="hikashop_product_stock_count"&gt;'.JText::sprintf('X_ITEMS_IN_STOCK',$this-&gt;row-&gt;product_quantity).'&lt;br/&gt;&lt;/span&gt;';

Something like: Code:

if(JRequest::getVar('layout','show') != 'listing'){ echo '&lt;span class="hikashop_product_stock_count"&gt;'.JText::sprintf('X_ITEMS_IN_STOCK',$this-&gt;row-&gt;product_quantity).'&lt;br/&gt;&lt;/span&gt;'; }

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

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

Less More

- Posts: 41
- Thank you received: 1
-
-

12 years 7 months ago [\#150389](#150389) by [wild4gsus](/forum/user/28153-wild4gsus "View wild4gsus's Profile")  Replied by *[wild4gsus](/forum/user/28153-wild4gsus "View wild4gsus's Profile")* on topic *[Quantity Removal in Category View](/forum/26-product-category-display/867012-quantity-removal-in-category-view#150389 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not sure what I'm doing wrong, as it is probably something simple. When I click on a category in the front end and it displays my products, it displays the quantity in stock (or &quot;no stock&quot; if there are none). I'm looking to remove the quantity. Where do I do this? I have made sure everything says &quot;No&quot; under &quot;Show the Number of Products&quot;.")*

> Xavier wrote: Hi,
>
> You have to make a translation override on the key: X\_ITEMS\_IN\_STOCK like:
>
> > X\_ITEMS\_IN\_STOCK=""

Hadn't thought about this. That does the job!

Thank you both for the fast reply.

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

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