Forums / Customization from the Admin / Product Quantity - can I add it to product listing?

Product Quantity - can I add it to product listing?

Started by boogily on 1 Nov 2009, 3:55 AM · Views: 1,820

Results 1 to 10 of 10
1 Nov 2009, 3:55 AM
#1
boogily avatar

boogily

New Zenner

Join Date:
Oct 2009
Posts:
38
Plugin Contributions:
0

Product Quantity - can I add it to product listing?

So I fixed the auto backorder. Now, when my products list from the category link, first of all, they do NOT show how much is on hand quantity. That only shows in checkout. I'd like that to be on that page as well.

Also, there is an "add to cart" box on that page as well. You can enter any integer in it. I wish you could put something in the php or something that would allow any integer <= on hand quantity. Its probably wishful thinking though.

Either way how is the customer supposed to know how much is possible to order off of this page? I'm not allowing orders of more than on hand. They would need to see the on hand quantity on that page for each item or else they would be guessing 10 items at a time.

I tried the tutorial/FAQ for a long time, also Google. Sorry if this is an easy fix, it is hard to find an answer to. Thanks a bunch!

1 Nov 2009, 2:39 PM
#2
boogily avatar

boogily

New Zenner

Join Date:
Oct 2009
Posts:
38
Plugin Contributions:
0

Re: Product Quantity - can I add it to product listing?

I can't seem to figure out how to put the on hand quantity on the page where the product displays from the category. In the product editor I clicked show products quantity box. The on hand quantity shows in the checkout, but not when all of the products are displayed from the category.

I've tried tutorials/FAQ for a while and even Google. Any help would be appreciated. Thanks

1 Nov 2009, 3:53 PM
#3
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Product Quantity - can I add it to product listing?

Go to Admin/Catalog/Product Types/(choose your product type..usually Product - General) and edit layout. Set Show Quantity in Stock to True.

1 Nov 2009, 4:20 PM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Product Quantity - can I add it to product listing?

Start with

admin>>configuration>>product listing>>Display Product Quantity

PHP works server side so that it can't check the input of the box until the page is submitted.

Nick
iszent.com

1 Nov 2009, 6:13 PM
#5
boogily avatar

boogily

New Zenner

Join Date:
Oct 2009
Posts:
38
Plugin Contributions:
0

Re: Product Quantity - can I add it to product listing?

Its been on the whole time, so its not that.

1 Nov 2009, 7:20 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Product Quantity - can I add it to product listing?

boogily:

I can't seem to figure out how to put the on hand quantity on the page where the product displays from the category.

niccol:

Start with

admin>>configuration>>product listing>>Display Product Quantity

That is the correct answer.

But if you're using a customized template that's broken the built-in functionality, then you'll have to fix your template if you want the normal behavior to occur.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Nov 2009, 7:27 PM
#7
boogily avatar

boogily

New Zenner

Join Date:
Oct 2009
Posts:
38
Plugin Contributions:
0

Re: Product Quantity - can I add it to product listing?

Would you have a clue on where to begin trying to fix this then?? Thanks

1 Nov 2009, 10:48 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Product Quantity - can I add it to product listing?

This is the first place I'd start if I were investigating it on your site: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jan 2011, 11:00 PM
#9
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Product Quantity - can I add it to product listing?

Hello..
I am interested in adding a 'Products Capacity' under the initial listings in the Product Description ( for example: Model, Shipping Weight, & Quantity...and then Products Capacity: 30 Liters...for example)
before the Main Product Description.....
Please see http://www.cavalryfiberglass.com/store/index.php?main_page=product_info&cPath=1_2&products_id=4

Harley Davidson Softail Hard Saddlebag
$775.00

* Model: HD-S1
* Shipping Weight: 31lbs
* 12 Units in Stock

...and then Products Capacity: 30 Liters

Any idea how to do this?

Thanks!!:clap:

12 Jan 2011, 2:13 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Quantity - can I add it to product listing?

You should start your own post versus hijacking anothers that is on a different subject...

You already have

• Exterior Color: Vivid Black
• Interior Color: Velvet Peach/Light Brown
• Size: 26"(Length) x 13"(Height) x 9"(Width)
• Storage Capacity (measured using water):
Cavalry Hard Bag - 23.2 Liters vs.
Harley Davidson OEM bag: 20 Liters
• $160 Mounting brackets included

Add capacity there

Why?

Because there is no place in the DB to store it, no code in the admin to enter it, no frontend code to display it

Zen-Venom Get Bitten