0
我知道以下函数用于在prestashop中显示表单。如何在prestashop中创建tpl文件?
public function getContent()
{
$this->_html="<h2>".$this->name."</h2><form>
<label>Username</label>
<input type='text' name='username'><br>
<label>Password</label>
<input type='text' name='password'><br>
<input type='submit' name='save' value='save'>
</form>";
return $this->_html;
}
但我想知道如何使用.tpl
文件