Install patches in magento 2

Facebooktwitterredditpinterestlinkedinmail

There is two bellow mentioned types of patches provided in Magento 2

1) Composer Patch
2) Git Patch

Composer Patch: This patch implies that your all defual magento modules are in “vendor” folder. If yes then you need to download the composer patch and place inside “vendor” folder ie. (MAGENTO_ROOT/vendor).

Then open terminal connect server with ssh change directory to “MAGENTO_ROOT/vendor” and user bellow mentioned command

git apply patchname.patch

Git Patch: This patch implies that your all defual magento modules are in “app/code” folder. If yes then you need to download the git patch and place inside “app” folder ie. (MAGENTO_ROOT/app).

Then open terminal connect server with ssh change directory to “MAGENTO_ROOT/app” and user bellow mentioned command

git apply patchname.patch
Facebooktwitterredditpinterestlinkedinmail