cortega Posted February 20, 2013 Share Posted February 20, 2013 (edited) I created a common store shops, and when I manage stocks to any product, the price and requires me what I want to do, is not mandatory. In AdminStockManagementController.php have seen the following: array( 'type'=>'text', 'label'=>$this->l('Unit price (tax excl.):'), 'name'=>'price', 'required'=>true, 'size'=>10, 'maxlength'=>10, 'desc'=>$this->l('Unit purchase price or unit manufacturing cost for this product (tax excl.)'), 'hint'=>sprintf($this->l('Last unit price (tax excl.): %s'), $last_sm_unit_price_te), ), I tried to put required => false but I keep saying that the price is incorrect, when I try to put numbers to a product without price from the stock management. Edited February 20, 2013 by cortega (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted February 22, 2013 Share Posted February 22, 2013 There are some checks on price values in function postProcess (a little dow in the file) Maybe there needs some fixing be done as well... My 2 cents, pascal Link to comment Share on other sites More sharing options...
Recommended Posts