Php 商店信用更新电子邮件未在magento中普及余额

Php 商店信用更新电子邮件未在magento中普及余额,php,magento,Php,Magento,我们使用的是magento enterprise edition,我有store credit update事务性电子邮件模板,但当客户收到电子邮件时,他们无法获得余额 这是我在事务性电子邮件中的代码 <body style="background: #F6F6F6; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;"> <div sty

我们使用的是magento enterprise edition,我有store credit update事务性电子邮件模板,但当客户收到电子邮件时,他们无法获得余额

这是我在事务性电子邮件中的代码

<body style="background: #F6F6F6; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;">
    <div style="background: #F6F6F6; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0; padding: 0;">
        <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
            <tr>
                <td align="center" valign="top" style="padding: 20px 0 20px 0">
                    <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
                        <tr>
                            <td valign="top" align="center">
<br>
<br>
<br>
                                <a href="{{store url=""}}" style="color:#b9864d;"><img src="{{var logo_url}}" alt="{{var logo_alt}}" border="0"/></a>
<br>
<br>
<br>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                                <h1 style="font-size: 13px; font-weight: normal; line-height: 22px; margin: 0 0 11px 0;">Dear {{htmlescape var=$customer.name}},</h1>

                      We have updated your account on <a href="{{store url=""}}">{{store url=""}}</a> and you have credit which you may use for future purchases.</p><br>
                      Your Store Credit balance is now {{var balance}}</p><br>
                    To view your store credit, login to your account to access your dashboard. In the dashboard, you will find the 'My Gift Cards and Store Credit' section. You may click-through to view your credit balance and history.</p><br>
                  To use your store credit, login to your account and proceed with checkout. In the 'Payment Information' step at checkout, you may select 'Use Store Credit' to apply to your purchase.
                      </td>
                </tr>







亲爱的{{htmlescape var=$customer.name}, 我们已在上更新了您的帐户,您拥有可用于未来购买的信用。


您的店铺信用余额现在为{{var balance}}


要查看您的店铺信用,请登录您的帐户以访问您的仪表板。在仪表板中,您可以找到“我的礼品卡和商店信用”部分。您可以点击查看您的信用余额和历史记录。


要使用您的商店信用卡,请登录您的帐户并继续结帐。在结帐时的“付款信息”步骤中,您可以选择“使用商店信用”来应用于您的购买。
在我收到的电子邮件中

您的店铺信用余额现在为:为空

我怎样才能得到商店的信用余额

我真的很感谢你的帮助