Magento2 : How can override vendor/module-catalog to magento default theme?

You can override all files from vendor to our theme using below method.

Goto vendor\magento\module-catalog\view\frontend

Copy all folders and files to

app\design\frontend\{Your_vendor}\{Theme_name}\Magento_Catalog

Clear your cache using below command.

php bin/magento cache:clean

Refresh your page you can see files from your theme.

Leave a Reply

Your email address will not be published. Required fields are marked *