Hello All,
In Checkout Step 3, there is an address reminder to Step 2 like this:
[QUOTE]Billing Address:
John Doe
888 Fifth Avenue
New York, NY 10019
USA[/QUOTE]
That’s perfect for American address:
City, State, ZIP Code
A French address is different:
ZIP Code, City
So, you need to change “[COLOR=“Blue”]step_profile_fields.tpl[/COLOR]”:
/skins/YOUR SKIN/customer/views/profiles/components/[COLOR=“#0000ff”]step_profile_fields.tpl[/COLOR]:
Change this (American address):
{if $user_title}{$user_title} {/if}{$user_firstname}{if $user_lastname} {$user_lastname}{/if} {$user_address} {$user_address_2} {$user_location} {$user_country}
{if $user_title || $user_firstname || $user_lastname}
{if $user_address}
{if $user_address_2}
{if $user_city}{assign var="user_location" value="$user_city"}{/if}
{if $user_state}
{if $user_location}{assign var="user_location" value="$user_location, "}{/if}
{assign var="user_location" value="$user_location$user_state"}
{/if}
{if $user_zipcode}
{assign var="user_location" value="$user_location $user_zipcode"}
{/if}
{if $user_location}
{if $user_country}
To This (for French address):
{if $user_title}{$user_title} {/if}{$user_firstname}{if $user_lastname} {$user_lastname}{/if} {$user_address} {$user_address_2} {if $user_zipcode}{$user_zipcode}{/if} {$user_location} {$user_country}
{if $user_title || $user_firstname || $user_lastname}
{if $user_address}
{if $user_address_2}
{if $user_city}{assign var="user_location" value="$user_city"}{/if}
{if $user_state}
{if $user_location}{assign var="user_location" value="$user_location, "}{/if}
{assign var="user_location" value="$user_location$user_state"}
{/if}
{* {if $user_zipcode}
{assign var="user_location" value="$user_location $user_zipcode"}
{/if} *}
{if $user_location}
{if $user_country}
You will have a perfect French address!
Lee Li Pop