【问题标题】:How to add a custom TPL on whmcs cart如何在 whmcs 购物车上添加自定义 TPL
【发布时间】:2015-11-12 18:46:58
【问题描述】:

我们正在尝试在我们的购物车模板中添加一个新的 .TPL 文件,我们已经完成了所有操作,但是当我们尝试访问时:

site.com/cart?a=newfile

它不起作用,有什么方法可以让 WHMCS 将新文件视为相关模板的一部分?

我尝试为我的模板创建一个自定义注册页面。

谢谢

【问题讨论】:

    标签: whmcs


    【解决方案1】:

    如果您的目标是创建自定义注册页面,我建议您继续使用 whmcs 默认模板,而不是创建自己的模板。

    在您的自定义注册页面中:

    -if you want to customize the style, 
    you can do that by just editing css and html within viewcart.tpl.
    
    -if you want to addcustom field and inputs into your custom registration form, 
    using in Admin area of whmcs Setup-> Custom Client Fields section,
    you can add various of inputs with validation.
    
     -if you want to some action on the registration event, 
    use this hook to catch the event and take your action, 
    it will fire whenever someone registers from your website : 
    

    http://docs.whmcs.com/Hooks:ClientAreaRegister

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-01-21
      • 2017-10-14
      • 2018-05-18
      • 2019-01-24
      • 1970-01-01
      • 1970-01-01
      • 2021-04-21
      相关资源
      最近更新 更多