Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Free Shipping - Different $ for different countries

    Hi,

    At the moment I have:

    - Free shipping over $100 set for Australia only orders in the order total module
    - Free shipping over $150 for New Zealand orders through the free shipping module

    I'd like to add a third free shipping level for international purchases, is there any easy way of doing this?

    Katie
    www.wiredforfibre.com.au

  2. #2
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    80
    Plugin Contributions
    0

    Default Re: Free Shipping - Different $ for different countries

    Does anyone have any ideas on this?

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

    Default Re: Free Shipping - Different $ for different countries

    You could customize the ot_shipping.php module ...

    Turn it on for Free Shipping ...

    Then customize the code in the function ot_shipping to something like:
    Code:
          $this->output = array();
          if (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') {
            switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) {
              case ($order->delivery['country_id'] == 13 && (($order->info['total'] - $order->info['shipping_cost']) > 100) ):
                $extra_pass = true;
                break;
              case ($order->delivery['country_id'] == 153 && (($order->info['total'] - $order->info['shipping_cost']) > 150) ):
                $extra_pass = true;
                break;
              case 'national':
                if ($order->delivery['country_id'] == STORE_COUNTRY) $pass = false; break;
              case 'international':
                if ($order->delivery['country_id'] != STORE_COUNTRY) $pass = false; break;
              case 'both':
                $pass = true; break;
              default:
                $pass = false; break;
            }
    I have not tested or played etc. with this ... I am guessing this is the changes needing off the top of my head ...
    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!

 

 

Similar Threads

  1. cant config for shipping different countries different rates
    By vanleab in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Mar 2010, 05:10 AM
  2. different shipping for different countries
    By timdwyer42 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Jun 2009, 12:11 PM
  3. Specify shipping fees for different cities in different countries?
    By Rowan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Sep 2008, 09:41 AM
  4. Shipping, Free for some, different countries
    By atsak in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 10 Sep 2007, 04:22 AM
  5. Ordering, orders editing, different shipping for different countries
    By jeniczek in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Sep 2006, 05:58 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