Forums / Built-in Shipping and Payment Modules / Country names instead of iso codes

Country names instead of iso codes

Locked

Views: 3,220

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
26 Feb 2010, 5:21 PM
#1
dartmoorcf avatar

dartmoorcf

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

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.

26 Feb 2010, 5:30 PM
#2
dartmoorcf avatar

dartmoorcf

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

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

27 Feb 2010, 6:17 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Country names instead of iso codes

dartmoorcf:

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.

1 Mar 2010, 9:38 AM
#4
dartmoorcf avatar

dartmoorcf

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: Country names instead of iso codes

Thanks. Thats sorted the additional weight issue.

26 May 2010, 9:58 AM
#5
alfrizmartin avatar

alfrizmartin

New Zenner

Join Date:
Apr 2010
Posts:
15
Plugin Contributions:
0

Re: Country names instead of iso codes

dartmoorcf:

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/showthread.php?t=154606&highlight=zones