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.
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.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
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...
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.
I found that around line 16 that I was able to put "1000" in the Product Quantity field rather than the default blank box.