Problem: adding a coupon that brings the total to $0.00 does not activate freecharger. It still shows all payment types (except free charger) and requires a choice of payment: Paypal, credit card, or check/mo.
I wasn't sure if I should put this in the Payment module section or the add-ons section. If I need to repost it, please let me know.
I am using v1.3.8 new install not an upgrade with the following (so far) mods installed:
- sunflower_orange-0-5 template
- contact us add subject v2
- credit card sidebox 1-2-5
- encrypted master password 1-2
- module manager v16
- quickbooks merchant services 1-9a
- oscommerce data importer 1-8 (moved the data, removed the transfer files)
- no logo v1
- cross sell just another cross sell mod rev186
- enhanced who's online 1-0-3
- EPv1.2.5.4
- image handler 2.0-zc13
- sales report rev104
- all security patches & upgrades listed in the announcements
- business activity report1-5-0
- improved attributes controller1-1b2
- mailchimp ecommerce reporting 1-0-1
- monthly sales and tax summary report 1-3
- newsletter discount 1-3
- sales tax summary report 2-0
- order steps tableless
- fast easy checkout w/ easy sign up & login
- Server OS: Linux 2.6.24.2-AM
- Database: MySQL 5.0.32
- HTTP Server: Apache/2.2.11 (Unix)
- PHP Version: 4.4.8 (Zend: 1.3.0)
- PHP Safe Mode: Off
- PHP File Uploads: On
- Max Size: 2M
- POST Max Size: 8M
Hopefully that is enough information to get this sorted out
Problem: adding a coupon that brings the total to $0.00 does not activate freecharger. It still shows all payment types (except free charger) and requires a choice of payment: Paypal, credit card, or check/mo.
Freecharger is activated in the admin and is set to sort order 1
Fast and Easy Checkout Configuration:
Fast and Easy Checkout true
One Page Checkout false
Checkout Confirmation Alternate Text Your order is being processed, please wait...
Display Checkout in Split Column false
Activate Drop Down List false
Gift Wrapping Module Switch false
Activate Gift Message Field false
Drop Down List Options Option 1,Option 2,Option 3,Option 4,Option 5
Activate Checkbox Field false
Easy Sign-Up and Login true
Display Order Total true
Display Confidence Box false
COWOA Position side
Confirm Email true
Shipping Address true
Copy Billing true
Master Password true
Checkout Without Account false
Checkout Without Account Only false
Hide Email Options For No Account true
Automatic LogOff for No Account false
Per a recommendation from another thread I also changed this function in includes/classes/order_total.php from this:
Code:
function pre_confirmation_check() {
global $order, $credit_covers;
if (MODULE_ORDER_TOTAL_INSTALLED) {
$total_deductions = 0;
reset($this->modules);
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ( $GLOBALS[$class]->credit_class ) {
$order_total = $GLOBALS[$class]->get_order_total();
if (is_array($order_total)) $order_total = $order_total['total'];
$total_deductions = $total_deductions + $GLOBALS[$class]->pre_confirmation_check($order_total);
}
}
$difference = $order->info['total'] - $total_deductions;
if ( $difference <= 0.009 ) {
$credit_covers = true;
}
}
}
to this:
Code:
function pre_confirmation_check() {
global $order, $credit_covers;
if (MODULE_ORDER_TOTAL_INSTALLED) {
$total_deductions = 0;
reset($this->modules);
$orderInfoSaved = $order->info;
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ( $GLOBALS[$class]->credit_class ) {
$order_total = $GLOBALS[$class]->get_order_total();
if (is_array($order_total)) $order_total = $order_total['total'];
$total_deductions = $total_deductions + $GLOBALS[$class]->pre_confirmation_check($order_total);
}
else
{
$GLOBALS[$class]->process();
$GLOBALS[$class]->output = array();
}
}
$difference = $order->info['total'] - $total_deductions;
if ( $difference <= 0.009 ) {
$credit_covers = true;
}
$order->info = $orderInfoSaved;
}
}
but changing it back has no effect on the issue.
Here it the website: http:// bestsewingdeals.com/zen-cart/
You can test the problem using:
Test account: junkmail @ arkanddove.com (no spaces)
password: 123456
coupon code: TEST (ignore the text in the box, I haven't updated it yet, just click the refresh button to apply the discount, btw in case it matters, using the enter key instead of the refresh button does not resolve the issue)
must have $5 in the cart to activate the coupon
Does anyone have any idea where to start? Are there any known conflicts? Is anyone else running into this issue?
I can copy and paste any code you can write but I can't write it to save my life, I'd greatly appreciate any help you can provide.
Blessings,
Krisann
Keywords: freecharger, free, coupon, discount, FEC, fast easy checkout, requiring payment, requires payment
Bookmarks