If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / New Product - Changing Product Qty Max from Default "0 - Unlimted" to 1

New Product - Changing Product Qty Max from Default "0 - Unlimted" to 1

Started by vesuvians on 1 Jan 2013, 7:53 PM · Views: 708

Results 1 to 6 of 6
1 Jan 2013, 7:53 PM
#1
vesuvians avatar

vesuvians

New Zenner

Join Date:
Nov 2007
Location:
East Sussex, United Kingdom
Posts:
25
Plugin Contributions:
0

Post #1 by vesuvians

I sell matchbox labels and restrict any customer to a maximum of 1 where more than one is available to purchase. Currently, when I select a new product to list, the default for Product Qty Min is 1, Product Qty Max is 0 and Product Qty Units is 1.

I have thousands of labels to list and would really save time if all 3 Product Qty entries defaulted to 1 instead of 1 0 1. I have looked at all the configurations in Admin and although I have found numerous Qty entries, I cannot seem to identify the Qty Max option.

Do I need to change the default via my C Panel File Manager? Any help to save me time would be appreciated.

HAPPY NEW YEAR TO ALL FORUM MEMBERS AND VISITORS

Thanx

:unsure:

2 Jan 2013, 7:46 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #2 by dbltoe

Max qty is generally set when adding the product. It is a database setting of true/false (0/1) that can be changed in the database but you might want to look into Easy Populate CSV as an option. You may be needing it in the future as well.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

2 Jan 2013, 3:26 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #3 by ajeh

Be careful ...

Max Quantity is the Maximum number that may be purchased for a specific Product ... this is not simply a true/false setting but rather the actual quantity that may be purchased for the Product ...

Setting to 0 means that there is no Maximum Quantity limit for the Product ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Jan 2013, 5:51 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #4 by dbltoe

Yep, my bad. Setting a minimum of one and a max of one will turn off the add to cart but it is not a true/false setting. Setting max to any number greater than 1 will allow that number of items to be ordered but there are still other variables.
Make sure that your settings for allowing checkout if the product is sold out are workable with your particular scenario.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Jan 2013, 10:43 PM
#5
vesuvians avatar

vesuvians

New Zenner

Join Date:
Nov 2007
Location:
East Sussex, United Kingdom
Posts:
25
Plugin Contributions:
0

Post #5 by vesuvians

Ajeh:

Be careful ...

Max Quantity is the Maximum number that may be purchased for a specific Product ... this is not simply a true/false setting but rather the actual quantity that may be purchased for the Product ...

Setting to 0 means that there is no Maximum Quantity limit for the Product ...

Hi, Thats exactly what I want to do. I sell my spare labels at prices below their true value as I am a firm believer in sharing what is literally a 'dying hobby' (many collectors are like myself pensioners!!). Sometimes I have three or four copies of an elusive label and I want three or four people to have the opportunity of obtaining it. Sadly, our hobby like many others has a rogue element where someone will buy all four labels and then resell at a much higher figure. So I set the maximum quantity someone can buy at 1. If they try to buy more than 1, the system prevents them - I know they can come back and try again but it gives others a fighting chance. Currently I have to remember to change the 0 to 1, So, if there is some way I can set the default at 1. 1. 1. instead of 1. 0. 1, then that is what I would like to do. - Thoughts?

3 Jan 2013, 11:35 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

Peek in the file:
/your_secret_admin/includes/modules/product/collect_info.php

and right at the top are the parameters set for the variables and you will see the last one is for maximum ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!