magicalabc Posted March 3, 2014 Share Posted March 3, 2014 I have set the minimum purchase total to $50.00, but front office is showing the following when a user tries to buy less that $50.00..."A minimum purchase total of 0 is required in order to validate your order."Note that is says zero instead of 50 dollars. I have tried saving the setting several times, clearing cache, and force compile, but it is not updating. I googled and found this solution below, but I tried, still not working. 1. Open file prestashop_1.5.1.0\controllers\front\OrderOpcController.php2. Search for "A minimum purchase total of"3. In this line you will see following statement:Tools::displayError('A minimum purchase total of %d is required in order to validate your order.'),4. Replace the %d with %s and it works !!! Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted March 3, 2014 Share Posted March 3, 2014 Prestashop version? Are you using the one step checkout as the posted solution? Default theme? Link to comment Share on other sites More sharing options...
magicalabc Posted March 4, 2014 Author Share Posted March 4, 2014 Prestashop version? Are you using the one step checkout as the posted solution? Default theme? Hi, thank you for you reply.I am using prestashop 1.5.0.17, five step check out and non default theme. Link to comment Share on other sites More sharing options...
NemoPS Posted March 4, 2014 Share Posted March 4, 2014 That is a beta version, you should definitely upgrade to a stable one (really) Link to comment Share on other sites More sharing options...
magicalabc Posted March 4, 2014 Author Share Posted March 4, 2014 That is a beta version, you should definitely upgrade to a stable one (really) which version should I install now Link to comment Share on other sites More sharing options...
NemoPS Posted March 4, 2014 Share Posted March 4, 2014 The latest one, 1.5.6.2 Link to comment Share on other sites More sharing options...
magicalabc Posted March 5, 2014 Author Share Posted March 5, 2014 That is a beta version, you should definitely upgrade to a stable one (really) I tried installation several times without success. Is there any service that can install the new version for me? Link to comment Share on other sites More sharing options...
NemoPS Posted March 5, 2014 Share Posted March 5, 2014 How did you try? auto upgrade? Try and get the latest version of the 1 click upgrade module from the addons store Link to comment Share on other sites More sharing options...
magicalabc Posted March 6, 2014 Author Share Posted March 6, 2014 How did you try? auto upgrade? Try and get the latest version of the 1 click upgrade module from the addons store Thank you for your help, I have used 1 click upgrade module. But after i upgraded to the new version, all my images are gone. Even my images in TM Banner Block module and Camera Slideshow module cannot be shown in frontpage, What shall I do now? TM Banner Block Link to comment Share on other sites More sharing options...
NemoPS Posted March 6, 2014 Share Posted March 6, 2014 Images must be regenerated, and you need a template which is compatible with 1.5 of course. As for that module, it needs to be compatible as well Link to comment Share on other sites More sharing options...
Tia© Posted March 11, 2014 Share Posted March 11, 2014 Hi, i have the 1.5.6.1 version and the code is A minimum purchase total of %1s (tax excl.) is required in order to validate your order, current purchase total is %2s (tax excl.) but the %1s is not show. What's the problem? Thanks Link to comment Share on other sites More sharing options...
jtbookworm Posted March 25, 2014 Share Posted March 25, 2014 I have the same problem, but in addition I set the minimum to ZERO so I can purchase something but I still get that message. It was originally minimum purchase $100, I removed that minimum and still cannot purchase anything under $100 without getting that error message. Anyone have any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts