winthur Posted October 14, 2012 Share Posted October 14, 2012 A minimum purchase total of 0 is required in order to validate your order. show even though i have set minimum validation to above certain amount i.e, i set minimum about in order to validate purchase is 8 bucks. but i add anything below 8 bucks it will show "A minimum purchase total of 0 is required in order to validate your order" how come is zero? calculation wrong? Where can i change to correct the calculation? Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted October 16, 2012 Share Posted October 16, 2012 The calculation is OK, but the display is not If you're using 1.5 open OrderOpcController.php or OrderController.php (depending on on whar kind of checkour are you using) find the row: Tools::displayError('A minimum purchase total of %d is required in order to validate your order.'), and replace is with: Tools::displayError('A minimum purchase total of %s is required in order to validate your order.'), This just replaces %d with %s. A minimum purchase total of 0 is required in order to validate your order. show even though i have set minimum validation to above certain amount i.e, i set minimum about in order to validate purchase is 8 bucks. but i add anything below 8 bucks it will show "A minimum purchase total of 0 is required in order to validate your order" how come is zero? calculation wrong? Where can i change to correct the calculation? 1 Link to comment Share on other sites More sharing options...
winthur Posted October 17, 2012 Author Share Posted October 17, 2012 (edited) Grazie! My man, it worked! can marked as solved now Edited October 17, 2012 by winthur (see edit history) Link to comment Share on other sites More sharing options...
Dead Posted November 29, 2012 Share Posted November 29, 2012 thanks. hope this is already in prestashop 1.5.3 Link to comment Share on other sites More sharing options...
todaytonight Posted January 22, 2013 Share Posted January 22, 2013 it is working with 1.5.2. thanks Link to comment Share on other sites More sharing options...
Recommended Posts