You have this section of code:
if ($pass == 'true') {
$cart_content_type = $_SESSION['cart']->get_content_type();
$gv_content_only = $_SESSION['cart']->gv_only();
if ($cart_content_type == 'physical' or $cart_content_type == 'mixed') {
$charge_it = true;
} else {
// check to see if everything is virtual, if so - skip the low order fee.
if ((($cart_content_type == 'virtual') and MODULE_ORDER_TOTAL_LOWORDERFEE_VIRTUAL == 'true')) {
$charge_it = false;
if ((($gv_content_only > 0) and MODULE_ORDER_TOTAL_LOWORDERFEE_GV == 'false')) {
$charge_it = true;
}
}
if ((($gv_content_only > 0) and MODULE_ORDER_TOTAL_LOWORDERFEE_GV == 'true')) {
// check to see if everything is gift voucher, if so - skip the low order fee.
$charge_it = false;
if ((($cart_content_type == 'virtual') and MODULE_ORDER_TOTAL_LOWORDERFEE_VIRTUAL == 'false')) {
$charge_it = true;
}
}
}
//end else - $pass is still open
}
//end pass
NOTE: $charge_it is using true or false ...
However, everywhere else, $charge_it is using: 'true' and 'false' ...
Same with $usps ...
Not sure if there is an issue caused by this as I have not had time to test this module ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!