Prestashop 代码块

发布于 2024-09-24 16:08:07 字数 361 浏览 3 评论 0原文

我陷入了 Prestashop 的深渊,有几个问题,想知道是否有人可以提供帮助。

  1. 我需要向表单添加字段。该表格由我标记,然后以某种方式集成到商店中。我找到了带有表单的 CMS 页面,并插入了以下标记来显示表单:{brochure_request_form}。然而,我无法弄清楚该标签的代码是在哪里编辑的!

  2. 目前,客户在下订单时会收到电子邮件,但商店管理员不会收到电子邮件。我已经读到安装邮件警报模块将允许此功能,但对我来说奇怪的是商店默认情况下不这样做 - 是这种情况还是有我需要更改的设置?

任何帮助将不胜感激,

问候,

Rich

I've been thrown in at the Prestashop deep end, have a couple of questions and wondered if anyone could help.

  1. 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!

  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

苹果你个爱泡泡 2024-10-01 16:08:07

它看起来确实像一个自定义函数插件,因此您应该搜索名为 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文