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

#   How to show quantity on product listing?

##

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

Less More

- Posts: 9
- Thank you received: 0
-
-

15 years 2 months ago [\#24521](#24521) by [JeffP](/forum/user/2201-jeffp "View JeffP's Profile")  *[How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#24521 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")* was created by *[JeffP](/forum/user/2201-jeffp "View JeffP's Profile")*

On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.

This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.

How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0NTIxLWhvdy10by1zaG93LXF1YW50aXR5LW9uLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 2 months ago [\#24537](#24537) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#24537 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

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.

The following user(s) said Thank You: [Mat](/forum/user/4216-mat "View Mat's Profile"), [d2dpcs](/forum/user/10531-d2dpcs "View d2dpcs's Profile")

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

15 years 2 months ago [\#24566](#24566) by [JeffP](/forum/user/2201-jeffp "View JeffP's Profile")  Replied by *[JeffP](/forum/user/2201-jeffp "View JeffP's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#24566 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Thanks Nicholas. That works perfectly.

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

15 years 1 month ago [\#25842](#25842) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#25842 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Does this still work for version : 1.5.3?

I don't even see the field 'show_quantity_field' called in the php file (listing_img_title.php)

Regards,

Gosling

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0NTIxLWhvdy10by1zaG93LXF1YW50aXR5LW9uLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 1 month ago [\#25848](#25848) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#25848 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

That's normal that you don't see it because you need to ADD it ![:)](/media/kunena/emoticons/8.png ":)")
It still works with 1.5.3. That question was asked 3 weeks after the 1.5.3 was released.

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

15 years 1 month ago [\#25851](#25851) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#25851 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

I pasted the code in that file but it did not work for me. No quantity field was shown in my listings page.

So I was wondering where the field was called in the same file, but ofcourse the param could very well be read by every other file, your right about that! :_)

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0NTIxLWhvdy10by1zaG93LXF1YW50aXR5LW9uLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 1 month ago [\#25864](#25864) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#25864 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

And did you activate the display of the add to cart button on the products listing with the corresponding option ? Because if there is no add to cart button, there won't be any quantity field displayed.

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

15 years 1 month ago [\#26233](#26233) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#26233 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Thanks, it worked! (ofcourse ![:-)](/media/kunena/emoticons/9.png ":-)")

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

15 years 1 month ago [\#26254](#26254) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#26254 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Would be great to have this param available in the 'HikaShop Options' for modules/menus. Because I only need it in some views, not in all.

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 11 months ago [\#29766](#29766) by [tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")  Replied by *[tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29766 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Hi

I am new to Hikashop (after giving up on Virtuemart) and am after the same this as in this thread. I have added the code and activated the Add to Cart feature. I can see the "add to cart" button but I can't see the product quantity next to the product.

Do I need to activate something else?

Thanks

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

14 years 11 months ago [\#29769](#29769) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29769 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Hi,

Did you set the HikaShop Options on your menu-item like this?
Then it should work.

And ofcourse you should have added the code like the admin showed in the above message.

Good luck,

Gosling  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/menuoptions.JPG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/menuoptions.JPG "&#91;img")

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

-

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 11 months ago [\#29771](#29771) by [tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")  Replied by *[tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29771 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Hi, thanks for coming back so quickly.

I added the PHP code as explained. My config is now exactly the same apart from when I change the Sub Element filter to "Direct Sub Elements" the products disappear. Could it be that I have the products set up incorrectly?

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 11 months ago [\#29775](#29775) by [tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")  Replied by *[tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29775 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

OK. No I have it set up exactly like yours and it still isn't playing.

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

14 years 11 months ago [\#29776](#29776) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29776 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Hi,

I'm just another user that got crazy with Virtuemart. And I am going to setup a new website with Hikashop in the near future and that's why I was playing with Hikashop.

The messages from the admin helped me to get the listing as you cam see in my attachment. (No Design changes done at all here, it's just a test ![:-)](/media/kunena/emoticons/9.png ":-)")

But as you can see, it works for me.

Did it a while ago so I can't figure out which steps I did except for those mentioned above by the admin.

Btw, the admin respons quick well in this forum!

Succes,

Gosling  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/listing.JPG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/listing.JPG "&#91;img")

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

-

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 11 months ago [\#29777](#29777) by [tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")  Replied by *[tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29777 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

ok ok I am an idiot. I was applying it to the wrong template.

Thanks

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

14 years 11 months ago [\#29778](#29778) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29778 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

BTW. When you have set product Characteristics, you can't see the quantity-field in listing-mode.

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 11 months ago [\#29779](#29779) by [tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")  Replied by *[tilomoz](/forum/user/4547-tilomoz "View tilomoz's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29779 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

Thanks for your help. Virtuemart was far too complex to understand. I just never found it intuitive.

So far I think I am as far as you. Any idea how to change the look / CSS so the quantity and the add to cart button aren't so close together, also I would like to move them to the right of the image and not underneath them.

Thanks

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

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

Less More

- Posts: 38
- Thank you received: 0
-
- [](http://www.cobiz.nl)
-

14 years 11 months ago [\#29780](#29780) by [goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")  Replied by *[goslingcools](/forum/user/2994-goslingcools "View goslingcools's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29780 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

I build some sites with Virtuemart, but now I'm changing to Hikashop.

For changes to the layout, you'll need to have (some) knowledge of html and css, and maybe even php &amp; javascript for more complex adjustments.
This knowledge I can't teach you on the fly. You'll have to study it yourself a bit ![:-)](/media/kunena/emoticons/9.png ":-)")

Goodluck,

Gosling

---

COBIZ webdevelopment \| [ ](http://www.cobiz.nl)[ www.cobiz.nl](http://www.cobiz.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0NTIxLWhvdy10by1zaG93LXF1YW50aXR5LW9uLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 11 months ago [\#29795](#29795) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#29795 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

To put more spacing, you can try to add some CSS code in the front end CSS file that you can edit via the Display tab of the configuration:
.hikashop_product_stock table td{ padding-right: 10px; }

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

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

Less More

- Posts: 182
- Thank you received: 15
-
-
- [](http://www.colorconsult.se)
-

14 years 7 months ago [\#41967](#41967) by [jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")  Replied by *[jansuhr](/forum/user/6377-jansuhr "View jansuhr's Profile")* on topic *[Re: How to show quantity on product listing?](/forum/4-how-to/24521-how-to-show-quantity-on-product-listing#41967 "On the product listing page, not the product page, I am listing product in 4 columns with the 'image and title', price and the 'add to cart' button.  This is good, but there is no quantity field to accompany the Add to Cart button. This means it only adds a quantity of 1 to the cart and I really need to have the ability for customers to enter a quantity.  How can I show the Quantity on this page for each product, and position it to the left of the Add to cart button, just as it is on the product page?")*

It didn't work for me to add to the file listing_img_title.php as you suggested, I poked around little among the files and found that if I added the line $this-&gt;params-&gt;set('show_quantity_field', 1); to the file quantity.php at line 48 it worked and I now have the box as I want.

Jan

---

Jan Suhr
[ www.colorconsult.se](http://www.colorconsult.se) [ www.jansuhr.se](http://www.jansuhr.se)

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

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

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

[](#top)
