Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2010
    Posts
    5
    Plugin Contributions
    0

    Default Country names instead of iso codes

    Hi there

    We used to just sell our products in the UK but I'd like to extend this to the rest of the world.
    I've selected zone shipping and everything seems to be working.

    However is it possible to change the displayed ISO two letter country code such as FR to FRANCE instead or display GERMANY instead of DE.

    Also right after the ISO code it says the weight of the order but this weight is incorrect. For example if a customer adds two chocolate bars each weighing 100grams to the basket and then tries to buy it says 1 x 203g
    I'm not sure where it is getting this weight from! It should be 200g.
    Is there a way of removing the 1 x 203g part?

    thanks

    Phil.

    P.S Zencart is brilliant.

  2. #2
    Join Date
    Feb 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Country names instead of iso codes

    I looked in zones.php but that doesnt really have anything.

    the contents of zones.php

    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | [email protected] so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: zones.php 1969 2005-09-13 06:57:21Z drbyte $
    //

    define('MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Zone Rates');
    define('MODULE_SHIPPING_ZONES_TEXT_DESCRIPTION', 'Zone Based Rates');
    define('MODULE_SHIPPING_ZONES_TEXT_WAY', 'Shipping to');
    define('MODULE_SHIPPING_ZONES_TEXT_UNITS', ' grams');
    define('MODULE_SHIPPING_ZONES_INVALID_ZONE', 'No shipping available to the selected country');
    define('MODULE_SHIPPING_ZONES_UNDEFINED_RATE', 'The shipping rate cannot be determined at this time');
    ?>

    thanks

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Country names instead of iso codes

    Quote Originally Posted by dartmoorcf View Post
    it says the weight of the order but this weight is incorrect. For example if a customer adds two chocolate bars each weighing 100grams to the basket and then tries to buy it says 1 x 203g
    I'm not sure where it is getting this weight from! It should be 200g.
    Is there a way of removing the 1 x 203g part?
    Not sure about your other issue, but your "3 extra" units is likely resolved with this: https://www.zen-cart.com/tutorials/index.php?article=85
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Feb 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Country names instead of iso codes

    Thanks. Thats sorted the additional weight issue.

  5. #5
    Join Date
    Apr 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Country names instead of iso codes

    Quote Originally Posted by dartmoorcf View Post
    However is it possible to change the displayed ISO two letter country code such as FR to FRANCE instead or display GERMANY instead of DE.
    This Page will sort out the country issue: http://www.zen-cart.com/forum/showth...ighlight=zones

 

 

Similar Threads

  1. 3 digit country ISO codes
    By damiantaylor in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2010, 10:25 AM
  2. ISO Country Codes
    By hales in forum Managing Customers and Orders
    Replies: 2
    Last Post: 10 Aug 2008, 10:08 PM
  3. replace ISO codes for country codes
    By froldao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2008, 05:39 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