I have a Magento 18.104.22.168 website in front of me right now in which the core files have been edited
( THEY HAVE COMMITTED A SIN!!! ).
Anyway I have figured out which files they have edited and I am currently working on removing all those custom lines of code.
However I need to keep the functions which have been added in the website but I don't know what I should do exactly or where to place them.
Is it as simple as placing the files in local or community? ( local = specific for this website. community = from the web and not specifically for this website ). And does this count for all the files? So right now I've found all the files they edited, these are the files :
Sadly I do not know if I should simply copy paste the code and add the lines of code in the custom liberary. I did google it though but I keep ending up at theme template posts...
Could you tell me where I should put the new files? and maybe if possible explain it too, And in case I am doing this completely wrong, please tell me.