Prestashop 代码块
我陷入了 Prestashop 的深渊,有几个问题,想知道是否有人可以提供帮助。
我需要向表单添加字段。该表格由我标记,然后以某种方式集成到商店中。我找到了带有表单的 CMS 页面,并插入了以下标记来显示表单:{brochure_request_form}。然而,我无法弄清楚该标签的代码是在哪里编辑的!
目前,客户在下订单时会收到电子邮件,但商店管理员不会收到电子邮件。我已经读到安装邮件警报模块将允许此功能,但对我来说奇怪的是商店默认情况下不这样做 - 是这种情况还是有我需要更改的设置?
任何帮助将不胜感激,
问候,
Rich
I've been thrown in at the Prestashop deep end, have a couple of questions and wondered if anyone could help.
I need to add fields to a form. This form was marked-up by me, then somehow integrated into the shop. I've found the CMS page with the form on it, and the following tag is inserted to display the form: {brochure_request_form}. I cannot however figure out where the code for this tag is edited!
Currently, the customer is emailed upon making an order, but the shop admin doesn't receive an email. I have read that installing the Mail Alerts module will allow this functionality, but it seems bizarre to me that the shop doesn't do this by default - is this the case or is there a setting I need to change?
Any help would be greatly appreciated,
Regards,
Rich
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它看起来确实像一个自定义函数插件,因此您应该搜索名为
function.brochure_request_form.php
的文件。默认位置应该是包含 Smarty 的插件子文件夹,以及许多类似名称的文件。如果它不存在 - 您必须查看 PHP 代码,搜索类似于$smarty->plugin_dir[] = 'some_folder';
的行,因为 Smarty 可以在任何位置查找这些插件文件夹添加到plugin_dir数组。It sure looks like a custom function plugin, so you should search for a file named
function.brochure_request_form.php
. The default location is supposed to be the plugins subfolder of wherever Smarty is included from, together with a score of similarly named files. If it's not there - you'll have to look thru the PHP code searching for a line resembling$smarty->plugin_dir[] = 'some_folder';
, as Smarty can look for these plugins in any folder added to the plugin_dir array.