Moving my old site from OsCommerce 2.3 to Phoenix I would like activate/deactivate moneyorder.php payment module depending of the cart value.
On OsCommerce the code was :
Code: Select all
if(MODULE_PAYMENT_MONEYORDER_STATUS == 'True'){
if($_SESSION['cart']->total>299){
$this->enabled = true;
} else {
$this->enabled = false;
}
} else {
$this->enabled = false;
}
Any help will be welcome,
Thanks in advance,
Sandrine