Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCart 3: system cache cleaning, ocmod and twig. I made changes in controller but its not reflecting

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

like image 878
Shahab Alam Avatar asked Oct 20 '25 04:10

Shahab Alam


1 Answers

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. enter image description here

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

like image 181
focus.style Avatar answered Oct 22 '25 19:10

focus.style