[Skip to main content](#vessel-content)

#   メンバー登録時や注文時の自動応答メールについて

##

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#70049](#70049) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  *[メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#70049 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")* was created by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")*

お世話になっております。

HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。

メール本文トップのお客様名が、名 姓 様 の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。

また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。

ご教示のほどよろしくお願いいたします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[藤井律子](/forum/user/5783- "View 藤井律子's Profile")**
- [![藤井律子's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5783.jpg)](/forum/user/5783- "View 藤井律子's Profile")
- [ Offline](/forum/user/5783-)

Less More

- Posts: 301
- Thank you received: 24
-
-

14 years 1 month ago -  14 years 1 month ago [\#70193](#70193) by [藤井律子](/forum/user/5783- "View 藤井律子's Profile")  Replied by *[藤井律子](/forum/user/5783- "View 藤井律子's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#70193 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

ePower2007 様

HikaShopビジネスをご利用頂き、誠にありがとうございます。

メールの始めに表示される氏名は、登録ホームにてユーザ様が「ユーザー名」フィールドの直前にある「名」フィールドに入力した内容を反映します。
この場合、ユーザ様がそのような順序で入力されたということです。

簡易登録モードで同フィールドが表示されていない場合、登録の際「名」フィールドにおいて「名」と「姓」フィールドが組み合わされます。

どのような場合でも、メールのコードをシステム→メール経由で編集し変更することが可能です。

注文作成メールに関しては、下記のラインを編集して下さい:
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;

上記ラインを下記に変更して下さい:
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_lastname.$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);?&gt;

メールの最後に表示されるメッセージに関しては、設定の言語タブを上書きすることで変更できます。
BEST_REGARDS_CUSTOMER の箇所が「敬具」に対応している箇所ですので、上書きし、保存して下さい。
詳しい説明は以下にございますので、こちらもご参考頂ければ幸いです:

[ HikaShop言語](http://www.hikashop.com/en/download/languages.html#modify)

ePower2007様には英語フォーラムでもご質問頂いておりますが、もし英語の方がお得意でしたら、日本語版HikaShopに関するご質問でも、こちらのフォーラムに英語でご質問下さいませ。

また何かお困りのこと、ご不明な点がございましたら、お問い合わせ下さい。
今後ともHikaShopを宜しくお願い申しあげます。

---

Hikari software日本語カスタマー担当チーフ
藤井律子

Last edit: 14 years 1 month ago by [藤井律子](/forum/user/5783- "View 藤井律子's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#70218](#70218) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#70218 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

お世話になります。西川と申します。

お教えいただいた下記のラインですが、

&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;

同じラインではなく、最後に"\n"."\n"がついたラインしかみつけられないのですが、
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name)."\n"."\n";?&gt;
ここをお教えいただいたラインに変更すればよいのでしょうか。

また、ＨＴＭＬバージョンとテキストバージョンの両方を変更するのでしょうか。

お手数をおかけいたしますが、よろしくお願いいたします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[藤井律子](/forum/user/5783- "View 藤井律子's Profile")**
- [![藤井律子's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5783.jpg)](/forum/user/5783- "View 藤井律子's Profile")
- [ Offline](/forum/user/5783-)

Less More

- Posts: 301
- Thank you received: 24
-
-

14 years 1 month ago [\#70399](#70399) by [藤井律子](/forum/user/5783- "View 藤井律子's Profile")  Replied by *[藤井律子](/forum/user/5783- "View 藤井律子's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#70399 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

西川 様

説明が言葉足らずで申し訳ありませんでした。

&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;

ラインは、メールのHTMSバージョンにしかございません。
テキストバージョンを御編集頂く必要はございません。

問題が解決しないようでしたら、お手数ではございますが、再度お問い合わせ下さいませ。

---

Hikari software日本語カスタマー担当チーフ
藤井律子

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#70452](#70452) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#70452 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

お世話になります。

このライン
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;
ですが、order creation notificationのなかのHTMLのみ見つけることができ変更をしたのですが、

新しいアカウントを作成せひログインすると姓名の順番が逆で、名 姓で表示され、

注文受付メールは姓名OKで、
注文確認メール、発送メール、キャンセルおよび返金メールもそれぞれすべて姓名の順番が逆となってしまっています。

こちらはどこで、どのように変更すれば良いのでしょうか。

お手数をお掛けいたしますが、よろしくお願いいたします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[藤井律子](/forum/user/5783- "View 藤井律子's Profile")**
- [![藤井律子's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5783.jpg)](/forum/user/5783- "View 藤井律子's Profile")
- [ Offline](/forum/user/5783-)

Less More

- Posts: 301
- Thank you received: 24
-
-

14 years 1 month ago [\#71220](#71220) by [藤井律子](/forum/user/5783- "View 藤井律子's Profile")  Replied by *[藤井律子](/forum/user/5783- "View 藤井律子's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71220 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

西川 様

お返事が遅れまして、申し訳ございません。

注文受付メールは、注文が作成（受け付け）された時に作成されます。
注文の状態に変化があった場合（確認が済んだ、発送された等々）は、それを通知するメール（注文状況の通知）を変更しなければなりません。

ラインも変更しなければなりませんが、注文データにいくコード全体（そのコードのラインの後にある２０ばかりのライン）の後に変更した新しいラインを移動させる必要があります。
そうしませんと、ご希望の並び順で氏名を表示するデータが出ませんので、ご注意下さい。

問題が解決しないようでしたら、お手数ですが再度お問い合わせ下さいませ。

---

Hikari software日本語カスタマー担当チーフ
藤井律子

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#71281](#71281) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71281 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

藤井様

お返事ありがとうございます。
全くの素人のため、どのラインをどのように変更すれば良いのかわかりません。
申し訳ございませんが、具体的にどのようにすれば良いか教えて頂けますでしょうか。

よろしくお願いいたします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[藤井律子](/forum/user/5783- "View 藤井律子's Profile")**
- [![藤井律子's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5783.jpg)](/forum/user/5783- "View 藤井律子's Profile")
- [ Offline](/forum/user/5783-)

Less More

- Posts: 301
- Thank you received: 24
-
-

14 years 1 month ago [\#71667](#71667) by [藤井律子](/forum/user/5783- "View 藤井律子's Profile")  Replied by *[藤井律子](/forum/user/5783- "View 藤井律子's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71667 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

西川 様

説明が分かりづらく、すみませんでした。

まず次のラインを削除して下さい :

echo JText::sprintf('HI_CUSTOMER',@$customer-&gt;name);

次に、コードの新しいライン

&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);?&gt;

を以下のラインの後ろに追加して下さい :

$colspan = 4;

（新しいラインが上記であるのに対し、古いライン（前のライン）は
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;
です）

また、新しいラインの後に次のラインを移動して下さい :

echo JText::sprintf('ORDER_STATUS_CHANGED_TO',$url,$data-&gt;mail_status);

これで、メールの一番最初の行が挨拶文の先に来るようになり、ご希望の並び順で氏名を表示することができます。

説明に不備がございましたら、申し訳ありませんが再度お問い合わせ下さいませ。

---

Hikari software日本語カスタマー担当チーフ
藤井律子

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#71728](#71728) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71728 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

お世話になります。
お教えいただいたように、order notification mailを直したつもりなのですがsyntaxエラーになります。
たぶん基本的なところで、入れ方を間違えているかと思いますがｐｈｐについての知識がまったくないため、
わかりません。下記が直したものとなりますが、どこが間違えているのか括弧の中にいれるのか外に入れるのか等、
細かく教えていただけませんでしょうか。

よろしくお願いいたします。

&lt;td style="background-color: #ffffff;"&gt;
&lt;?php
$order_url = $data-&gt;order_url;
$mail_status = $data-&gt;mail_status;
$customer = $data-&gt;customer;
$order_status = $data-&gt;order_status;
$class = hikashop_get('class.order');
$data = $class-&gt;get($data-&gt;order_id);
$url = $data-&gt;order_number;
$data-&gt;order_url = $order_url;
$data-&gt;order_status = $order_status;
$data-&gt;mail_status = $mail_status;
$config =&amp; hikashop_config();
if($config-&gt;get('simplified_registration',0)!=2){
$url = '&lt;a href="'.$order_url.'"&gt;'. $url.'&lt;/a&gt;';
}?&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;?php

$data-&gt;cart = $class-&gt;loadFullOrder($data-&gt;order_id,true,false);
$data-&gt;cart-&gt;coupon = null;
$price = null;
$tax = $data-&gt;cart-&gt;order_subtotal - $data-&gt;cart-&gt;order_subtotal_no_vat + $data-&gt;order_discount_tax + $data-&gt;order_shipping_tax;
$price-&gt;price_value = $data-&gt;order_full_price-$tax;
$price-&gt;price_value_with_tax = $data-&gt;order_full_price;
$data-&gt;cart-&gt;full_total = null;
$data-&gt;cart-&gt;full_total-&gt;prices = array($price);
$data-&gt;cart-&gt;coupon-&gt;discount_value =&amp; $data-&gt;order_discount_price;
$app=&amp;JFactory::getApplication();
if($app-&gt;isAdmin()){
$view = 'order';
}else{
$view = 'address';
}
$colspan = 4;&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);?&gt;
?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 1 month ago [\#71735](#71735) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71735 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

It should not be:
$colspan = 4;&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);?&gt;

but just:
$colspan = 4; echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[藤井律子](/forum/user/5783- "View 藤井律子's Profile")**
- [![藤井律子's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5783.jpg)](/forum/user/5783- "View 藤井律子's Profile")
- [ Offline](/forum/user/5783-)

Less More

- Posts: 301
- Thank you received: 24
-
-

14 years 1 month ago [\#71757](#71757) by [藤井律子](/forum/user/5783- "View 藤井律子's Profile")  Replied by *[藤井律子](/forum/user/5783- "View 藤井律子's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71757 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

西川 様

次の部分に問題があります。

$colspan = 4;&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);?&gt;

上記を下記に変更して下さい。

$colspan = 4; echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]&gt;address_lastname.$data&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);

これでエラーとは表示されなくなると思います。

またお困りのこと、問題がございましたら、お問い合せ下さい。

※こちらの手違いで弊社スタッフNicolas及び私のリプライが2つつきましたが、内容は同じでございます。

---

Hikari software日本語カスタマー担当チーフ
藤井律子

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

14 years 1 month ago [\#71764](#71764) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#71764 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

Dear Nicolas

Still get this error message.

Parse error: syntax error, unexpected '&gt;' in /export/**************************/media/com_hikashop/mail/order_status_notification.html.modified.php on line 64

Could you tell us exactly what has to be changed from the begining?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

14 years 4 weeks ago [\#72500](#72500) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: メンバー登録時や注文時の自動応答メールについて](/forum/6-japanese-support/70049#72500 "お世話になっております。  HIKA SHOPビジネス版を使用し、運用に向けて準備中なのですが、自動応答メールについて教えてください。  メール本文トップのお客様名が、名　姓　様　の順番になっているのですが、姓名様へ変更するにはどのようにしたらよろしいでしょうか。  また本文最後のショップ名の前に敬具がついているのですが、これの訂正もどこでしたらいいのでしょうか。  ご教示のほどよろしくお願いいたします。")*

My bad, there were two characters missing in the line I gave you.

It should be:
$colspan = 4; echo JText::sprintf('HI_CUSTOMER',@$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_lastname.$data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]-&gt;address_firstname);

That should make it work properly

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC83MDA0OT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
