Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help? Missing Shipping/Delivery Address ?


Pilly

Recommended Posts

Posted

Hi,

 

Can anyone point me in the right direction?

 

The shipping & delivery addresses arent being displayed. And i cant figure out why..

 

Shop-Shipping.jpg

 

Shop-Delivery.jpg

 

Checkout_shipping.php

					<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
				<td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td>
				<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

 

Includes/functions/General.php

 

  function tep_address_label($customers_id, $address_id = 1, $html = false, $boln = '', $eoln = "\n") {

$address_query = tep_db_query("select entry_firstname as firstname, entry_lastname as lastname, entry_company as company, entry_street_address as street_address, entry_street_address2 as street_address2, entry_suburb as suburb, entry_city as city, entry_postcode as postcode, entry_state as state, entry_zone_id as zone_id, entry_country_id as country_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customers_id . "' and address_book_id = '" . (int)$address_id . "'");

$address = tep_db_fetch_array($address_query);
$format_id = tep_get_address_format_id($address['country_id']);
return tep_address_format($format_id, $address, $html, $boln, $eoln);

}

 

Can anyone see whats wrong??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...