Jump to content

Problem with minimum purchase total.


Recommended Posts

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.php
2. 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

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

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

  • 2 weeks later...

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

×
×
  • Create New...