OpenCart 3:系统缓存清理、ocmod 和 twig.我在控制器中进行了更改,但它没有反映 [英] OpenCart 3: system cache cleaning, ocmod and twig. I made changes in controller but its not reflecting

查看:133
本文介绍了OpenCart 3:系统缓存清理、ocmod 和 twig.我在控制器中进行了更改,但它没有反映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在产品详情页面更改与产品属性相关的内容:/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

所以我改变了catalogcontrollerproductproduct.php 文件并保存.

So I changed catalogcontrollerproductproduct.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 缓存,请转到 Extensions - Modifications 并单击右上角的重新加载按钮.

To clear ocmod cache in admin panel go to Extensions - Modifications and click reload button in top right corner.

这篇关于OpenCart 3:系统缓存清理、ocmod 和 twig.我在控制器中进行了更改,但它没有反映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆