Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trouble using minimum order


bgingras

Recommended Posts

Everything works but it's not displaying a message if your not at the mimimum...I'm still getting used to php but copied this code directly:

 

 

// minimum order total

?>

<?php

 

if ( $cart->show_total() < 100) {

?>

<tr>

<td class="stockWarning" align="center"><br><?php echo sprintf(TEXT_ORDER_UNDER_MIN_AMOUNT, $currencies->format(MIN_ORDER_AMOUNT)); ?></td>

</tr>

<?php

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...