View Single Post
  #9  
Old 10-19-2015, 11:27 AM
 
BrianY BrianY is offline
 

Advanced Member
  
Join Date: Nov 2011
Location: Georgia, USA
Posts: 74
 

Default Re: Default Product Values

Quote:
Originally Posted by razortw
Thanks.
To change the default quantity you should change the value of the AMOUNT_DEFAULT_INV_TRACK constant in the /classes/XLite/Model/Inventory.php file (line 49)
By default it is
Code:
const AMOUNT_DEFAULT_INV_TRACK = 1000;
Just change it to
Code:
const AMOUNT_DEFAULT_INV_TRACK = 1;
and re-deploy the store.

Igor,

If he upgrades XC5 will these changes remain?
__________________
Brian
X-Cart 4.7.3