Let's say you were doing this with Check/Money Order moneyorder you could try the code in
RED:
Code:
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
// bof: disable on orders less than 100
if (!IS_ADMIN_FLAG) {
global $order;
if ($order->info['total'] < 100) {
$this->enabled = false;
}
}
// eof: disable on orders less than 100
Bookmarks