Jump to content

Archived

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

burt

My Account -> Primary Address

Recommended Posts

It's come to my attention that we might have a problem or not, at

Customer Logs In > My Account > Addresses

Primary Address (and other addresses) do not show the State.  See attached image;

  • The array at the top shows the Data.
  • The address below does not show the State.

state.jpg.93733b0386ac801e615c456bff45155e.jpg

Can anyone confirm on their Bootstrap?  I am about to install a standard 2.3.4 to see if the same occurs - which will be my first 2.3.4 installation in over 3 years!

 


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

seems ok on 2.3.4.1

(state is Testside)

address-primary-2.3.4.1.jpg


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

TY @BrockleyJohn 

I think I got to the bottom of it'

If the inputtted address is in a country that has Zones (eg USA, Germany, Austria etc)...the State does not show:

state-1.jpg.da0ddfb0909ac8ccd14e2c31dc9e6e0d.jpg

If the address is in a Country where the customer had to input the state (rather than choose from the pre-defined dropdown), the State Name then does show;

state-2.jpg.5582544b496b2b335f49feaafc37b1c6.jpg

 

This seems like an oversight.  This oversight exists in standard osc (and I had forgotten just how shit standard osc looks!) and in community osc.

Should we do something about it ?  Or just leave as is, it hasn't caused an issue for 18 years...


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

actually US addresses are ok:

state comes out abbreviated...

us-address.jpg


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (Phoenix).

here: on the official osc download page

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Yep, it does indeed show the State Abbreviation on USA addresses, nice spot.

Could you try an Austrian address please @BrockleyJohn


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

D'oh

Austria = address_format_id 5
US = address_format_id 2

Address format id 5 does not show state.
Address format id 2 does show state.

All seems OK.
 


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

In some countries in Europe you don't need the State.
For Example; in Switzerland we have

John Doe
Teststreet 123
8004 Zurich
 

I created my own address format for Japanese address.

Address format 6

$firstname $lastname$cr$postcode$cr$state$city$streets

You can add that if you'd like. :smile:

Wonder what the address_summary field is used for? :rolleyes:

 

Share this post


Link to post
Share on other sites

×