osc_298
osc_829****@hotma*****
2005年 6月 16日 (木) 19:47:33 JST
変な改行が入ったため修正 includes/functions/general.php 425行目 //// // Return a formatted address // TABLES: address_format function tep_address_format($address_format_id, $address, $html, $boln,$eoln) { $address_format_query = tep_db_query("select address_format as formatfrom " . TABLE_ADDRESS_FORMAT . " where ddress_format_id = '" (int)$address_format_id . "'"); $address_format = tep_db_fetch_array($address_format_query); $company = tep_output_string_protected($address['company']); $firstname = tep_output_string_protected($address['firstname']); $lastname = tep_output_string_protected($address['lastname']); $street = tep_output_string_protected($address['street_address']); $suburb = tep_output_string_protected($address['suburb']); $city = tep_output_string_protected($address['city']); $state = tep_output_string_protected($address['state']); $country_id = $address['country_id']; $zone_id = $address['zone_id']; $postcode = tep_output_string_protected($address['postcode']); $zip = $postcode; $country = tep_get_country_name($country_id); $state = tep_get_zone_code($country_id, $zone_id, $state); $statename = tep_get_zone_name($country_id,$zone_id,$state); // for Japanese Localize // 2003-06-06 add_telephone $telephone = tep_output_string_protected($address['telephone']); $before = ' 様'; $BEFORE = ' 様'; $YUBINMARK = '〒'; $yubinmark = '〒'; テーブル address_format を開き、address_format_id = 7 のレコードを 編集して、項目 address_format の値に下記のように変更します。 変更後 $lastname$firstname$before$cr$yubinmark$postcode$cr$statename$city$cr$streets$cr$telephone