Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Apply Low Order Fee for only the difference missing

    hello all!!

    I have looked through the forums for the answer to this question:

    How can I have the ot_loworderfee to apply ONLY to the difference amount the customer is missing?

    EXAMPLE

    Purchased (1) APPLE $2.50
    Store minimum: $100
    Low Order Fee: 10%

    Right now, it calculates for the Low Order Fee of $0.25 (10% of the $2.50) when I would like $9.75 (10% of $97.50)

    How can I configure this setting?

    Thank you very much

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

    Default Re: Apply Low Order Fee for only the difference missing

    You would need to customize the Order Total module for Low Order ot_loworderfee ...

    You could change the code:
    Code:
    // calculate from flat fee or percentage
                if (substr(MODULE_ORDER_TOTAL_LOWORDERFEE_FEE, -1) == '%') {
                  $low_order_fee = ((MODULE_ORDER_TOTAL_LOWORDERFEE_ORDER_UNDER - $order->info['subtotal']) * (MODULE_ORDER_TOTAL_LOWORDERFEE_FEE/100));
                } else {
                  $low_order_fee = MODULE_ORDER_TOTAL_LOWORDERFEE_FEE;
                }
    NOTE: I did not test this with tax but it does produce the charge of $9.75 when set to 10% on orders set to less than 100.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!]
    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!

  3. #3
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Apply Low Order Fee for only the difference missing

    Hey Ajeh!

    Thank you so much for your reply. I do not plan to tax the difference anyways so this might work out nicely for me. I will give this a test and see how it goes!

    Thank you again.

 

 

Similar Threads

  1. Low order Fee exception for walk in store?
    By sparkbook in forum General Questions
    Replies: 3
    Last Post: 29 Sep 2010, 06:23 AM
  2. Low Order Fee for Group Discount members only
    By vandiermen in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 20 Apr 2010, 01:15 AM
  3. Coupon not allowing the Low Order Fee
    By jensurge in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 4 Jan 2009, 10:49 AM
  4. Eliminating low-order fee for certain products
    By bblinn in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 14 Nov 2008, 02:42 PM
  5. Low order fee on Discount groups only
    By shanghai in forum General Questions
    Replies: 0
    Last Post: 11 May 2008, 04:07 PM

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