Jump to content

minimum purchase total wrong calculation.


Recommended Posts

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?

 

Freeshipping.jpg

post-396492-0-15906400-1350210035_thumb.jpg

Link to comment
Share on other sites

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?

 

Freeshipping.jpg

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
×
×
  • Create New...