Is there someone who has the 2013 rates, please.
regards,

Comments

Tor Arne Thune’s picture

Here you go:


/**
 * @file
 * Define rates for the "public" Colissimo rates table.
 */

/**
 * Returns rates based on the Colissimo rates table for Métropole.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_france_metropole() {
  $rates = array(
    array('weight' => 0.25, 'price' => 550),
    array('weight' => 0.5, 'price' => 610),
    array('weight' => 0.75, 'price' => 690),
    array('weight' => 1, 'price' => 750),
    array('weight' => 2, 'price' => 850),
    array('weight' => 3, 'price' => 970),
    array('weight' => 5, 'price' => 1190),
    array('weight' => 7, 'price' => 1410),
    array('weight' => 10, 'price' => 1740),
    array('weight' => 15, 'price' => 2015),
    array('weight' => 30, 'price' => 2835),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo rates table for OM1.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_om1() {
  $rates = array(
    array('weight' => 0.5, 'price' => 870),
    array('weight' => 1, 'price' => 1315),
    array('weight' => 2, 'price' => 1795),
    array('weight' => 3, 'price' => 2275),
    array('weight' => 4, 'price' => 2755),
    array('weight' => 5, 'price' => 3235),
    array('weight' => 6, 'price' => 3715),
    array('weight' => 7, 'price' => 4105),
    array('weight' => 8, 'price' => 4675),
    array('weight' => 9, 'price' => 5155),
    array('weight' => 10, 'price' => 5635),
    array('weight' => 15, 'price' => 8035),
    array('weight' => 20, 'price' => 10435),
    array('weight' => 25, 'price' => 12835),
    array('weight' => 30, 'price' => 15235),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo rates table for OM2.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_om2() {
  $rates = array(
    array('weight' => 0.5, 'price' => 1040),
    array('weight' => 1, 'price' => 1570),
    array('weight' => 2, 'price' => 2770),
    array('weight' => 3, 'price' => 3970),
    array('weight' => 4, 'price' => 5170),
    array('weight' => 5, 'price' => 6370),
    array('weight' => 6, 'price' => 7570),
    array('weight' => 7, 'price' => 8770),
    array('weight' => 8, 'price' => 9970),
    array('weight' => 9, 'price' => 11170),
    array('weight' => 10, 'price' => 12370),
    array('weight' => 15, 'price' => 18370),
    array('weight' => 20, 'price' => 24370),
    array('weight' => 25, 'price' => 30370),
    array('weight' => 30, 'price' => 36370),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo International rates table for Zone A.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_zone_a_international() {
  $rates = array(
    array('weight' => 1, 'price' => 1615),
    array('weight' => 2, 'price' => 1785),
    array('weight' => 3, 'price' => 2155),
    array('weight' => 4, 'price' => 2525),
    array('weight' => 5, 'price' => 2895),
    array('weight' => 6, 'price' => 3265),
    array('weight' => 7, 'price' => 3635),
    array('weight' => 8, 'price' => 4005),
    array('weight' => 9, 'price' => 4375),
    array('weight' => 10, 'price' => 4745),
    array('weight' => 15, 'price' => 5465),
    array('weight' => 20, 'price' => 6185),
    array('weight' => 25, 'price' => 6905),
    array('weight' => 30, 'price' => 7625),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo International rates table for Zone B.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_zone_b_international() {
  $rates = array(
    array('weight' => 1, 'price' => 1980),
    array('weight' => 2, 'price' => 2170),
    array('weight' => 3, 'price' => 2625),
    array('weight' => 4, 'price' => 3080),
    array('weight' => 5, 'price' => 3535),
    array('weight' => 6, 'price' => 3990),
    array('weight' => 7, 'price' => 4445),
    array('weight' => 8, 'price' => 4900),
    array('weight' => 9, 'price' => 5355),
    array('weight' => 10, 'price' => 5810),
    array('weight' => 15, 'price' => 6850),
    array('weight' => 20, 'price' => 7890),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo International rates table for Zone C.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_zone_c_international() {
  $rates = array(
    array('weight' => 1, 'price' => 2320),
    array('weight' => 2, 'price' => 3110),
    array('weight' => 3, 'price' => 4090),
    array('weight' => 4, 'price' => 5070),
    array('weight' => 5, 'price' => 6050),
    array('weight' => 6, 'price' => 7030),
    array('weight' => 7, 'price' => 8010),
    array('weight' => 8, 'price' => 8990),
    array('weight' => 9, 'price' => 9970),
    array('weight' => 10, 'price' => 10950),
    array('weight' => 15, 'price' => 13360),
    array('weight' => 20, 'price' => 15770),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo International rates table for Zone D.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - price: An integer signifying the price.
 */
function colissimo_public_rates_zone_d_international() {
  $rates = array(
    array('weight' => 1, 'price' => 2640),
    array('weight' => 2, 'price' => 3970),
    array('weight' => 3, 'price' => 5290),
    array('weight' => 4, 'price' => 6610),
    array('weight' => 5, 'price' => 7930),
    array('weight' => 6, 'price' => 9250),
    array('weight' => 7, 'price' => 10570),
    array('weight' => 8, 'price' => 11890),
    array('weight' => 9, 'price' => 13210),
    array('weight' => 10, 'price' => 14530),
    array('weight' => 15, 'price' => 17130),
    array('weight' => 20, 'price' => 19730),
  );

  return $rates;
}

/**
 * Returns rates based on the Colissimo recommandé rates table for Métropole.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - reco: An associative array containing possible recommendation levels with
 *     the order's amount limit as key and the price as value.
 */
function colissimo_public_rates_france_metropole_recommande() {
  $rates = array(
    array(
      'weight' => 0.25,
      'reco' => array(
        5000 => 800,
        20000 => 890,
        40000 => 1010,
        60000 => 1130,
        80000 => 1250,
      ),
    ),
    array(
      'weight' => 0.5,
      'reco' => array(
        5000 => 860,
        20000 => 950,
        40000 => 1070,
        60000 => 1190,
        80000 => 1310,
      ),
    ),
    array(
      'weight' => 0.75,
      'reco' => array(
        5000 => 940,
        20000 => 1030,
        40000 => 1150,
        60000 => 1270,
        80000 => 1390,
      ),
    ),
    array(
      'weight' => 1,
      'reco' => array(
        5000 => 1000,
        20000 => 1090,
        40000 => 1210,
        60000 => 1330,
        80000 => 1450,
      ),
    ),
    array(
      'weight' => 2,
      'reco' => array(
        5000 => 1100,
        20000 => 1190,
        40000 => 1310,
        60000 => 1430,
        80000 => 1550,
      ),
    ),
    array(
      'weight' => 3,
      'reco' => array(
        5000 => 1220,
        20000 => 1310,
        40000 => 1430,
        60000 => 1550,
        80000 => 1670,
      ),
    ),
    array(
      'weight' => 5,
      'reco' => array(
        5000 => 1440,
        20000 => 1530,
        40000 => 1650,
        60000 => 1770,
        80000 => 1890,
      ),
    ),
    array(
      'weight' => 7,
      'reco' => array(
        5000 => 1660,
        20000 => 1750,
        40000 => 1870,
        60000 => 1990,
        80000 => 2110,
      ),
    ),
    array(
      'weight' => 10,
      'reco' => array(
        5000 => 1990,
        20000 => 2080,
        40000 => 2200,
        60000 => 2320,
        80000 => 2440,
      ),
    ),
    array(
      'weight' => 15,
      'reco' => array(
        5000 => 2265,
        20000 => 2355,
        40000 => 2475,
        60000 => 2595,
        80000 => 2715,
      ),
    ),
    array(
      'weight' => 30,
      'reco' => array(
        5000 => 3085,
        20000 => 3175,
        40000 => 3295,
        60000 => 3415,
        80000 => 3535,
      ),
    ),
  );

  return $rates;
}

/**
 * Returns recommendation levels based on the Colissimo Métropole rates table.
 *
 * $return array
 *   An associative array keyed by the recommendation level name with the
 *   order's amount limit as value.
 */
function colissimo_public_rates_france_metropole_recommande_recommendation_levels() {
  $reco_level = array(
    'R1' => 5000,
    'R2' => 20000,
    'R3' => 40000,
    'R4' => 60000,
    'R5' => 80000,
  );

  return $reco_level;
}

/**
 * Returns rates based on the Colissimo recommandé rates table for OM1.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - reco: An associative array containing possible recommendation levels with
 *     the order's amount limit as key and the price as value.
 */
function colissimo_public_rates_om1_recommande() {
  $rates = array(
    array(
      'weight' => 0.5,
      'reco' => array(
        5000 => 1120,
        20000 => 1210,
        40000 => 1330,
        60000 => 1450,
        80000 => 1570,
      ),
    ),
    array(
      'weight' => 1,
      'reco' => array(
        5000 => 1565,
        20000 => 1655,
        40000 => 1775,
        60000 => 1895,
        80000 => 2015,
      ),
    ),
    array(
      'weight' => 2,
      'reco' => array(
        5000 => 2045,
        20000 => 2135,
        40000 => 2255,
        60000 => 2375,
        80000 => 2495,
      ),
    ),
    array(
      'weight' => 3,
      'reco' => array(
        5000 => 2525,
        20000 => 2615,
        40000 => 2735,
        60000 => 2855,
        80000 => 2975,
      ),
    ),
    array(
      'weight' => 4,
      'reco' => array(
        5000 => 3005,
        20000 => 3095,
        40000 => 3215,
        60000 => 3335,
        80000 => 3455,
      ),
    ),
    array(
      'weight' => 5,
      'reco' => array(
        5000 => 3485,
        20000 => 3575,
        40000 => 3695,
        60000 => 3815,
        80000 => 3935,
      ),
    ),
    array(
      'weight' => 6,
      'reco' => array(
        5000 => 3965,
        20000 => 4055,
        40000 => 4175,
        60000 => 4295,
        80000 => 4415,
      ),
    ),
    array(
      'weight' => 7,
      'reco' => array(
        5000 => 4445,
        20000 => 4535,
        40000 => 4655,
        60000 => 4775,
        80000 => 4895,
      ),
    ),
    array(
      'weight' => 8,
      'reco' => array(
        5000 => 4925,
        20000 => 5015,
        40000 => 5135,
        60000 => 5255,
        80000 => 5375,
      ),
    ),
    array(
      'weight' => 9,
      'reco' => array(
        5000 => 5405,
        20000 => 5495,
        40000 => 5615,
        60000 => 5735,
        80000 => 5855,
      ),
    ),
    array(
      'weight' => 10,
      'reco' => array(
        5000 => 5885,
        20000 => 5975,
        40000 => 6095,
        60000 => 6215,
        80000 => 6335,
      ),
    ),
    array(
      'weight' => 15,
      'reco' => array(
        5000 => 8285,
        20000 => 8375,
        40000 => 8495,
        60000 => 8615,
        80000 => 8735,
      ),
    ),
    array(
      'weight' => 20,
      'reco' => array(
        5000 => 10685,
        20000 => 10775,
        40000 => 10895,
        60000 => 11015,
        80000 => 11135,
      ),
    ),
    array(
      'weight' => 25,
      'reco' => array(
        5000 => 13085,
        20000 => 13175,
        40000 => 13295,
        60000 => 13415,
        80000 => 13535,
      ),
    ),
    array(
      'weight' => 30,
      'reco' => array(
        5000 => 15485,
        20000 => 15575,
        40000 => 15695,
        60000 => 15815,
        80000 => 15935,
      ),
    ),
  );

  return $rates;
}

/**
 * Returns recommendation levels based on the Colissimo rates table for OM1.
 *
 * $return array
 *   An associative array keyed by the recommendation level name with the
 *   order's amount limit as value.
 */
function colissimo_public_rates_om1_recommande_recommendation_levels() {
  $reco_level = array(
    'R1' => 5000,
    'R2' => 20000,
    'R3' => 40000,
    'R4' => 60000,
    'R5' => 80000,
  );

  return $reco_level;
}

/**
 * Returns rates based on the Colissimo recommandé rates table for OM2.
 *
 * @return array
 *   An associative array containing the following for each weight limit option:
 *   - weight: An integer specifying the weight limit in kilograms.
 *   - reco: An associative array containing possible recommendation levels with
 *     the order's amount limit as key and the price as value.
 */
function colissimo_public_rates_om2_recommande() {
  $rates = array(
    array(
      'weight' => 0.5,
      'reco' => array(
        5000 => 1290,
        20000 => 1380,
        40000 => 1500,
        60000 => 1620,
        80000 => 1740,
      ),
    ),
    array(
      'weight' => 1,
      'reco' => array(
        5000 => 1820,
        20000 => 1910,
        40000 => 2030,
        60000 => 2150,
        80000 => 2270,
      ),
    ),
    array(
      'weight' => 2,
      'reco' => array(
        5000 => 3020,
        20000 => 3110,
        40000 => 3230,
        60000 => 3350,
        80000 => 3470,
      ),
    ),
    array(
      'weight' => 3,
      'reco' => array(
        5000 => 4220,
        20000 => 4310,
        40000 => 4430,
        60000 => 4550,
        80000 => 4670,
      ),
    ),
    array(
      'weight' => 4,
      'reco' => array(
        5000 => 5420,
        20000 => 5510,
        40000 => 5630,
        60000 => 5750,
        80000 => 5870,
      ),
    ),
    array(
      'weight' => 5,
      'reco' => array(
        5000 => 6620,
        20000 => 6710,
        40000 => 6830,
        60000 => 6950,
        80000 => 7070,
      ),
    ),
    array(
      'weight' => 6,
      'reco' => array(
        5000 => 7820,
        20000 => 7910,
        40000 => 8030,
        60000 => 8150,
        80000 => 8270,
      ),
    ),
    array(
      'weight' => 7,
      'reco' => array(
        5000 => 9020,
        20000 => 9110,
        40000 => 9230,
        60000 => 9350,
        80000 => 9470,
      ),
    ),
    array(
      'weight' => 8,
      'reco' => array(
        5000 => 10220,
        20000 => 10310,
        40000 => 10430,
        60000 => 10550,
        80000 => 10670,
      ),
    ),
    array(
      'weight' => 9,
      'reco' => array(
        5000 => 11420,
        20000 => 11510,
        40000 => 11630,
        60000 => 11750,
        80000 => 11870,
      ),
    ),
    array(
      'weight' => 10,
      'reco' => array(
        5000 => 12620,
        20000 => 12710,
        40000 => 12830,
        60000 => 12950,
        80000 => 13070,
      ),
    ),
    array(
      'weight' => 15,
      'reco' => array(
        5000 => 18620,
        20000 => 18710,
        40000 => 18830,
        60000 => 18950,
        80000 => 19070,
      ),
    ),
    array(
      'weight' => 20,
      'reco' => array(
        5000 => 24620,
        20000 => 24710,
        40000 => 24830,
        60000 => 24950,
        80000 => 25070,
      ),
    ),
    array(
      'weight' => 25,
      'reco' => array(
        5000 => 30620,
        20000 => 30710,
        40000 => 30830,
        60000 => 30950,
        80000 => 31070,
      ),
    ),
    array(
      'weight' => 30,
      'reco' => array(
        5000 => 36620,
        20000 => 36710,
        40000 => 36830,
        60000 => 36950,
        80000 => 37070,
      ),
    ),
  );

  return $rates;
}

/**
 * Returns recommendation levels based on the Colissimo rates table for OM2.
 *
 * $return array
 *   An associative array keyed by the recommendation level name with the
 *   order's amount limit as value.
 */
function colissimo_public_rates_om2_recommande_recommendation_levels() {
  $reco_level = array(
    'R1' => 5000,
    'R2' => 20000,
    'R3' => 40000,
    'R4' => 60000,
    'R5' => 80000,
  );

  return $reco_level;
}
cedric_a’s picture

Thank you Tor Arne Thune

zorax’s picture

thank's a lot!