Checkout address

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Checkout address

Post by igavemybest » Mon Sep 21, 2009 1:51 pm

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?

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Checkout address

Post by AbleMods » Mon Sep 21, 2009 2:15 pm

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>
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Checkout address

Post by igavemybest » Thu Sep 24, 2009 12:14 pm

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)

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Checkout address

Post by AbleMods » Thu Sep 24, 2009 12:29 pm

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
igavemybest
Captain (CAPT)
Captain (CAPT)
Posts: 388
Joined: Sun Apr 06, 2008 5:47 pm

Re: Checkout address

Post by igavemybest » Tue Oct 06, 2009 11:40 am

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.

Post Reply