prestashop - 通过在 prestashop 1.7 联系表单中添加新的自定义选项来编辑选择
问题描述
我正在尝试在 prestashop 1.7.2.4 的联系表单中的选择元素中添加一个选项。
我在后端找不到任何选项,所以我尝试手动编辑contactform.tpl,但不幸的是它不起作用。Then new option does appear in the form, but when selected and submitted, the page says to chose an option for the argument (i'm assuming it doesn't find a corresponding value somewhere in the backend and results in an error).
我还尝试在数据库中找到一个表,我可以在其中添加我的自定义选项,但仍然找不到任何东西。
你知道有没有办法做到这一点?提前致谢
解决方案
如果我明白你的意思:
转到此菜单:“商店参数”>>“联系人”
并添加您的选项
推荐阅读
- python - Tkinter Checkbutton 外观在鼠标离开按钮区域之前不会更新
- java - 使用 Java 中的扫描仪将对象添加到数组列表
- java - 我可以使用 h2o-bindings api 获得 MOJO 模型吗?
- java - 既然作者已经编写了 ProxyConnection,为什么还要通过 javaassist 生成 HikariProxyConnection?
- mysql - SQL:计算两个日期之间的天数
- javascript - 使用 Java 或 JavaScript 将 HTML 页面与 CSS 一起转换为 PDF
- ios - 在 tableView 单元格上播放视频的最佳做法是什么?
- sql-server-2008 - sql server 中视图和临时表之间的性能差异
- c++ - 在 Windows 上使用 Flex/Bison 进行 Cmake
- c++ - 无法使用 Boost RegEx 找到匹配项