OpenCart: I want to change something related to product attributes in the product details. I made changes in controller but its not reflecting

青春壹個敷衍的年華 提交于 2020-06-08 13:51:20

问题


I want to change something related to product attributes in the product details page: /index.php?route=product/product&product_id=100

So I changed \catalog\controller\product\product.php file and saved it.

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


回答1:


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.

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



来源:https://stackoverflow.com/questions/61520968/opencart-i-want-to-change-something-related-to-product-attributes-in-the-produc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!