Thread: Max Quanity

Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009
    Posts
    11
    Plugin Contributions
    0

    Default Max Quanity

    I am trying to change the default "Product Qty Maximum" from 0 to 1

    I am also trying to put a default "1000" in the "Products Quantity" box

    Can someone tell me how to do this.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Max Quanity

    Quote Originally Posted by tjmuse View Post
    I am trying to change the default "Product Qty Maximum" from 0 to 1

    I am also trying to put a default "1000" in the "Products Quantity" box

    Can someone tell me how to do this.
    This is done through the product type settings. Look under the products/categories drop down then product types, then for each product type that you want to apply those settings for you can do that. Help?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Mar 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Max Quanity

    I looked there and could not find either one of those on that page. I had changed some other setting there but could not change those 2.

    Quote Originally Posted by mc12345678 View Post
    This is done through the product type settings. Look under the products/categories drop down then product types, then for each product type that you want to apply those settings for you can do that. Help?

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Max Quanity

    Quote Originally Posted by tjmuse View Post
    I looked there and could not find either one of those on that page. I had changed some other setting there but could not change those 2.

    Okay, so the other place to modify it would be in the admin/includes/modules/product/collect_info.php file. Where the value of 'products_quantity_order_max' => '0', is set... Around line 37.

    Change that to a '1' and change 'products_quantity' => '', to the value desired.

    Do this, for each of the product types, or possible to set a definition type for this, and use SQL to offer an option in the product types area like I had directed you the first time. Sorry... :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,872
    Plugin Contributions
    96

    Default Re: Max Quanity

    Quote Originally Posted by tjmuse View Post
    I am trying to change the default "Product Qty Maximum" from 0 to 1

    I am also trying to put a default "1000" in the "Products Quantity" box

    Can someone tell me how to do this.
    This can be done, procedurally, without changing any code. Create a product that you will use as a template for future products that you define, setting "Product Qty Maximum" to 1 and "Products Quantity" to 1000. To create a new product, use the product Copy icon (the blueish-purple one with a C in it) to create a copy of that template product. Edit that copy, providing the details of the new product -- its maximum will be set to 1 and quantity to 1000, just like the "template" product.

  6. #6
    Join Date
    Mar 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: Max Quanity

    I found that around line 16 that I was able to put "1000" in the Product Quantity field rather than the default blank box.

 

 

Similar Threads

  1. Stock Quanity
    By karenkte in forum General Questions
    Replies: 1
    Last Post: 10 Jul 2013, 12:29 PM
  2. stock quanity
    By curtisadance in forum General Questions
    Replies: 1
    Last Post: 30 Apr 2011, 09:43 AM
  3. Quanity Discounts
    By frenchy232 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Dec 2010, 01:27 PM
  4. Specials - Quanity
    By n8pbm in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 9 Jun 2006, 05:06 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