How to apply magento Patch
It’s very important to apply Magento patches in timely manner, We need to increase the security of our shopping site.
How to apply Magento Patch
First you have to login to your magento account
Check your magento version installed
Eg: if your magento version is 1.9.2
Then go to Download >> Release Archive
Select your patch to apply
Eg: if you want to install the patch SUPEE-10570
Check the patch already applied or not
If installed you will get a result.
So let’s see how we can install the Patch SUPEE-10570
First download the file PATCH_SUPEE-10570_CE_v18.104.22.168_v1-2018-02-23-06-12-55.sh to your server.
Then goto /home/user_name/public_html
Enable shell access for your user & switch to user
Then run the script as user
Check the patch is applied or not as previously mentioned.
Patch applied now 🙂
Check your site is properly working like carts,payment gateways etc. If anything seems wrong you can revert the changes immediately.
Run the script as user
FYI : I recommend you to take full account backup including DB before applying the Magento patch. If you have any custom codes all may get reverted after applying the patch.