I’m sure this is an obvious technique to most of you, but I see enough “which file do I need to edit?” posts that its probably worth mentioning.
If you have shell access to your server, GREP can be a very quick way for you to find the file you need to edit. GREP searches the contents of the file, so you can search for a particular language variable, for instance.
The syntax is pretty simple:
# grep -R some_variable_you_want_to_find some_cart_directory/ ```<br /> <br /> The "-R" tells grep to descend into all subfolders recursively. The command returns a list of files that match along with a snippet of surrounding code.<br /> <br /> This is basic knowledge for the Linux geeks here, but I wish I had been shown this years ago.<br /> <br /> cheers,<br /> Glen