Page 1 of 1
Checkout address
Posted: Mon Sep 21, 2009 1:51 pm
by igavemybest
My addresses are showing up like this:
Billing Address:
Chad Crumpton 21734 State Hwy 79 EINSON, AL 35126 UNITED STATES
Instead of like this:
Billing Address:
Chad Crumpton
21734 State Hwy 79
EINSON, AL
35126 UNITED STATES
It appears that way in email notifications and on the 2nd page of the checkout.
What file handles the <br> between the lines diring the checkout process?
Re: Checkout address
Posted: Mon Sep 21, 2009 2:15 pm
by AbleMods
The address lines are all separate fields. The break would be handled by the HTML code either in the page itself or the email template. If those layouts had been modified from the stock layout, it's possible the stock design didn't flow with the changes made.
ex:
<firstname> <lastname>
<address1>
<address2>
<city> <province> <postalcode> <country>
Re: Checkout address
Posted: Thu Sep 24, 2009 12:14 pm
by igavemybest
Joe,
I am seeing:
$shipment.FormatFromAddress(true)
$shipment.FormatFromAddress(true)
$shipment.FormatToAddress(true)
...in the email template. In the database all parts of the address are in the correct place (name, address1, address2, etc)
I redownloaded AC7, copied over the complete AC7/Checkout directory and AC7/Admin/Orders directory and overwrote everything. Not working, everything is still on the same line.
Something else I noticed before and after the overwhite, is that the red * validator is showing up, but with no text until the submit button is pressed. (not sure if it is designed this way)
Re: Checkout address
Posted: Thu Sep 24, 2009 12:29 pm
by AbleMods
Hmmm ok - didn't realize Able was using a built-in method to format the address info. Must be something they've hard-coded into the address class. It wouldn't be changeable without full source code.
Never seen it do that before, so I'm unsure what could be the cause.
Re: Checkout address
Posted: Tue Oct 06, 2009 11:40 am
by igavemybest
Would there be a specific file that handles that or would it be in the database somewhere? I cant seem to find anything to fix this problem. It just happened after a fresh install of AC7.0.3 then uploading the old store.