cancel
Showing results for 
Search instead for 
Did you mean: 

How to patch the current store using magento 2 github commits?

SOLVED

How to patch the current store using magento 2 github commits?

Guys, I have a situation and It's advanced for me.
I have a magento 2.4 store and I need to apply this patch:
https://github.com/magento/magento2/commit/047629aeb29354c35c7ebe4f12b7eed160e241e0

1 - How is the correct way to apply this patch in my store?
2 - There is some tutorial tthat can helps me?
3 - This commit version is compatible with my magento version and I can upgrade only this module or I s not compatible and I will must upgrade all the store?

Thank you very much for your help! I'm really confused...

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to patch the current store using magento 2 github commits?

4 REPLIES 4

Re: How to patch the current store using magento 2 github commits?

Hello,

If you just want to update the codes of this commit, then I don't think there is any proper way to do that, you just have to check for the affected files and update the code on that, try to update only the marked code of that commit, not to replace the complete file, other than that, in general, Magento team also releases the patches which you can check by using this link. and you can also check this classyllama blog to know how the patches installation will work

 

It's also suggestable to take a backup, before making any change over any of the files, and it's also a good thing to update your Magento store on a regular basis if you don't have too many customizations and dependencies over the site. Personally, I will suggest updating only on the second last release of any software, to avoid any un-predicted issues.

Thank you

Re: How to patch the current store using magento 2 github commits?

Re: How to patch the current store using magento 2 github commits?

Thank you so much! I tried to serch anything easy about it and I not found this article! this is very easy!!!

 

this is the solution: https://markshust.com/2019/08/26/apply-magento-2-patch-github-pull-request/

Re: How to patch the current store using magento 2 github commits?

Hello @DaveShot,

I am glad that your problem is solved.

Thanks Smiley Happy