• Welcome to KonaKart Community Forum. Please login or sign up.
 

address format

Started by shalz, April 08, 2009, 01:46:29 am

Previous topic - Next topic

shalz

Hello All,

1 -I would like to change the address format of
$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country.

to include 'address custom5' (for example) as well. How to do that?

2 -Also, when I change the local to pt_BR (portuguese, Brazil), the jsps are working perfectly, but the date ($order.getDatePurchased) is the one of the server. My server is in California, but I need Brazilians to get the correct time, and not the California time.
How and where in the code can I modify to get the local time?

any help would be greatly appreciated !!

thank you

-shalz

trevor

Hi,

Quote1 -I would like to change the address format of
$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country.

to include 'address custom5' (for example) as well. How to do that?


This is a minor enhancement to the Address class. Could you contact support at konakart dot com and we'll see if we can get you a patch.

Quote2 -Also, when I change the local to pt_BR (portuguese, Brazil), the jsps are working perfectly, but the date ($order.getDatePurchased) is the one of the server. My server is in California, but I need Brazilians to get the correct time, and not the California time.
How and where in the code can I modify to get the local time?


This one is trickier. You'll find that all dates such as date_added, last_modified etc are relative to the server. I think that there is a user.timezone property that you can supply to the Java JVM that may fix this problem.