Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Any way to set a min order amount? (say $10)?


Recommended Posts

Get the value amount of the cart (A). Set in Admin/application_top.php the value of your min order amount (B).


In shopping_cart.php:


B - A = C


if C is a positive number, then say:


"You must spend an extra $ C before you can check out."


In checkout_shipping.php put in a check which says:


if B < A then redirect back to shopping_cart.php


Pretty simple.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...