Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010
    Posts
    9
    Plugin Contributions
    0

    Default Countries and domestic zones.

    Hello.
    I use the Zone Rates shipping for International and Domestic shipping.
    For International - all OK.(I define countries by ISO_CODE 2).
    But for Domestic....
    Can I define my Domestic zones by domestic_zone_name or Domestic_zone_code?
    Example for file ZONES.php :

    // class methods
    function quote($method = '') {
    global $order, $shipping_weight, $shipping_num_boxes, $total_count;
    $dest_country = $order->delivery['country']['iso_code_2'];
    $dest_domestic_zone = $order->delivery['domestic_zone']['domestic_zone_code'];
    $dest_zone_id;

    if($dest_country == "RU") {
    $dest_zone_id = $dest_domestic_zone;
    } else {
    $dest_zone_id = $dest_country;
    }
    $dest_zone = 0;
    $error = false;

    Now it does not work

    Thanks

  2. #2
    Join Date
    Nov 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Countries and domestic zones.

    Hi.
    May be my question was not correct.
    I use Zone Rates module.
    How can I use this module for international zones (countries) and domestic zones (states in my country) at the same time?
    Best regards...

 

 

Similar Threads

  1. Only two zones, Domestic and International
    By rajoo.sharma in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 22 Aug 2009, 07:37 AM
  2. remove countries and zones
    By Nanettedp in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Jan 2008, 12:22 AM
  3. zones and countries
    By mcsilvio in forum Basic Configuration
    Replies: 3
    Last Post: 17 May 2007, 03:01 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