OpenCart 3:系统缓存清理,ocmod和细枝.我对控制器进行了更改,但未反映出来 [英] OpenCart 3: system cache cleaning, ocmod and twig. I made changes in controller but its not reflecting
问题描述
我想在产品详细信息"页面中更改与产品属性相关的内容:/index.php?route=product/product&product_id=100
I want to change something related to product attributes in the product details page: /index.php?route=product/product&product_id=100
所以我改变了 \ catalog \ controller \ product \ product.php文件并保存.
So I changed \catalog\controller\product\product.php file and saved it.
,但是即使我删除了缓存并刷新了页面,它也无法反映我的更改,但无法正常工作. 甚至我也删除了PHP文件中的整个代码.但这并不能反映我的变化
but it's not reflecting my changes even I removed the cache and refreshed the page but it's not working. Even I removed the whole code in the PHP file. But it's not reflecting my changes
推荐答案
如果您使用的是OpenCart 3,则可能是 ocmod 缓存或 twig 缓存.
If you are using OpenCart 3 - it might be ocmod cache or twig cache.
要清除管理控制台中的树枝缓存,请单击右上角的齿轮按钮,然后清除主题缓存.
To clear twig cache in your admin dashboard click on the gear button on top right corner, and then clear the Theme cache.
要清除管理面板中的 ocmod 缓存,请转到扩展-修改,然后单击右上角的重新加载按钮.
To clear ocmod cache in admin panel go to Extensions - Modifications and click reload button in top right corner.
这篇关于OpenCart 3:系统缓存清理,ocmod和细枝.我对控制器进行了更改,但未反映出来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!