prestashop 1.7将名称和城市字段添加到ps_emailsubscription.tpl中以进行新闻订阅

时间:2019-01-08 19:49:55

标签: prestashop-1.7

我在mi ps_emailsubscription.tpl文件中添加了以下代码,但是我需要再添加两个字段,我该怎么做? (并实现显示在管理模块中)

suscribe to newsletter fields

admin panel fields

<div class="col-lg-12 col-md-12 col-xs-12">
    <div class="ft_newsletter">
        <div class="content_newsletter">
            <h3 class="footer_header">
                {l s='Suscribite a nuestro newsletter'  d='Shop.Theme.Global'}
            </h3>
            <form action="{$urls.pages.index}#footer" method="post">
                <div class="input-wrapper">
                    <input
                        name="email"
                        class="input_txt"
                        type="text"
                        value="{$value}"
                        placeholder="{l s='Mail' d='Shop.Forms.Labels'}"
                        >
                </div>
                <button class="btn btn-primary" name="submitNewsletter" type="submit" value=""><span>{l s='Enviar' d='Shop.Theme.Global'}</span></button>
                <input type="hidden" name="action" value="0">
            </form>
        </div>
    </div>
</div>

0 个答案:

没有答案