Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How to set default 'Product Qty Minimum' to something other than 1

How to set default 'Product Qty Minimum' to something other than 1

Views: 821

Results 1 to 3 of 3
28 Jan 2013, 3:11 AM
#1
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

How to set default 'Product Qty Minimum' to something other than 1

My products are mostly sold in 6's. Every time I'm adding new products, one field I have to keep filling in is Product Qty Minimum. Is there a way to reset that default from 1 to 6? I will change it for the odd time that my product is not in 6's. Thank you for any help or advice you can provide.

28 Jan 2013, 5:42 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to set default 'Product Qty Minimum' to something other than 1

This is an admin core file - so save a copy of the original

admin/includes/modules/product/collect_info.php

About line 368 find and alter the value in red to "6"

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_quantity_order_min', ($pInfo->products_quantity_order_min == 0 ? [B]1[/B] : $pInfo->products_quantity_order_min)); ?></td>
28 Jan 2013, 5:50 AM
#3
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: How to set default 'Product Qty Minimum' to something other than 1

Thank you. I will make a copy and find that code. Much appreciated.