ZikmaSolutions Posted March 16, 2016 Share Posted March 16, 2016 Hello all, please can someone help me how to fix this problem. I have some problems about reduction limit or something like that and customers are not allowed to order item. How to avoid this error and let customer order product with his regular final price?? [PrestaShopException] Property OrderDetail->reduction_amount is not valid at line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field); 833. if ($message !== true) 834. { 835. if ($die) 836. throw new PrestaShopException($message); 837. return $error_return ? $message : false; 838. } 839. } 840. 841. return true; Link to comment Share on other sites More sharing options...
tuk66 Posted March 21, 2016 Share Posted March 21, 2016 Did you fix it? Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted March 30, 2016 Author Share Posted March 30, 2016 No I found the problem. Problem is a reducted price with "-". On this website i have 2 displayed price. And When final price is not lower then regular price , order not work. Link to comment Share on other sites More sharing options...
tuk66 Posted March 30, 2016 Share Posted March 30, 2016 So the reduction_amount value is negative. Of course, it is not valid amount. Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted March 31, 2016 Author Share Posted March 31, 2016 (edited) Negative amount is okay for me. I just want to skip that error. How to tell presta " Let all of them to buy for that displayed price" ? Edited March 31, 2016 by ZikmaSolutions (see edit history) Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted April 4, 2016 Author Share Posted April 4, 2016 bump bump bump Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now