Forums / Basic Configuration / set default value in cart to 1

set default value in cart to 1

Locked

Views: 1,690

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
20 Sep 2006, 2:59 PM
#1
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

set default value in cart to 1

Under product discription where it says Add: then the box says 0. I would like this to say 1 and I can not find where to change this value.

Thanks


Play with it long enough and you will break it.
21 Sep 2006, 1:11 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: set default value in cart to 1

The products_info pages already default to 1

Do you have an URL to where you are having a problem with the quantity box?

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!

21 Sep 2006, 2:01 AM
#3
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: set default value in cart to 1

No URL I am developing on a localhost. I have only one test product on the site. I have named this product potato. When I click on all products it says Add: then in the box it has 0. Image is attached.

Thanks


Play with it long enough and you will break it.
21 Sep 2006, 2:17 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: set default value in cart to 1

You really don't want to do that. When you have more than one product in the category and the "add selected to cart" enabled, the cart would have one of everything in the cart.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

21 Sep 2006, 2:21 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: set default value in cart to 1

If you did not want the Multiple Qty Add to Cart, but did want to have the Qty box and a separate, per Product Add to Cart button ...

You can configure this in the Configuration ... Products Listing ...

Set to 2

Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)

Set to 0

Display Multiple Products Qty Box Status and Set Button Location
Do you want to display Add Multiple Products Qty Box and Set Button Location?
0= off
1= Top
2= Bottom
3= Both

NOTE: this is only available as of Zen Cart v1.3.5 ...

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!

21 Sep 2006, 3:34 AM
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: set default value in cart to 1

I see what you are saying. After I have more products in the catalog and they are all set to 0 then if someone wants to purchase one product they either add 1 or what ever and then click on the add to cart and that item or items checked are added to cart. I guess I would have seen that if I had added more than one test product to the list. Thanks for your help!

Kim:

You really don't want to do that. When you have more than one product in the category and the "add selected to cart" enabled, the cart would have one of everything in the cart.


Play with it long enough and you will break it.