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

#   Hide quantity box on individual product pages

##

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

Less More

- Posts: 56
- Thank you received: 4
-
-

13 years 1 month ago [\#124942](#124942) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  *[Hide quantity box on individual product pages](/forum/26-product-category-display/862284-hide-quantity-box-on-individual-product-pages#124942 "Joomla! 2.5.14 HikaShop Essential: 2.2.1  Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option &quot;Display the quantity field on the product page&quot; however as it is global it does not solve my problem. Appreciate any help you can give me!  Matt")* was created by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")*

Joomla! 2.5.14
HikaShop Essential: 2.2.1

Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option "Display the quantity field on the product page" however as it is global it does not solve my problem. Appreciate any help you can give me!

Matt

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

13 years 1 month ago [\#124961](#124961) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hide quantity box on individual product pages](/forum/26-product-category-display/862284-hide-quantity-box-on-individual-product-pages#124961 "Joomla! 2.5.14 HikaShop Essential: 2.2.1  Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option &quot;Display the quantity field on the product page&quot; however as it is global it does not solve my problem. Appreciate any help you can give me!  Matt")*

You need to create a custom field of the table product with the column name "product_qty_field" via the menu Display&gt;Custom fields so that you can select whether you want the quantity field to show (value 1) or not (value 0) for each product.
Then, add the line:
&lt;?php $this-&gt;params-&gt;set('show_quantity_field',$this-&gt;row-&gt;product_qty_field); ?&gt;

at the beginning of the file "quantity" via the menu Display&gt;Views and it should work.

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

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

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

Less More

- Posts: 56
- Thank you received: 4
-
-

13 years 1 month ago [\#125061](#125061) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  Replied by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")* on topic *[Hide quantity box on individual product pages](/forum/26-product-category-display/862284-hide-quantity-box-on-individual-product-pages#125061 "Joomla! 2.5.14 HikaShop Essential: 2.2.1  Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option &quot;Display the quantity field on the product page&quot; however as it is global it does not solve my problem. Appreciate any help you can give me!  Matt")*

Worked perfectly, thank you for the phenomenal support!

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

- **[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")**
- [![paci8188's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar13131.jpg)](/forum/user/13131-paci8188 "View paci8188's Profile")
- [ Offline](/forum/user/13131-paci8188)

Less More

- Posts: 13
- Thank you received: 0
-
-

11 years 2 months ago [\#213824](#213824) by [paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")  Replied by *[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")* on topic *[Hide quantity box on individual product pages](/forum/26-product-category-display/862284-hide-quantity-box-on-individual-product-pages#213824 "Joomla! 2.5.14 HikaShop Essential: 2.2.1  Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option &quot;Display the quantity field on the product page&quot; however as it is global it does not solve my problem. Appreciate any help you can give me!  Matt")*

Hello,

i need to do the same thing, hidding the Q. box and just keep the add to cart button, but i tried what Nicolas said below without success. Can you send me some screen shut of the operations to do so i can check what i did wrong?

Here are the screen shut of the things i did

Thanks
Martin

- [ ![Capture&#95;dcran&#95;2015-09-10&#95;&#95;13&#95;40&#95;25.png](/forum/attachment/26386) ](/forum/attachment/26386 "...&#95;&#95;13&#95;40&#95;25.png") [ ](/forum/attachment/26386?download=1 "...&#95;&#95;13&#95;40&#95;25.png")
- [ ![Capture&#95;dcran&#95;2015-09-10&#95;&#95;13&#95;40&#95;49.png](/forum/attachment/26387) ](/forum/attachment/26387 "...&#95;&#95;13&#95;40&#95;49.png") [ ](/forum/attachment/26387?download=1 "...&#95;&#95;13&#95;40&#95;49.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIyODQtaGlkZS1xdWFudGl0eS1ib3gtb24taW5kaXZpZHVhbC1wcm9kdWN0LXBhZ2VzP3RtcGw9bWFya2Rvd24=) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

11 years 2 months ago [\#213842](#213842) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hide quantity box on individual product pages](/forum/26-product-category-display/862284-hide-quantity-box-on-individual-product-pages#213842 "Joomla! 2.5.14 HikaShop Essential: 2.2.1  Hello, I need to hide the quantity selection box on several product pages but keep it on other product pages. I also need the add to cart button showing on all product pages. I found the global option &quot;Display the quantity field on the product page&quot; however as it is global it does not solve my problem. Appreciate any help you can give me!  Matt")*

Hi,

Since 1 year and 11 months, HikaShop has evolved and we are not proposing a "quantity layout" setting in HikaShop.
Setting that you can configure : globally / per category / per product.

Regards,

---

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

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

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