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

#   Display the quantity field on the product page

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

13 years 7 months ago [\#93049](#93049) by [marcel](/forum/user/14214-marcel "View marcel's Profile")  *[Display the quantity field on the product page](/forum/4-how-to/78968-display-the-quantity-field-on-the-product-page#93049 "Hi  In &quot;General display options&quot; is &quot;Display the quantity field on the product page&quot;. I selected Ajax input. I have 2 types of products. On first page product I need to show &quot;Ajax input&quot;, but on the second product I need to hide it.  How can I do it? Any idea?")* was created by *[marcel](/forum/user/14214-marcel "View marcel's Profile")*

Hi

In "General display options" is "Display the quantity field on the product page". I selected Ajax input.
I have 2 types of products. On first page product I need to show "Ajax input", but on the second product I need to hide it.

How can I do it? Any idea?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTY4LWRpc3BsYXktdGhlLXF1YW50aXR5LWZpZWxkLW9uLXRoZS1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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
-
-
-

13 years 7 months ago -  13 years 7 months ago [\#93061](#93061) 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 *[Display the quantity field on the product page](/forum/4-how-to/78968-display-the-quantity-field-on-the-product-page#93061 "Hi  In &quot;General display options&quot; is &quot;Display the quantity field on the product page&quot;. I selected Ajax input. I have 2 types of products. On first page product I need to show &quot;Ajax input&quot;, but on the second product I need to hide it.  How can I do it? Any idea?")*

Hi,

Can you show me where do you want to hide it with some screenshots please ?

Thank you.

Last edit: 13 years 7 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTY4LWRpc3BsYXktdGhlLXF1YW50aXR5LWZpZWxkLW9uLXRoZS1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 3
- Thank you received: 0
-
-

13 years 7 months ago [\#93063](#93063) by [marcel](/forum/user/14214-marcel "View marcel's Profile")  Replied by *[marcel](/forum/user/14214-marcel "View marcel's Profile")* on topic *[Display the quantity field on the product page](/forum/4-how-to/78968-display-the-quantity-field-on-the-product-page#93063 "Hi  In &quot;General display options&quot; is &quot;Display the quantity field on the product page&quot;. I selected Ajax input. I have 2 types of products. On first page product I need to show &quot;Ajax input&quot;, but on the second product I need to hide it.  How can I do it? Any idea?")*

In first attached file is 6 products with "ajax input" fields.
In second screen file is page without "ajax input".

How Can I create both options on the one website?

- [ ![screen1.jpg](/forum/attachment/8925) ](/forum/attachment/8925 "screen1.jpg") [ ](/forum/attachment/8925?download=1 "screen1.jpg")
- [ ![screen2.jpg](/forum/attachment/8926) ](/forum/attachment/8926 "screen2.jpg") [ ](/forum/attachment/8926?download=1 "screen2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTY4LWRpc3BsYXktdGhlLXF1YW50aXR5LWZpZWxkLW9uLXRoZS1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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
-
-
-

13 years 7 months ago [\#93079](#93079) 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 *[Display the quantity field on the product page](/forum/4-how-to/78968-display-the-quantity-field-on-the-product-page#93079 "Hi  In &quot;General display options&quot; is &quot;Display the quantity field on the product page&quot;. I selected Ajax input. I have 2 types of products. On first page product I need to show &quot;Ajax input&quot;, but on the second product I need to hide it.  How can I do it? Any idea?")*

Ok, I think that the quantity field isn't displaying because you're in a product listing, so you'll probably find your answer [ there](http://www.hikashop.com/fr/forum/4-how-to/24521-how-to-show-quantity-on-product-listing.html#24521) :

> You can edit the file listing\_img\_title of the view product via the menu Display-&gt;Views and add the code:
> $this-&gt;params-&gt;set('show\_quantity\_field', 1);
> at the beginning after the first &lt;?php tag.

Hope this will help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTY4LWRpc3BsYXktdGhlLXF1YW50aXR5LWZpZWxkLW9uLXRoZS1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.081 seconds

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