Thread: Low Order Fee

Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2007
    Posts
    56
    Plugin Contributions
    0

    Default Low Order Fee

    I have the Low Order Fee Set Up so that it charges $xx.xx on orders under 1000.00. I need it to only add the the fee if the order is not sent to the US.

    I have tried using both of the options listed:

    Attach Low Order Fee On Orders Made
    Attach low order fee for orders sent to the set destination.

    national
    international
    both
    Neither gave me the expected result of the fee being charged for items being shipped outside the US.

    Help

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

    Default Re: Low Order Fee

    If you can edit the file:
    /includes/modules/order_total/ot_loworderfee.php

    And change the code to include the extra test for 223:
    PHP Code:
        function process() {
          global 
    $order$currencies;

          if (
    MODULE_ORDER_TOTAL_LOWORDERFEE_LOW_ORDER_FEE == 'true') {
            switch (
    MODULE_ORDER_TOTAL_LOWORDERFEE_DESTINATION) {
              case 
    'national':
                if (
    $order->delivery['country_id'] == STORE_COUNTRY$pass true; break;
              case 
    'international':
                if (
    $order->delivery['country_id'] != STORE_COUNTRY$pass true; break;
              case 
    'both':
                
    $pass true; break;
              default:
                
    $pass false; break;
            }

            
    // force US only
            
    if ($order->delivery['country_id'] != 223) {
              
    $pass true;
            } else {
              
    $pass false;
            } 
    Last edited by Ajeh; 29 Jan 2008 at 01:51 AM. Reason: fix typo != 223
    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!

  3. #3
    Join Date
    May 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Low Order Fee

    Can something similar be done if a specific shipping module (storepickup) is selected? I know it's got to be possible... I just don't know the coding well enough.

 

 

Similar Threads

  1. v151 Low order fee by manufacturer?
    By CabinetGuy in forum Managing Customers and Orders
    Replies: 12
    Last Post: 6 Mar 2024, 04:56 PM
  2. Low Order Fee
    By tsrplatelayer in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 31 Jul 2016, 08:58 AM
  3. Low Order Fee
    By loaner in forum General Questions
    Replies: 3
    Last Post: 10 Sep 2011, 12:50 AM
  4. low order fee
    By CCD in forum Managing Customers and Orders
    Replies: 2
    Last Post: 15 Nov 2007, 07:12 AM

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