简体   繁体   English

OpenCart 3.0.2.0 vQmod 2.6.3树枝编辑不起作用

[英]OpenCart 3.0.2.0 vQmod 2.6.3 twig edits not working

I'm having this issue while creating a vqmod for editing order notification/alert for admin . 创建用于编辑admin的订单通知/警报vqmod时遇到此问题。 I've already tried the **Admin Dashboard Gear Solution** (to clear the theme cache), but it didn't work. 我已经尝试过**Admin Dashboard Gear Solution** (以清除主题缓存),但是没有用。 And also, the order_alert.twig file had repeating lines of text that I added in the vqmod file. 而且, order_alert.twig文件具有重复的行,这些行是我在vqmod文件中添加的。 It seems that the edited text was added to the vqcache file as many times as I refreshed the modifications cache in the admin panel, but all of that is useless as the final admin order email still has the old template 👎 Anyhow after that I tried the Dashboard Gear Solution and cleared the theme cache and even disabled it but none of that worked. 似乎在我刷新管理面板中的修改缓存后,已编辑的文本被添加到vqcache文件的次数不计其数,但所有这些都无济于事,因为最终的管理订单电子邮件仍具有旧模板👎无论如何,我尝试了仪表板齿轮解决方案并清除了主题缓存,甚至禁用了它,但没有一个起作用。 After that, I deleted all the vqcache files but now even the vqcache files from the order alert vqmod aren't appearing. 此后,我删除了所有vqcache文件,但现在甚至没有出现来自order alert vqmod的vqcache文件。 Please help. 请帮忙。 My vqmod version is 2.6.3 and all other vqmods (all created by me) are working fine. 我的vqmod版本是2.6.3 ,所有其他vqmod(我全部创建)都可以正常工作。 There is no error/conflict in vqmod logs or the opencart error log . vqmod日志opencart错误日志中没有错误/冲突

If your other vQmods are working, it sounds like there probably is some error in the one you're working on. 如果您的其他vQmod正常工作,听起来您正在处理的vQmod可能存在一些错误。 Try stripping it down to a very simple vQmod which makes a very small change and see if that works. 尝试将其简化为一个非常简单的vQmod,该vQmod会进行很小的更改,然后看是否可行。 If so, the problem is some other part of the vQmod. 如果是这样,则问题出在vQmod的其他部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM