Thread: Quantity Box

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Quantity Box

    Here is my scenario:

    I have a product that is priced $1.00 to use as a donation. The $1.00 price is hidden. The customer can now enter in a quantity that corresponds to the amount that they would like to donate.

    Here is my problem, how can I change the qty number just for that product in the cart from the actual qty that the customer entered to a qty of 1 but still show the orginal final price of the product qty? I have been looking at the shopping_default page and haven't figured out how to modify it. Any ideas?

    Thanks! :)
    Zen-Cart, The Greatest Shopping Cart!

  2. #12
    Join Date
    Feb 2006
    Location
    colorado
    Posts
    74
    Plugin Contributions
    0

    link problem Re: Quantity Box

    Quote Originally Posted by rambo View Post
    I think this needs a fix. The quantity box is also on the cart page.

    Scenario:
    No quantity box on the product page. User may still return to the product page and add that product again, or wish to add another on the cart page. If you have quantity turned off on the product page, quantity is still listed on the cart page, but not in an editable box. The rollover on the update cart button tells a user to highlight the quantity and change it. You can't.


    I would suggest the option to turn off quantity box on the product page, and turn on quantity box on the cart page. Isolate these two.


    Mike.
    I'm having this similar error on my site. I get a quantity in the cart, but there is no box and the quantity amount is not editable.
    This looks very familier to me right now and I cannot figure it out. This thread of my origonal problem was, I thought with the Purple Shades template but it has turned out not to be the case......http://www.zen-cart.com/forum/showthread.php?t=45224
    I can put my DB in a clean, unmoded, install of 1.3.6 and the error shows up.

    Can someone assist as I am having no luck fixing this.


    Thanks
    CBO

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

    Default Re: Quantity Box

    If the add to cart button is sitting on the quantity to add to cart ... just change the button to look like:
    Donation Amount

    vs

    Add to Cart

    and keep the qty input box so they just type in the Donation same as they would the number to order on a 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!

  4. #14
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Quantity Box

    Hey Ajeh,

    I have modified my product_info_display.php page using if statements. I am now on the checkout page.

    The checkout page will have the qty of the donation and the dollar amount. For example they donate $10. The checkout page will now display a quantity of 10 and the price will show $10. How can I change the quantity just for that one item to just display a quantity of 1 but not change the price column. Do you know where could I apply an elseif statement.

    Thanks
    Zen-Cart, The Greatest Shopping Cart!

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

    Default Re: Quantity Box

    tpl_checkout_confirmation_default.php

    Find this line:
    PHP Code:
    <?php // now loop thru all products to display quantity and price ?>
    IF away ...
    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!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 5 Aug 2015, 01:11 PM
  2. Position quantity update button under quantity box
    By JC.M in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Feb 2010, 02:43 PM
  3. No quantity box
    By htown in forum Basic Configuration
    Replies: 1
    Last Post: 31 Dec 2008, 05:50 PM
  4. Quantity box needed instead of check box.
    By chris112 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Apr 2008, 02:42 PM
  5. Can't change the quantity in quantity box
    By stumped in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Dec 2006, 06:47 PM

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