Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2004
    Location
    Germany
    Posts
    106
    Plugin Contributions
    0

    Default Only Add To Cart Button No Quantity Box

    I have the feeling this has been answered before but for the life of me I can't figure it out from the posts I've read through.

    On the product page I would like to remove the quantity box and only have the add to cart button. I've read several posts about how to do this on the product list page but not figured out how to do it on the product page itself. In the code (as far as my simple PHP skills go) it seems to be managed by a switch but I haven't found it in the admin.

    I'm tying this in 1.3.01 with my templates based on template_default.

    Thanks,

    Patrick

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Only Add To Cart Button No Quantity Box

    Each Product allows for this setting to managed on a per Product basis when adding/editing the Products ...
    Products Quantity Box Shows: Yes, Show Quantity Box No, Do not show Quantity Box
    Is this what you are looking for?
    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!

  3. #3
    Join Date
    Nov 2004
    Location
    Germany
    Posts
    106
    Plugin Contributions
    0

    Default Re: Only Add To Cart Button No Quantity Box

    Yep, exactly what I'm looking for but in the one place I didn't look and I looked everywhere! Lot's of nifty little features you devs have managed to pack into the new version.

    Thanks a ton for the help!

  4. #4
    Join Date
    Nov 2004
    Location
    Germany
    Posts
    106
    Plugin Contributions
    0

    Default Re: Only Add To Cart Button No Quantity Box

    Another quick question, anyway to update them all at once to Do not show Quantity Box or do I just need to run the correct SQL statement on the products table?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Only Add To Cart Button No Quantity Box

    You can update the whole table via phpMyAdmin and change the products table field: products_qty_box_status to 0 for OFF and 1 for ON

    Example to turn them all OFF:

    PHP Code:
    UPDATE products SET products_qty_box_status=
    NOTE: Always Back up your database before making changes ...
    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!

 

 

Similar Threads

  1. v150 align Add To Cart button with a quantity box.
    By line1 in forum General Questions
    Replies: 5
    Last Post: 18 Oct 2012, 07:20 PM
  2. Separating Quantity Box and Add to Cart button
    By k8ee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Sep 2010, 03:53 PM
  3. Add to Cart button replaced by quantity box
    By jwebster8 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Aug 2010, 06:37 PM
  4. Aligning Quantity Box and Add to Cart Button
    By eyal8r in forum General Questions
    Replies: 14
    Last Post: 24 Feb 2010, 04:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg