2016-09-05 6 views
2

顧客が報酬ポイントを取得すると、彼は電子メールで通知を受けます。報酬ポイントのCSSスタイリングをopencart 2.0.1.1の通知メールに適用するには?

You have received 200 Reward Points! 

Your total number of reward points is now 200. 

私はこのテキストは、私は私のopencartストアに、この電子メール通知の相対的にいくつかのCSSスタイルを適用する必要が

/admin/language/english/mail/customer.php 
$_['text_reward_received']  = 'You have received %s Reward Points!'; 
$_['text_reward_total']   = 'Your total number of reward points is now %s.'; 

で言語ファイルである知っている: デフォルトの電子メールは、これらの行が含まれています。私はこのcustomer.php言語ファイルでhtmlとcssを追加しようとしましたが、うまくいきません。 私はどのように私が望むスタイリングを適用できるか考えていません。どんな助け?

答えて

1

あなたのhtmlタグ& css & cssクラスを言語ファイルに追加する必要があります。例については

$_['text_reward_received']  = 'You have received %s <span style="font-size:15px; color:red;">Reward Points</span>!'; 
$_['text_reward_total']   = 'Your <span class="mystyle">total number</span> of reward points is now %s.'; 
関連する問題