Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    27
    Plugin Contributions
    0

    Default Change Quantity text boxes to dropdowns?

    New here, have searched for this, but can't find another thread on this topic. Appreciate all the info I have received thus far.

    As title says, I am wanting to change the text boxes for quantity of product to dropdown menus. I believe this will allow my customers to avoid mistypes and such.

    Anyone ever done this?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change Quantity text boxes to dropdowns?

    Remove the text box attribnutes and add ones for dropdown

    https://www.zen-cart.com/tutorials/index.php?article=57
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Change Quantity text boxes to dropdowns?

    Thanks for the link kobra.

    I haved looked through the option name, option value, and attributes controller menus, and while I was greatly confused at first, I think I have begun to figure them out.

    However, the price text boxes are there by default. How do I remove them? Let me start there, and I will then figure out how to replace them with dropdown boxes.

    Thanks

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change Quantity text boxes to dropdowns?

    However, the price text boxes are there by default. How do I remove them?
    For them to be displayed you have added them as attributes...
    For the products where thet appear - using the admin - attributes controllwe - remove/delete them
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Change Quantity text boxes to dropdowns?

    kobra,

    I really appreciate your replies. I think we may be getting our wires crossed, though.

    Here is the page I am talking about. (Just beginning this site, the reason for only a few test products).

    I simply installed ZC, added a template, and haven't added any attributes. It isn't the end of the world if I can't add what I want, or, as I am looking at the attributes and don't really understand them well, if I am going to have to add them one product at a time, I will forget about it, as I will probably have 500-600 products on here.

    Hopefully I explained it a little better. I just checked the Attributes page, and there is nothing there.

    Thanks

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Change Quantity text boxes to dropdowns?

    It sounds like what you want is to change the product listing quantity boxes into a quantity dropdown:

    1
    2
    3
    4
    etc.

    There's no mod to do that, so you would need to modify the code. There's a mod here that changes the DOB section of the Create Account page into dropdowns that might give you some ideas. Wont be easy, I don't think.

    http://www.zen-cart.com/index.php?ma...roducts_id=396

 

 

Similar Threads

  1. v155 Add text attribute boxes based on quantity ordered
    By badarac in forum General Questions
    Replies: 3
    Last Post: 27 May 2016, 03:38 PM
  2. Change Text on Side Boxes
    By flex67 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Sep 2010, 01:43 PM
  3. Change heading text on side boxes
    By zerocool9455 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jul 2010, 08:39 PM
  4. Quantity text boxes?
    By davec in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Aug 2008, 01:09 AM
  5. Change text in attribute quantity popup?
    By Spectrum-X in forum General Questions
    Replies: 5
    Last Post: 8 May 2007, 06:20 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