1 テンプレートファイルに下記コードを追加しておくことで、「基本情報管理>メール設定」のフッターにショップ情報を入力する必要がなくなります。
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: <!--{$arrInfo.shop_name|h}--> <!--{$arrInfo.zip01|h}-->-<!--{$arrInfo.zip02|h}--> <!--{$arrInfo.addr01|h}--><!--{$arrInfo.addr02|h}--> <!--{if $arrInfo.tel01}-->TEL:<!--{$arrInfo.tel01|h}-->-<!--{$arrInfo.tel02|h}-->-<!--{$arrInfo.tel03|h}--><!--{/if}--> <!--{if $arrInfo.fax01}-->FAX:<!--{$arrInfo.fax01|h}-->-<!--{$arrInfo.fax02|h}-->-<!--{$arrInfo.fax03|h}--><!--{/if}--> E-Mail:<!--{$arrInfo.law_email|h}--> URL:<!--{$arrInfo.law_url|h}--> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
コードを追加するファイルは以下の通りです。
■data/smarty/templates/default/mail_templates/order_mail.tpl
■data/smarty/templates/default/mail_templates/order_mail_pay.tpl(本サイトのカスタマイズを行っている場合)
■data/smarty/templates/mobile/mail_templates/order_mail_.tpl
■data/smarty/templates/mobile/mail_templates/order_mail_pay.tpl(本サイトのカスタマイズを行っている場合)
2 「お問い合わせメール」については下記の作業が必要になります。
■data/class/pages/contact/LC_Page_Contact.php
function lfSendMailメソッド内の$objPage->tpl_shopname = $CONF[‘shop_name’];の後に追加
$objPage->tpl_zip01 = $CONF['zip01']; $objPage->tpl_zip02 = $CONF['zip02']; $objPage->tpl_addr01 = $CONF['addr01']; $objPage->tpl_addr02 = $CONF['addr02']; $objPage->tpl_tel01 = $CONF['tel01']; $objPage->tpl_tel02 = $CONF['tel02']; $objPage->tpl_tel03 = $CONF['tel03']; $objPage->tpl_fax01 = $CONF['fax01']; $objPage->tpl_fax02 = $CONF['fax02']; $objPage->tpl_fax03 = $CONF['fax03']; $objPage->tpl_law_email = $CONF['law_email']; $objPage->tpl_law_url = $CONF['law_url'];
■data/smarty/templates/default/mail_templates/contact_mail.tpl
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: <!--{$tpl_shopname}--> <!--{$tpl_zip01}-->-<!--{$tpl_zip02}--> <!--{$tpl_addr01}--><!--{$tpl_addr02}--> <!--{if $tpl_tel01}-->TEL:<!--{$tpl_tel01}-->-<!--{$tpl_tel02}-->-<!--{$tpl_tel03}--><!--{/if}--> <!--{if $tpl_fax01}-->FAX:<!--{$tpl_fax01}-->-<!--{$tpl_fax02}-->-<!--{$tpl_fax03}--><!--{/if}--> E-Mail:<!--{$tpl_law_email}--> URL:<!--{$tpl_law_url}--> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::