osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Change postcode to zip code?

This is a discussion on Change postcode to zip code? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello everyone, first timer all around here. First message, first osc install. I have a simple request (and I mean ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-20-2004, 05:37 AM
New Member
 
Join Date: Apr 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
steveshep
Default Change postcode to zip code?

Hello everyone, first timer all around here. First message, first osc install. I have a simple request (and I mean simple), but I wasn't able to find it in a search, or by looking at the old forum. I'm sure it's around, but darned if I can find it (and I'm not smart enough to figure it out yet).

I simply want to change the words post code to Zip Code. I looked a thread that had a link to a contribution that showed how to make the whole new customer experience more "American", but when I downloaded it, it's a text document and it's all stuck together in 1 long run on paragraph, no way of which someone of my level could feel comfortable doing since I know 1 space in the wrong place could make things not work.

So, I just want to change the text on the input box, that's all. I don't mind if it shows up on anything else.

Thanks

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-20-2004, 08:22 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Welcome to OSC and to this fourm!

First of all it, this file is more than likely a unix style text file. ANYTHING from MS will not handle UNIX style text very well (on purpose). Windows text files uses 2 charaters to note a end of line - Unix uses only ONE. Also MS editors tend to ADD extra lines at the end of a file - php does not handle blank lines at the end of the file - causes PARSE errors....

Use a REAL text editor like NoteTab (freeware) or Ultra Edit or any HTML text editor (they all handle unix style files very well). Even Dreamweaver's editor is good for this (it also has a file search feature? I think).

Also on Windows "Search" for files "that contain" - It TOTALLY ignores php files..... I know you have to manual add this "file extention" into XP as a "text" file - just can't remember off the top of my head where. I use Agent Ransack (also freeware) which seams to be faster and better - and is much more powerful (if you want a conditonal search-which I do ALOT of). It adds a "right click" menu option when browsing directories - no need to go to the "Start-Programs" menu to start the program. Handy!

Okay that aside.

After you download/install a real editor.... (see notes above) or use OSC online file manager/editor (in the Admin tools)....

What you want to edit is catalog/includes/languages/english.php

Look for and change:

define('ENTRY_POST_CODE', 'Post Code:');

to:

define('ENTRY_POST_CODE', 'Zip Code:');



Good Luck!
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-20-2004, 11:05 AM
New Member
 
Join Date: Apr 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
steveshep
Default

SUPER! Thanks so much. Exactly what I was looking for. I've been working with OSC for about 2-3 weeks now and it's simply amazing! I love working with it. Of course, this has taken me down a path of wanting to learn php!

I've got webshell that allows me to edit, along with Dreamweaver MX 2004. So I'm good to go on those fronts. Now, it's just a matter of learning all I can and trying not to ask tooooo stupid of a question!

These searches are brutal on all the OSC stuff. Too many topics come up a lot of the time to go through them all.

I look forward to learning from everyone here and hopefully, I'll be able to pass on a little from time to time.

Thanks again for the help and the warm welcome.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Need Urgent Help, Suspicious of Oscommerce code change benjaminyc osCommerce 2.2 Discussion 0 03-05-2006 04:21 AM
Postcode not sent to payment gateway facejon osCommerce 2.2 Installation Help 0 03-07-2005 03:30 PM
request: change Welcome Discount Coupon Code -> Coupon ID kodersoftware osCMax v1.7 Discussion 0 11-13-2004 01:34 PM


All times are GMT -8. The time now is 08:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax