Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Freecharger not activating when discounts applied to bring total to $0.00

    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

  2. #2
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Re: Freecharger not activating w/Fast Easy Checkout mod v1.4.5

    It won't work with gift certificates either.

  3. #3
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Re: Freecharger not activating w/Fast Easy Checkout mod v1.4.5

    Sorry, I tried to edit the other post but I ran out of time...

    After redeeming a GC code, it says "you've redeemed..." at the top of the page but the box showing that the GC is active and the GV balance is missing until you refresh the page.

    Then when you try to check out using the GC to cover the total order ($0 balance order) it shows all payment methods except freecharger and requires users to choose one or it spits the error 'choose a payment'.

    Anyone?

    Blessings,
    Krisann

  4. #4
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Re: Freecharger not activating w/Fast Easy Checkout mod v1.4.5

    Another update, if I use ONLY a GC to make a checkout with any amount over 0, it works.

    I still have to refresh twice to make the GC application box appear but if I have any amount other than a $0 balance after a coupon I can checkout with just a gift certificate. I will have to word the box to let the customer know exactly what to do (not good, people don't bother to read) because the payment choices are all still showing.

    The problem is a $0 order - there is no way to checkout without choosing check/mo or inputing credit card information, even if you have a GC balance.

    frustrating!

    Is it possible that I need to move the process before something else?

  5. #5
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    bug Re: Freecharger not activating - maybe NOT FEC?

    Freecharger will not display at all when a coupon is used to make the total $0 BUT if I put only FREE items into the cart I CAN checkout with freecharger.

    Hmm, maybe this isn't a FEC issue, maybe it is something else?


    None of these appears to fix or break anything.

    I've also tried using different browsers with the same trouble. I am running FF Firebug and the DTB and not coming up with anything on that end.

    • I tried a 100% coupon vs. a fixed price coupon both bringing the cart to $0 - no difference.
    • I tried disabling and reenabling the freecharger module, no change.
    • I've tried different fake customers with different email accounts in areas with and without tax; used different products, etc. same result everytime.

    Anyone have any other ideas?


  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Freecharger not activating w/Fast Easy Checkout mod v1.4.5

    This is a bug without all the add ons ... so we will look into it further ... thanks ...
    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: v1.5.5]
    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!

  7. #7
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Re: Freecharger not activating w/Fast Easy Checkout mod v1.4.5

    Quote Originally Posted by Ajeh View Post
    This is a bug without all the add ons ... so we will look into it further ... thanks ...
    THANK YOU!! I thought I was losing my mind. I have been searching and searching and trying every possible suggestion.

    The one thing I noticed while looking at my files is in the includes/classes/order_total.php there is a section that says it should load the discount information AFTER the payment options have been displayed but in order for the freecharger to work shouldn't they load before the payment options are displayed?

    It is a pure guess because as I have mentioned, I am a copy & paste coder.

    Here is the info just in case it helps:

    line 138 (but I have FEC installed so it is probably closer to line 120) //This function is called in checkout payment after display of payment methods. .... function credit_selection()

    Thanks again!

    Blessings,
    Krisann

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Freecharger not activating when discounts applied to bring total to $0.00

    Now one thing I am noticing is that while the Free Charger is not showing, even if I pick the Check/Money Order I am still showing as the Payment Method the:
    Gift Certificate/Coupon

    Which is, actually how I got the $5.00 off to give me the $0.00 order ...

    Are you getting other results besides this when the Order is $5.00 and the Discount Coupon is $5.00 off ... Do you show the order as Payment Method Gift Certificate/Coupon after the order is completed in the Account information?
    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: v1.5.5]
    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!

  9. #9
    Join Date
    Jun 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Freecharger not activating when discounts applied to bring total to $0.00

    I'm experiencing the exact same issue at www.stinkball.com. Free Charger doesn't show up when the order total gets to zero based on a coupon. We just sent a bunch of 100% coupons to friends of the site and they're of no use!

    Please help!

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Freecharger not activating when discounts applied to bring total to $0.00

    Do your orders all end up showing as:
    Payment Method:
    Gift Certificate/Coupon
    If so, isn't that what was done? Meaning, a Discount Coupon or GV brought the balance to $0.00 ... vs an Order with $0.00 products and $0.00 shipping which then uses the Free Charger?

    Does the Payment Method, regardless of the Payment Method selected switch to: Gift Certificate/Coupon ... regardless of which Payment Method is selected and continue through the checkout when the Discount Coupon/Gift Certificate takes the balance to $0.00?
    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: v1.5.5]
    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!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Disable coupons and group discounts when quantity discount applied?
    By abcisme in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 12 Nov 2015, 12:31 PM
  2. Total after Coupon Applied Not Showing
    By manythanks in forum General Questions
    Replies: 6
    Last Post: 20 Jan 2015, 04:47 AM
  3. Quantity discounts not being applied to Sale products
    By tj1 in forum Setting Up Specials and SaleMaker
    Replies: 8
    Last Post: 2 Jan 2014, 09:11 PM
  4. Order Total wrong when Group Discount Applied
    By Brent in forum General Questions
    Replies: 4
    Last Post: 16 Jan 2011, 02:59 AM
  5. Salemaker discounts not applied to attribute prices
    By tvadpro in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 May 2008, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR