OpenCart .twig 文件未显示更改 [英] OpenCart .twig file not showing changes
问题描述
我一直在尝试更改 product/catalog.twig 文件,以删除一些不必要的按钮,例如添加到心愿单"和比较产品"选项,这些对我正在尝试的商店毫无用处制作.
I've been trying to change the product/catalog.twig file, to remove some unnecessary buttons such as the "add to wishlist" and "compare product" options, which are just useless for the store I'm attempting to make.
在主题编辑器上,我已从 .twig 文件中删除了两个按钮,但更改并未显示在商店中.我听说这可能是缓存的问题,就像它正在启动旧站点一样.于是我把storage文件夹里的缓存删除了,问题依旧.
On the theme editor, I've removed the two buttons from the .twig file, yet the changes aren't showing on the store. I've heard it might be an issue with caching, like it's bringing up the old site. So I deleted the cache from the storage folder, yet the problem still persists.
推荐答案
在 OpenCart 3.0.2.0 中,管理仪表板中有一个带有齿轮图标的按钮.它打开一个模式,允许您清除缓存或禁用缓存.
In OpenCart 3.0.2.0 there is button with a gear icon in admin dashboard. It open up a modal that allow you to clear cache or disable cache.
这篇关于OpenCart .twig 文件未显示更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!