问题
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