1 reply [Last post]
myke@drupal.org's picture
Offline
Joined: 04/12/2008
Juice: 189
Was this information Helpful?

After doing an upgrade to Ubercart to 1.10, I no longer see the shipping and billing addresses showing up, I only see the phone numbers...

What could be causing this? Do I need to rebuild menu callbacks or something...?

Thanks in advance for any help!

-Myke

nobodyiscertain's picture
Offline
Joined: 11/03/2010
Juice: 3
Hey Myke, I ran into the same

Hey Myke,

I ran into the same problem. Looks like they updated the match & replace arrays in uc_address_format(). No address is coming back out of this function.

If you replace lines 2042-2043 in uc_store.module with this:

  $match = array('/^<br>/', '/<br>$/', '/<br>(\s*|[\s*<br>\s*]+)<br>/', '/<br><br>/', '`<br>, N/A`');
  $replace = array('', '', '<br>', '<br>', '', '');

That'll get the addresses showing again.