Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I set cart to not accept orders under $20.00!


deacon470

Recommended Posts

Add to checkout_shipping.php

 

if ($cart->show_total() < 20) tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, 'error_message=' . urlencode(SPEND_MORE_MONEY)));

 

Add to includes/languages/english.php

 

define('SPEND_MORE_MONEY', 'Spend More Money You Fool');

Link to comment
Share on other sites

Add to checkout_shipping.php

 

if ($cart->show_total() < 20) tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, 'error_message=' . urlencode(SPEND_MORE_MONEY)));

 

Add to includes/languages/english.php

 

define('SPEND_MORE_MONEY', 'Spend More Money You Fool');

 

Nice one, good see someone else is posting on the forum armed with a glass of wine

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...