Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need to shorten postal Code can't find where...


LadyBeth

Recommended Posts

Posted

:blink: OK....so I'm testing, putting in test orders, etc...and I create and account. I try to process my order and it tells me I need a 7 digit postal code. I'm in the US. Our zips (the base) is 5 digits. I have looked, and looked, and looked...can't find where in the world to change it from 7 to 5. I'm a newbie. Be gentle please. I have tried searching. Honest. But nothing has made the light bulb flicker......

Beth :unsure:

Posted

I believe you can set this through phpMyAdmin -- go to your address_book table and look for the entry_postcode field. Mine shows as Type varchar(10). If you're only working with US zip codes, you could probably change the type to Int(5).

 

Disclaimer: I am by NO MEANS an expert at this, so I'm not positive that this is what you need, but I think so...

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Posted

did you modify anything in the code? the program defaults to 5 for the us but will take a larger one, so it seems as if somewhere it got changed . .

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...